Functions and objects that make it easier to add fields to Portable Text editors for accessibility meta information, like language changes or abbreviations.

Overview

Porta11y

Porta11y is a collection of accessibility-focused annotations, decorators and validators for Sanity’s Portable Text editor.

Portable Text is a JSON based rich text specification for modern content editing platforms. It is designed to be a format for text editing interfaces and for serializing into any human-readable format.

It provides an incredible opportunity to create editing experiences with accessibility in mind. This repository is a collection of Portable Text utilities to enrich the base editor with additional accessibility-related tools. Namely:

  • Lang annotation: an annotation to demark text snippets as being expressed in another language than the main content.
  • Del and ins decorators: a pair of decorators to demark text snippets as being inserted or deleted.
  • Sub and sup decorators: a pair of decorators to demark text snippets as being subscript or superscript.
  • Fake lists validator: a custom validation function to make sure lists are done via the appropriate list feature and not with text markers, resulting in more semantic HTML.

Installation

npm install porta11y

Annotations

Language switcher

The lang utility provides an annotation to demark an inline text snippet as being expressed in another language than the main content. This is important for screen-readers (WCAG 2.1 SC 3.1.2 and ATAG B.2.1.1). Refer to this article for more information.

Options

Option name Default value Required
title Language switcher No
name lang No
fieldTitle Language tag No
fieldName tag No
regex /^[a-z]+(-[a-z]+)?$/i No
regexName language tag No
icon Material Design “Translate” icon No
Component Custom Portable Text renderer No

Example

import { lang } from 'porta11y'

export default {
  title: 'Content',
  name: 'content',
  type: 'array',
  of: [
    {
      type: 'block',
      marks: {
        annotations: [
          lang({
            title: 'Autre langue',
            fieldTitle: 'Code de langue',
            /* Other options … */
          }),
        ],
      },
    },
  ],
}

Decorators

Sub

The sub utility is a decorator to mark a text snippet as being subscript.

Options

Option name Default value Required
title Sub No
value sub No
icon Material Design “Subscript” icon No
Component sub No

Example

import { sub } from 'porta11y'

export default {
  title: 'Content',
  name: 'content',
  type: 'array',
  of: [
    {
      type: 'block',
      marks: {
        decorators: [{ title: 'Strong', value: 'strong' }, sub()],
      },
    },
  ],
}

Sup

The sup utility is a decorator to mark a text snippet as being superscript.

Options

Option name Default value Required
title Sup No
value sup No
icon Material Design “Superscript” icon No
Component sup No

Example

import { sup } from 'porta11y'

export default {
  title: 'Content',
  name: 'content',
  type: 'array',
  of: [
    {
      type: 'block',
      marks: {
        decorators: [{ title: 'Strong', value: 'strong' }, sup()],
      },
    },
  ],
}

Deletion

The del utility is a decorator to mark a text snippet as being a text deletion.

Options

Option name Default value Required
title Deletion No
value del No
icon VSC “DiffRemoved” icon No
Component del (+ additional styles) No

Example

import { del } from 'porta11y'

export default {
  title: 'Content',
  name: 'content',
  type: 'array',
  of: [
    {
      type: 'block',
      marks: {
        decorators: [{ title: 'Strong', value: 'strong' }, del()],
      },
    },
  ],
}

Insertion

The ins utility is a decorator to mark a text snippet as being a text insertion.

Options

Option name Default value Required
title Insertion No
value ins No
icon VSC “DiffAdded” icon No
Component ins (+ additional styles) No

Example

import { ins } from 'porta11y'

export default {
  title: 'Content',
  name: 'content',
  type: 'array',
  of: [
    {
      type: 'block',
      marks: {
        decorators: [{ title: 'Strong', value: 'strong' }, ins()],
      },
    },
  ],
}

Validations

No fake lists

Sometimes lists on web pages are not marked up as lists, with ul, ol or dl elements, but separate list items with merely returns instead. This validation rule finds those cases.

Options

Option name Default value Required
message This looks like a list, but it is plain text. Use the bulleted list option. No
regex /^\s*[-*+–—]/ No

Example

import { noFakeLists } from 'porta11y'

export default {
  title: 'Content',
  name: 'content',
  type: 'array',
  of: [
    {
      type: 'block',
    },
  ],
  validation: Rule => Rule.custom(noFakeLists()),
}
Comments
  • Bump @rollup/plugin-babel from 5.3.1 to 6.0.2

    Bump @rollup/plugin-babel from 5.3.1 to 6.0.2

    Bumps @rollup/plugin-babel from 5.3.1 to 6.0.2.

    Changelog

    Sourced from @​rollup/plugin-babel's changelog.

    v6.0.2

    2022-10-21

    Updates

    • chore: update rollup dependencies (3038271)

    v6.0.1

    Skipped for repo rebase

    v6.0.0

    2022-10-08

    Breaking Changes

    • fix: prepare for Rollup 3 #1303
    Commits
    • 15f70ce chore(release): babel v6.0.2
    • 3038271 chore(commonjs,yaml,wasm,virtual,url,typescript,sucrase,strip,run,replace,plu...
    • 0e6cfe1 chore(release): babel v6.0.0
    • 3a46d39 fix(babel): prepare for Rollup 3 (#1303)
    • 4e85ed7 chore(all): fix lint issues (#1270)
    • 2483b40 chore(repo): correct READMEs, minimatch to picomatch (#1260)
    • 45c6d80 chore(release): babel v5.3.1
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump react-icons from 4.4.0 to 4.6.0

    Bump react-icons from 4.4.0 to 4.6.0

    Bumps react-icons from 4.4.0 to 4.6.0.

    Release notes

    Sourced from react-icons's releases.

    v4.6.0

    Icon Library License Version Count
    Circum Icons MPL-2.0 license a2924cb1ee37b9fa39ef023a36f1c884b3492e9b 285
    Font Awesome CC BY 4.0 License 7d3d774145ac38663f6d1effc6def0334b68ab7e 1612
    Ionicons 4 MIT 4.6.3 696
    Ionicons 5 MIT 5.5.0 1332
    Material Design icons Apache License Version 2.0 63c5cb306073a9ecdfd3579f0f696746ab6305f6 3650
    Typicons CC BY-SA 3.0 2.1.2 336
    Github Octicons icons MIT 8.5.0 184
    Feather MIT 4.28.0 286
    Game Icons CC BY 3.0 12920d6565588f0512542a3cb0cdfd36a497f910 4040
    Weather Icons SIL OFL 1.1 2.0.12 219
    Devicons MIT 1.8.0 192
    Ant Design Icons MIT 4.2.1 789
    Bootstrap Icons MIT 1.5.0 1846
    Remix Icon Apache License Version 2.0 2.5.0 2271
    Flat Color Icons MIT 1.0.2 329
    Grommet-Icons Apache License Version 2.0 4.6.2 615
    Heroicons MIT 1.0.4 460
    Heroicons 2 MIT 2.0.8 530
    Simple Icons CC0 1.0 Universal 5.16.0 2024
    Simple Line Icons MIT 2.5.5 189
    IcoMoon Free CC BY 4.0 License d006795ede82361e1bac1ee76f215cf1dc51e4ca 491
    BoxIcons CC BY 4.0 License 2.0.9 757
    css.gg MIT 2.0.0 704
    VS Code Icons CC BY 4.0 0.0.23 383
    Tabler Icons MIT 1.68.0 1978
    Themify Icons MIT ad5ed84802fea2b865ce07220435a3a16b266837 352

    Thanks for contributions!

    v4.5.1

    Icon Library License Version Count
    Font Awesome CC BY 4.0 License 7d3d774145ac38663f6d1effc6def0334b68ab7e 1612
    Ionicons 4 MIT 4.6.3 696
    Ionicons 5 MIT 5.5.0 1332
    Material Design icons Apache License Version 2.0 63c5cb306073a9ecdfd3579f0f696746ab6305f6 3650
    Typicons CC BY-SA 3.0 2.1.2 336
    Github Octicons icons MIT 8.5.0 184
    Feather MIT 4.28.0 286
    Game Icons CC BY 3.0 12920d6565588f0512542a3cb0cdfd36a497f910 4040
    Weather Icons SIL OFL 1.1 2.0.12 219
    Devicons MIT 1.8.0 192

    ... (truncated)

    Commits
    • 732fdda v4.6.0
    • 7671de6 Merge pull request #617 from react-icons/v4.6.0-dev
    • 3278656 some fixes
    • cc7d816 4.5.2-snapshot.0
    • 8ef37b8 Merge remote-tracking branch 'exploreorg/master' into some-updates
    • 2e6e401 Merge remote-tracking branch 'Klarr-Agency/master' into some-updates
    • c673936 Merge remote-tracking branch 'drosi94/feature/themify-icons-1' into some-updates
    • 525e5a3 Merge pull request #559 from IlanFrumer/master
    • 4aed140 Merge pull request #516 from jwyce/master
    • e8e9fb9 Merge pull request #496 from jrmarqueshd/change-readme-from-class-to-hooks
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump @rollup/plugin-babel from 5.3.1 to 6.0.0

    Bump @rollup/plugin-babel from 5.3.1 to 6.0.0

    Bumps @rollup/plugin-babel from 5.3.1 to 6.0.0.

    Changelog

    Sourced from @​rollup/plugin-babel's changelog.

    v6.0.0

    2022-10-08

    Breaking Changes

    • fix: prepare for Rollup 3 #1303
    Commits
    • 7c6f519 feat(babel): add typings (#462)
    • e548fdd docs(babel): add note about excluding @​babel/runtime helpers via regex (#483)
    • d74dd5e chore(release): babel v5.0.4
    • 14383fc docs(babel): remove unused import in "Usage" example (#460)
    • 6eaaf3c docs(babel): update node requirement in readme (#443)
    • 7967422 docs(babel): fix typo in readme (#447)
    • 77f383f chore(release): babel v5.0.3
    • 867c699 docs(babel): update babelHelpers description (#397)
    • 4a636f5 chore(release): babel v5.0.2
    • c91284d chore(release): babel v5.0.1
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump @rollup/plugin-node-resolve from 13.3.0 to 15.0.0

    Bump @rollup/plugin-node-resolve from 13.3.0 to 15.0.0

    Bumps @rollup/plugin-node-resolve from 13.3.0 to 15.0.0.

    Changelog

    Sourced from @​rollup/plugin-node-resolve's changelog.

    v15.0.0

    2022-10-10

    Breaking Changes

    • fix: prepare for Rollup 3 #1288

    v14.1.0

    2022-09-12

    Features

    • feat: add new option, modulePaths (#1104)

    v14.0.1

    2022-09-08

    Bugfixes

    • fix: handle circular commonjs (#1259)

    v14.0.0

    2022-09-06

    Breaking Changes

    • fix: preserve moduleSideEffects when re-resolving files (#1245)
    Commits
    • e4d21ba refactor(node-resolve): remove deep-freeze from dependencies (#529)
    • 621768b feat(commonjs)!: return the namespace by default when requiring ESM (#507)
    • e632469 chore(node-resolve): update dependencies
    • 84dfddb chore(node-resolve): clean up changelog
    • 3fa649d chore(release): node-resolve v8.4.0
    • a582b59 chore(release): node-resolve v8.3.0
    • a60cb76 chore(release): node-resolve v8.2.0
    • ec92d34 feat(node-resolve): preserve search params and hashes (#487)
    • 56b3725 feat(node-resolve): support .js imports in TypeScript (#480)
    • 5e518a4 docs(node-resolve): fix named export use in readme (#456)
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump @rollup/plugin-node-resolve from 13.3.0 to 14.1.0

    Bump @rollup/plugin-node-resolve from 13.3.0 to 14.1.0

    Bumps @rollup/plugin-node-resolve from 13.3.0 to 14.1.0.

    Changelog

    Sourced from @​rollup/plugin-node-resolve's changelog.

    v14.1.0

    2022-09-12

    Features

    • feat: add new option, modulePaths (#1104)

    v14.0.1

    2022-09-08

    Bugfixes

    • fix: handle circular commonjs (#1259)

    v14.0.0

    2022-09-06

    Breaking Changes

    • fix: preserve moduleSideEffects when re-resolving files (#1245)
    Commits
    • 509d031 chore(release): node-resolve v14.1.0
    • 12d87a4 feat(node-resolve): add new option, modulePaths (#1104)
    • a43a6d6 chore(release): node-resolve v14.0.1
    • 5cf48e9 fix(node-resolve): handle circular commonjs (#1259)
    • 81e2985 chore(release): node-resolve v14.0.0
    • 886deba fix(node-resolve): preserve moduleSideEffects when re-resolving files (#1245)
    • 173b410 chore(release): node-resolve v13.3.0
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump rollup from 2.78.1 to 2.79.0

    Bump rollup from 2.78.1 to 2.79.0

    Bumps rollup from 2.78.1 to 2.79.0.

    Release notes

    Sourced from rollup's releases.

    v2.79.0

    2022-08-31

    Features

    • Add amd.forceJsExtensionForImports to enforce using .js extensions for relative AMD imports (#4607)

    Pull Requests

    Changelog

    Sourced from rollup's changelog.

    2.79.0

    2022-08-31

    Features

    • Add amd.forceJsExtensionForImports to enforce using .js extensions for relative AMD imports (#4607)

    Pull Requests

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump rollup from 2.77.2 to 2.78.0

    Bump rollup from 2.77.2 to 2.78.0

    Bumps rollup from 2.77.2 to 2.78.0.

    Release notes

    Sourced from rollup's releases.

    v2.78.0

    2022-08-14

    Features

    • Support writing plugin hooks as objects with a "handler" property (#4600)
    • Allow changing execution order per plugin hook (#4600)
    • Add flag to execute plugins in async parallel hooks sequentially (#4600)

    Pull Requests

    v2.77.3

    2022-08-11

    Bug Fixes

    • Correctly resolve preserveModulesRoot in Vite (#4591)

    Pull Requests

    Changelog

    Sourced from rollup's changelog.

    2.78.0

    2022-08-14

    Features

    • Support writing plugin hooks as objects with a "handler" property (#4600)
    • Allow changing execution order per plugin hook (#4600)
    • Add flag to execute plugins in async parallel hooks sequentially (#4600)

    Pull Requests

    2.77.3

    2022-08-11

    Bug Fixes

    • Correctly resolve preserveModulesRoot in Vite (#4591)

    Pull Requests

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 1
  • Bump rollup from 2.77.2 to 2.78.1

    Bump rollup from 2.77.2 to 2.78.1

    Bumps rollup from 2.77.2 to 2.78.1.

    Release notes

    Sourced from rollup's releases.

    v2.78.1

    2022-08-19

    Bug Fixes

    • Avoid inferring "arguments" as name for a default export placeholder variable (#4613)

    Pull Requests

    v2.78.0

    2022-08-14

    Features

    • Support writing plugin hooks as objects with a "handler" property (#4600)
    • Allow changing execution order per plugin hook (#4600)
    • Add flag to execute plugins in async parallel hooks sequentially (#4600)

    Pull Requests

    v2.77.3

    2022-08-11

    Bug Fixes

    • Correctly resolve preserveModulesRoot in Vite (#4591)

    Pull Requests

    Changelog

    Sourced from rollup's changelog.

    2.78.1

    2022-08-19

    Bug Fixes

    • Avoid inferring "arguments" as name for a default export placeholder variable (#4613)

    Pull Requests

    2.78.0

    2022-08-14

    Features

    • Support writing plugin hooks as objects with a "handler" property (#4600)
    • Allow changing execution order per plugin hook (#4600)
    • Add flag to execute plugins in async parallel hooks sequentially (#4600)

    Pull Requests

    2.77.3

    2022-08-11

    Bug Fixes

    • Correctly resolve preserveModulesRoot in Vite (#4591)

    Pull Requests

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
  • Bump react-icons from 4.4.0 to 4.7.1

    Bump react-icons from 4.4.0 to 4.7.1

    Bumps react-icons from 4.4.0 to 4.7.1.

    Release notes

    Sourced from react-icons's releases.

    v4.7.1

    Icon Library License Version Count
    Circum Icons MPL-2.0 license a2924cb1ee37b9fa39ef023a36f1c884b3492e9b 285
    Font Awesome CC BY 4.0 License 5.15.4 1612
    Ionicons 4 MIT 4.6.3 696
    Ionicons 5 MIT 5.5.0 1332
    Material Design icons Apache License Version 2.0 4.0.0-12-g63c5cb3060 3650
    Typicons CC BY-SA 3.0 2.1.2 336
    Github Octicons icons MIT 8.5.0 184
    Feather MIT 4.28.0 286
    Game Icons CC BY 3.0 12920d6565588f0512542a3cb0cdfd36a497f910 4040
    Weather Icons SIL OFL 1.1 2.0.12 219
    Devicons MIT 1.8.0 192
    Ant Design Icons MIT 4.2.1 789
    Bootstrap Icons MIT 1.5.0 1846
    Remix Icon Apache License Version 2.0 2.5.0 2271
    Flat Color Icons MIT 1.0.2 329
    Grommet-Icons Apache License Version 2.0 4.6.2 615
    Heroicons MIT 1.0.4 460
    Heroicons 2 MIT 2.0.8 530
    Simple Icons CC0 1.0 Universal 5.16.0 2024
    Simple Line Icons MIT 2.5.5 189
    IcoMoon Free CC BY 4.0 License d006795ede82361e1bac1ee76f215cf1dc51e4ca 491
    BoxIcons CC BY 4.0 License 2.0.9 757
    css.gg MIT 2.0.0 704
    VS Code Icons CC BY 4.0 0.0.23 383
    Tabler Icons MIT 1.68.0 1978
    Themify Icons MIT v0.1.2 352
    Radix Icons MIT @​radix-ui/react-icons@​1.0.3-30-g237cd76 318

    v4.7.0

    Icon Library License Version Count
    Circum Icons MPL-2.0 license a2924cb1ee37b9fa39ef023a36f1c884b3492e9b 285
    Font Awesome CC BY 4.0 License 5.15.4 1612
    Ionicons 4 MIT 4.6.3 696
    Ionicons 5 MIT 5.5.0 1332
    Material Design icons Apache License Version 2.0 4.0.0-12-g63c5cb3060 3650
    Typicons CC BY-SA 3.0 2.1.2 336
    Github Octicons icons MIT 8.5.0 184
    Feather MIT 4.28.0 286
    Game Icons CC BY 3.0 12920d6565588f0512542a3cb0cdfd36a497f910 4040
    Weather Icons SIL OFL 1.1 2.0.12 219
    Devicons MIT 1.8.0 192
    Ant Design Icons MIT 4.2.1 789
    Bootstrap Icons MIT 1.5.0 1846
    Remix Icon Apache License Version 2.0 2.5.0 2271
    Flat Color Icons MIT 1.0.2 329
    Grommet-Icons Apache License Version 2.0 4.6.2 615

    ... (truncated)

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
  • Bump @rollup/plugin-babel from 5.3.1 to 6.0.3

    Bump @rollup/plugin-babel from 5.3.1 to 6.0.3

    Bumps @rollup/plugin-babel from 5.3.1 to 6.0.3.

    Changelog

    Sourced from @​rollup/plugin-babel's changelog.

    v6.0.3

    2022-11-25

    Updates

    • docs: small typo in babel plugin readme #1355

    v6.0.2

    2022-10-21

    Updates

    • chore: update rollup dependencies (3038271)

    v6.0.1

    Skipped for repo rebase

    v6.0.0

    2022-10-08

    Breaking Changes

    • fix: prepare for Rollup 3 #1303
    Commits
    • 7f90b60 chore(release): babel v6.0.3
    • 2ae1c62 docs(babel): small typo in babel plugin readme (#1355)
    • 15f70ce chore(release): babel v6.0.2
    • 3038271 chore(commonjs,yaml,wasm,virtual,url,typescript,sucrase,strip,run,replace,plu...
    • 0e6cfe1 chore(release): babel v6.0.0
    • 3a46d39 fix(babel): prepare for Rollup 3 (#1303)
    • 4e85ed7 chore(all): fix lint issues (#1270)
    • 2483b40 chore(repo): correct READMEs, minimatch to picomatch (#1260)
    • 45c6d80 chore(release): babel v5.3.1
    • See full diff in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
  • Bump @rollup/plugin-node-resolve from 13.3.0 to 15.0.1

    Bump @rollup/plugin-node-resolve from 13.3.0 to 15.0.1

    Bumps @rollup/plugin-node-resolve from 13.3.0 to 15.0.1.

    Changelog

    Sourced from @​rollup/plugin-node-resolve's changelog.

    v15.0.1

    2022-10-21

    Updates

    • chore: update rollup dependencies (3038271)

    v15.0.0

    2022-10-10

    Breaking Changes

    • fix: prepare for Rollup 3 #1288

    v14.1.0

    2022-09-12

    Features

    • feat: add new option, modulePaths (#1104)

    v14.0.1

    2022-09-08

    Bugfixes

    • fix: handle circular commonjs (#1259)

    v14.0.0

    2022-09-06

    Breaking Changes

    • fix: preserve moduleSideEffects when re-resolving files (#1245)
    Commits
    • 6553006 chore(release): node-resolve v15.0.1
    • 3038271 chore(commonjs,yaml,wasm,virtual,url,typescript,sucrase,strip,run,replace,plu...
    • 6bd4ce7 chore(release): node-resolve v15.0.0
    • ec4d28e fix(node-resolve): prepare for Rollup 3 (#1288)
    • 4e85ed7 chore(all): fix lint issues (#1270)
    • fa682dc chore(release): node-resolve v14.1.0
    • 12d87a4 feat(node-resolve): add new option, modulePaths (#1104)
    • a43a6d6 chore(release): node-resolve v14.0.1
    • 5cf48e9 fix(node-resolve): handle circular commonjs (#1259)
    • 81e2985 chore(release): node-resolve v14.0.0
    • Additional commits viewable in compare view

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
  • Bump rollup from 2.78.1 to 2.79.1

    Bump rollup from 2.78.1 to 2.79.1

    Bumps rollup from 2.78.1 to 2.79.1.

    Release notes

    Sourced from rollup's releases.

    v2.79.1

    2022-09-22

    Bug Fixes

    • Avoid massive performance degradation when creating thousands of chunks (#4643)

    Pull Requests

    v2.79.0

    2022-08-31

    Features

    • Add amd.forceJsExtensionForImports to enforce using .js extensions for relative AMD imports (#4607)

    Pull Requests

    Changelog

    Sourced from rollup's changelog.

    2.79.1

    2022-09-22

    Bug Fixes

    • Avoid massive performance degradation when creating thousands of chunks (#4643)

    Pull Requests

    2.79.0

    2022-08-31

    Features

    • Add amd.forceJsExtensionForImports to enforce using .js extensions for relative AMD imports (#4607)

    Pull Requests

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
  • Validate hierarchical headings

    Validate hierarchical headings

    Great package! Been wanting something like this for a while.

    A feature I've been missing is to validate the hierarchy of heading in Portable text. Example is that a H3 should not be allowed unless it's following a H2 etc.

    opened by heggemsnes 1
Releases(0.3.0)
  • 0.3.0(Aug 1, 2022)

    What's Changed

    • Add <ins> and <del> decorators by @KittyGiraudel in https://github.com/hidde/porta11y/pull/20

    Full Changelog: https://github.com/hidde/porta11y/compare/0.2.0...0.3.0

    Source code(tar.gz)
    Source code(zip)
  • 0.2.0(Aug 1, 2022)

    What's Changed

    • Add a <sup> decorator by @KittyGiraudel in https://github.com/hidde/porta11y/pull/17
    • Add a <sub> decorator by @KittyGiraudel in https://github.com/hidde/porta11y/pull/18

    Full Changelog: https://github.com/hidde/porta11y/compare/0.1.1...0.2.0

    Source code(tar.gz)
    Source code(zip)
  • 0.1.1(Jul 29, 2022)

    What's Changed

    • Get rid of JSX by @KittyGiraudel in https://github.com/hidde/porta11y/pull/13

    Full Changelog: https://github.com/hidde/porta11y/compare/0.1.0...0.1.1

    Source code(tar.gz)
    Source code(zip)
  • 0.1.0(Jul 29, 2022)

Owner
Hidde de Vries
Devrel, front-end dev, accessibility nerd. Previously at @w3c, Dutch government, @mozilla.
Hidde de Vries
A plugin for Obsidian that can create input fields inside your notes and bind them to metadata fields.

Obsidian Meta Bind Plugin This plugin can create input fields inside your notes and bind them to metadata fields. New docs I am currently working on n

Moritz Jung 57 Jan 4, 2023
Dojo - meta information for the project.

dojo-meta This repository contains information regarding Dojo (versions 2 and newer) that crosses package boundaries. Visit us at dojo.io for document

Dojo 227 Nov 22, 2022
The language service that powers VS Code's Markdown support, extracted so that it can be reused by other editors and tools

VS Code Markdown Language Service ❗ Note this project is actively being developed and not yet ready for production use! The language service that powe

Microsoft 369 Dec 30, 2022
Lexical is an extensible JavaScript web text-editor framework with an emphasis on reliability, accessibility and performance

Lexical is an extensible JavaScript web text-editor framework with an emphasis on reliability, accessibility and performance. Lexical aims to provide a best-in-class developer experience, so you can easily prototype and build features with confidence.

Meta 12.7k Dec 30, 2022
Grupprojekt för kurserna 'Javascript med Ramverk' och 'Agil Utveckling'

JavaScript-med-Ramverk-Laboration-3 Grupprojektet för kurserna Javascript med Ramverk och Agil Utveckling. Utvecklingsguide För information om hur utv

Svante Jonsson IT-Högskolan 3 May 18, 2022
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
A collection of functions and methods to make it easier for you to create applications.

def-helper A collection of functions and methods to make it easier for you to create applications. Install npm install --save def-helper Usage import

Dede Fuji Abdul 2 Oct 13, 2022
A JavaScript Library for building custom text editors with ease 📝

A JavaScript Library for building custom text editors with ease Show your support! Scriptor.js This is a bare bone text editor library, meant to creat

Marketing Pipeline 20 Oct 12, 2022
AdsPower supports Local API, which has functions like reading and writing account configuration information, opening and closing browsers, searching for accounts.

AdsPower supports Local API, which has functions like reading and writing account configuration information, opening and closing browsers, searching for accounts. Besides, it can cooperate with Selenium and Puppeteer to execute browser operations automatically.

AdsPower Official 20 Dec 1, 2022
Incredible resources (with links) to help up-skill yourselves on various fields. Resources like programming, designing, engineering and much more and completely Open Source.

Shiryoku Incredible resources (with links) to help up-skill yourselves on various fields. Resources like programming, designing, engineering and much

Kunal Keshan 22 Dec 15, 2022
Solid Forms provides several form control objects useful for making working with forms easier.

Solid Forms Solid Forms provides several form control objects useful for making working with forms easier. Demos and examples below. # solidjs yarn ad

John 28 Jan 2, 2023
This project will be a basic website that allows users to add/remove books from a list. The main objective is to understand how to use JavaScript objects and arrays and dynamically modify the DOM and add basic events.

Awesome-books Awesome Books This project will be a basic website that allows users to add/remove books from a list. This project is part of the Microv

Aleksandra Ujvari 10 Oct 3, 2022
Functions for testing the types of JavaScript values, cross-realm. Has testers for all standard built-in objects/values.

@suchipi/is Functions for testing the types of JavaScript values, cross-realm. Has testers for all standard built-in objects/values. Usage import { is

Lily Skye 5 Sep 8, 2022
A library that helps you write a static dropdown menu that follows the digital accessibility recommendations.

JSPanel A library that helps you write a static dropdown menu, a panel, that follows the digital accessibility recommendations. Get started First of a

CodoPixel 1 Apr 29, 2021
Lightweight, Portable, Flexible Distributed/Mobile Deep Learning with Dynamic, Mutation-aware Dataflow Dep Scheduler; for Python, R, Julia, Scala, Go, Javascript and more

Apache MXNet (incubating) for Deep Learning Apache MXNet is a deep learning framework designed for both efficiency and flexibility. It allows you to m

The Apache Software Foundation 20.2k Jan 5, 2023
A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

A free and open source resume builder. Go to App What is this app all about? Reactive Resume is a free and open source resume builder that’s built to

Reactive Resume 9.7k Jan 3, 2023
Automated testing for single-page applications (SPAs). Small, portable, and easy to use. Click on things, fill in values, await for things exist, etc.

SPA Check Automated testing for single-page applications (SPAs). Small, portable, and easy to use. Click on things, fill in values, await for things e

Cory Leigh Rahman 5 Dec 23, 2022