0.8.2 • Published 1 year ago

r3-lib v0.8.2

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
1 year ago

R3-Lib

Standardizes flow and visuals for Norce Flight (> 5.14) projects

Work in progress ⚠️

TODO

-xChange BoxContent from arg -> children (using ContentPositioner instead)

  • Add/use Fontawesome
  • Folder with own types (if they are generall otherwise they should live in component)
  • Check handeling of fragments in GQL ( dependencies to core aso )
  • xCreate Animation wrapper (with a few animation styles)
  • Teleprompt component (automatically types text)
  • ScrollSnapper
  • MarqueeSlider (Finntack)
  • General close button + clickcallback
  • General context for lib
  • Count down component
  • Form component ( submit url, children with title, input, validation )
  • Documentation goal -> Complete Storybook
  • Documentation start -> Add docs to route for dev/stage, add content renderer with components and show info using json
  • Add slightly zoom in on image hoover ( use style and Animation wrapper )
  • AddToCartButton (Radne)
  • QtyAdjuster (Radne)
  • Checkbox (Radne)
  • xProgressbar
  • xShakeStyle
  • NotFoundPage
  • R3-provider (contains all contexts)
  • Device testing
  • xUseJsonFetch
  • Add regex to CE components
  • UI page - presents all components
  • xScriptLoader
  • xScriptLoaderAttributes (files + json)
  • PopupTrigger
  • Payment icons
  • xSeo components
  • Price history component
  • xAccordion component
  • AccordionBlock ce components
  • Change all px -> rem
  • xLoader/spinner
  • Use lottie animations ?
  • xCurtain component
  • xPopup component
  • PartyTown 🎉
  • Add notification handler (Toastify?)
  • Notification component
  • Add AutoAnimate
  • HeadlessUI ( xDialog implemented )
  • xMaxWidth component
  • ContentColumns component (Radne)
  • Add H1 bool for Hero and Box
  • Add general tracking
  • Add video hero
  • Add video box
  • Add Parakllax component ( using SwiperJS)
  • Add license to package.json

Installation

R3-Lib requires:

Install the package.

  • not implemented yet
yarn add r3-lib

Adding component

For adding new component use existing project structure. Naming convention: CamelCase.

  • Add a folder width same name as component.
  • Add a TypeScript file (Component (ExampleComponent.tsx))
  • Add a JavaScript file (CSS style, use suffix .style before .js (ExampleComponent.style.js))
  • Add a JavaScript test file (Jest test file (ExampleComponent.test.js))

Component styling file

  • import { css } from 'linaria'
  • Create an exported const width component name and suffix "Style" (const exampleComponentStyle = css)

The end

0.8.1

1 year ago

0.8.2

1 year ago

0.8.0

2 years ago

0.7.4

2 years ago

0.7.5

2 years ago

0.7.2

2 years ago

0.7.1

2 years ago

0.7.3

2 years ago

0.7.0

2 years ago

0.6.92

2 years ago

0.6.69

2 years ago

0.6.90

2 years ago

0.6.91

2 years ago

0.6.87

2 years ago

0.6.86

2 years ago

0.6.89

2 years ago

0.6.88

2 years ago

0.6.83

2 years ago

0.6.82

2 years ago

0.6.85

2 years ago

0.6.84

2 years ago

0.6.81

2 years ago

0.6.80

2 years ago

0.6.76

2 years ago

0.6.75

2 years ago

0.6.78

2 years ago

0.6.77

2 years ago

0.6.72

2 years ago

0.6.71

2 years ago

0.6.74

2 years ago

0.6.73

2 years ago

0.6.79

2 years ago

0.6.70

2 years ago

0.6.65

2 years ago

0.6.64

2 years ago

0.6.67

2 years ago

0.6.66

2 years ago

0.6.61

2 years ago

0.6.60

2 years ago

0.6.62

2 years ago

0.6.68

2 years ago

0.6.54

2 years ago

0.6.53

2 years ago

0.6.56

2 years ago

0.6.55

2 years ago

0.6.50

2 years ago

0.6.52

2 years ago

0.6.51

2 years ago

0.6.58

2 years ago

0.6.57

2 years ago

0.6.59

2 years ago

0.6.43

3 years ago

0.6.42

3 years ago

0.6.45

3 years ago

0.6.44

3 years ago

0.6.41

3 years ago

0.6.40

3 years ago

0.6.47

3 years ago

0.6.46

3 years ago

0.6.49

3 years ago

0.6.48

3 years ago

0.6.39

3 years ago

0.5.10

3 years ago

0.6.20

3 years ago

0.6.23

3 years ago

0.6.22

3 years ago

0.6.29

3 years ago

0.6.28

3 years ago

0.6.25

3 years ago

0.6.24

3 years ago

0.6.27

3 years ago

0.6.26

3 years ago

0.6.32

3 years ago

0.6.31

3 years ago

0.6.34

3 years ago

0.6.12

3 years ago

0.6.33

3 years ago

0.6.11

3 years ago

0.6.30

3 years ago

0.6.18

3 years ago

0.6.17

3 years ago

0.6.19

3 years ago

0.6.36

3 years ago

0.6.14

3 years ago

0.6.35

3 years ago

0.6.13

3 years ago

0.6.38

3 years ago

0.6.16

3 years ago

0.6.37

3 years ago

0.6.15

3 years ago

0.6.1

3 years ago

0.6.0

3 years ago

0.5.9

3 years ago

0.5.8

3 years ago

0.5.7

3 years ago

0.5.6

3 years ago