0.8.2 • Published 10 months ago

r3-lib v0.8.2

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
10 months 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

10 months ago

0.8.2

10 months ago

0.8.0

1 year ago

0.7.4

1 year ago

0.7.5

1 year ago

0.7.2

1 year ago

0.7.1

1 year ago

0.7.3

1 year ago

0.7.0

1 year 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

2 years ago

0.6.42

2 years ago

0.6.45

2 years ago

0.6.44

2 years ago

0.6.41

2 years ago

0.6.40

2 years ago

0.6.47

2 years ago

0.6.46

2 years ago

0.6.49

2 years ago

0.6.48

2 years ago

0.6.39

2 years ago

0.5.10

2 years ago

0.6.20

2 years ago

0.6.23

2 years ago

0.6.22

2 years ago

0.6.29

2 years ago

0.6.28

2 years ago

0.6.25

2 years ago

0.6.24

2 years ago

0.6.27

2 years ago

0.6.26

2 years ago

0.6.32

2 years ago

0.6.31

2 years ago

0.6.34

2 years ago

0.6.12

2 years ago

0.6.33

2 years ago

0.6.11

2 years ago

0.6.30

2 years ago

0.6.18

2 years ago

0.6.17

2 years ago

0.6.19

2 years ago

0.6.36

2 years ago

0.6.14

2 years ago

0.6.35

2 years ago

0.6.13

2 years ago

0.6.38

2 years ago

0.6.16

2 years ago

0.6.37

2 years ago

0.6.15

2 years ago

0.6.1

2 years ago

0.6.0

2 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