• This repository has been archived on 08/Apr/2024
  • Stars
    star
    117
  • Rank 301,828 (Top 6 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created about 7 years ago
  • Updated 8 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Accessible and lightweight Javascript components

@nrk/core-components

A kit of lightweight, unstyled and accessible Javascript and React / Preact components. It provides effortless and flexible usage, while under the hood enhancing markup and functionality for best best user experience across all major browsers and screen readers.

Documentation

https://static.nrk.no/core-components/latest/

Local development

First clone @nrk/core-components and install its dependencies:

git clone [email protected]:nrkno/core-components.git
cd core-components
npm install # Installs dependencies for all packages
npm start # Your browser will open documentation with hot reloading

Testing

You can run the tests locally or remotely with CrossBrowserTesting.

Run the tests locally:

npm test

Before running tests remotely you need a .env file providing credentials:

User and authkey can be found in your user profile on crossbrowsertesting

SMARTBEAR_USER=...
SMARTBEAR_AUTHKEY=...

Save it in the root directory.

Run tests remotely against all targeted browsers:

npm run test-remote

Building and committing

After having applied changes, remember to build before pushing the changes upstream.

git checkout -b feature/my-changes
# update the source code
npm run build
git commit -am "<prefix>: Add my changes"
git push --set-upstream origin feature/my-changes
# then make PR to the master branch,
# and assign a developer to review your code

Publishing

npm run publish:minor -- --core-input --core-toggle # Specify packages to publish

NOTE! Please also make sure to keep commits small and clean (that the commit message actually refers to the updated files). Stylistically, make sure the commit message is Capitalized and starts with a verb in the present tense (for example Add minification support).

More Repositories

1

Sofie-TV-automation

The Sofie TV Studio Automation System, used in live TV news production by the Norwegian public service broadcaster NRK since September 2018
310
star
2

sofie-atem-connection

Sofie ATEM Connection: A Part of the Sofie TV Studio Automation System
TypeScript
128
star
3

yr-cachyr

A small key-value data cache for iOS, macOS and tvOS, written in Swift.
Swift
126
star
4

sofie-core

Sofie Core: A Part of the Sofie TV Studio Automation System
TypeScript
124
star
5

yr-weather-symbols

Weather symbols for yr.no
TypeScript
121
star
6

terraform-registry

A private Terraform registry with modular store backends.
Go
88
star
7

terraform-provider-lastpass

Terraform Lastpass provider
Go
61
star
8

Tumbleweed

Logs detailed metrics about NSURLSession tasks to the console
Swift
51
star
9

Quibble

JSON diff tool for .NET
C#
45
star
10

Quibble.Xunit

XUnit-like asserts for text strings with JSON content.
F#
40
star
11

samnorsk

Elastic support for Bokmål/Nynorsk
Scala
32
star
12

transcriber-frontend

TypeScript
32
star
13

nativebridge

Lightweight and efficient bridge between webview and native app
JavaScript
26
star
14

sofie-casparcg-launcher

Sofie CasparCG Launcer: A Part of the Sofie TV Studio Automation System
JavaScript
24
star
15

sofie-mos-connection

Sofie MOS Connection: A Part of the Sofie TV Studio Automation System
TypeScript
22
star
16

yaml-schema-validator-github-action

A GitHub action that uses Yamale for YAML schema validation
Shell
20
star
17

nodecache-as-promised

In-memory cache supporting promise based workers and middleware hooks (distributed expiry and persistence provided)
JavaScript
20
star
18

Eventually

A Swift Future/Promise library that can be used to model and transform asynchronous results
Swift
19
star
19

dotnetskolen

Kurs for oppsett av .NET-prosjekter fra bunn
18
star
20

sofie-playout-gateway

Sofie: The Modern TV News Studio Automation System (Playout Gateway)
TypeScript
18
star
21

postcss-classes-to-mixins

Intelligently convert CSS classes to SASS, Less and Stylus mixins
JavaScript
14
star
22

core-icons

Core icons for web services and native apps.
Kotlin
14
star
23

nrkno-sanity-libs

Monorepo for open source libraries used by nrkno-sanity
TypeScript
14
star
24

sofie-timeline-state-resolver

Sofie Timeline State Resolver: A Part of the Sofie TV Studio Automation System
TypeScript
14
star
25

odashboard

A configurable dashboard with a simple plugin architecture
JavaScript
13
star
26

core-css

Core CSS layer for web services.
CSS
13
star
27

sofie-atem-state

Sofie ATEM State: A Part of the Sofie TV Studio Automation System
TypeScript
11
star
28

doobie-postgres-migration

Schema migrations for Postgresql built with doobie
Scala
10
star
29

MMM-Slack

Slack integration for MagicMirror²
JavaScript
10
star
30

expect-openapi

Expect matchers for OpenApi responses
TypeScript
9
star
31

Nrk.HttpRequester

Library for sending Http Requests, including a fluent interface for creating HttpClient instances
C#
8
star
32

simple-date-parse

Super lightweight simple natural language date parsing in javascript
JavaScript
7
star
33

prog-intro

Introduksjonskurs i programmering
Python
7
star
34

sofie-mos-gateway

Sofie: The Modern TV News Studio Automation System (MOS Gateway)
TypeScript
7
star
35

sorensen

A modern, i18n-friendly hotkey library for the Web
TypeScript
7
star
36

arkivpublisering.nrk.no

JavaScript
7
star
37

yr-time

An efficient, immutable, utility for working with time/dates.
JavaScript
6
star
38

nativebridge-android

Android library for Native Bridge. A lightweight and efficient bridge between webview and native apps.
Kotlin
6
star
39

transcriber-backend

TypeScript
6
star
40

sofie-chef

Sofie Chef: A Part of the Sofie TV Studio Automation System
TypeScript
6
star
41

svg-to-js

Module for concatenating SVG files into JavaScript
JavaScript
6
star
42

nativebridge-ios

Lightweight and efficient bridge between webview and native app (iOS connector)
Swift
5
star
43

custom-element-to-react

Converts a custom element to a React component, with props and events.
JavaScript
5
star
44

valg-valgomat-algoritme

The algorithm used to calculate distance between sets of positions for NRKs Valgomat
JavaScript
5
star
45

terraform-provider-windns

Manage DNS records in a Windows DNS Servers using Terraform
Go
5
star
46

sofie-hyperdeck-connection

Sofie HyperDeck Connection: A Part of the Sofie TV Studio Automation System
TypeScript
5
star
47

core-docs

Write documentation in markdown and render it beautifully
JavaScript
4
star
48

github-workflow-semantic-release

Semantic Release workflow through github action
JavaScript
4
star
49

bigquery-scala

Bigquery library for scala
Scala
4
star
50

github-workflow-docker-build-push

Dockerfile
4
star
51

nrk-sans-styles

Definitions of the font styles of NRK Sans.
Swift
4
star
52

best-practice

Best practice guide to (at start) programming native apps in NRK
4
star
53

fsharpskolen

F#
4
star
54

wave-bwf-rf64

Extension of Pythons Wave-library to support BWF and RF64
Python
4
star
55

github-workflow-terraform-config

Reusable GitHub workflow for validating a Terraform configuration repository.
HCL
4
star
56

sofie-core-integration

Sofie: The Modern TV News Studio Automation System (Server Core Integration library)
TypeScript
3
star
57

sofie-quantel-gateway

Sofie Quantel Gateway: A Part of the Sofie TV Studio Automation System
C++
3
star
58

prog-videre

Programmeringskurs for viderekomne
Python
3
star
59

sofie-media-management

Sofie: The Modern TV News Studio Automation System (Media Manager)
TypeScript
3
star
60

sofie-blueprints-integration

Sofie: The Modern TV News Studio Automation System (Sofie Blueprints Integration library)
TypeScript
3
star
61

sofie-package-manager

Sofie Package Manager: A Media Asset Manager. A Part of the Sofie TV Studio Automation System
TypeScript
2
star
62

akamai-datastream-influxdb

Kubernetes application to read aggregated akamai datastreams and send them to influxdb (archived)
Python
2
star
63

rfetch

Isomorphic fetch with retry
JavaScript
2
star
64

sofie-cutout-tool

Sofie: The Modern TV News Studio Automation System (A tool to define cutouts/crops from live video sources.)
JavaScript
2
star
65

sofie-e2e-test-runner

Sofie End-to-end Test Runner and Report Browser: A Part of the Sofie TV Studio Automation System
TypeScript
2
star
66

sofie-sony-visca-connection

Sofie: The Modern TV News Studio Automation System (Sony Visca Connection)
TypeScript
2
star
67

den-mangfoldige-mobben

1
star
68

lydteam-kubernetes-sandbox

Sandbox for testing/learning kubernetes
Shell
1
star
69

sofie-lawo-state

This repo is deprecated due to it never being used by the authors, and therefore no longer maintained.
TypeScript
1
star
70

halite

C#
1
star
71

brainfuck_programmer

Her ligger kode fra innovasjonsdagene i september 2021 hvor vi tenkte stort og prøvde å lage en algoritme som kunne programmere i Brainfuck.
PowerShell
1
star
72

transcriber-cli

Command line tool for interacting with Transcriber Backend
TypeScript
1
star
73

mellomvare-radio-MDW2

Metadatatjeneste for "hva-spilles-nå"
Python
1
star
74

nrk-shared-java

NRK Shared Java libraries
Java
1
star
75

sofie-prompter-editor

Sofie Prompter Editor: A Part of the Sofie TV Studio Automation System
TypeScript
1
star
76

yr-warning-icons

JavaScript
1
star
77

sofie-quantel-browser-plugin

Sofie Quantel Browser Plugin: A Part of the Sofie TV Studio Automation System
JavaScript
1
star
78

netbox-devicetype-library

Python
1
star