2.1.12 • Published 5 months ago

@ironsource/shared-ui v2.1.12

Weekly downloads
-
License
-
Repository
github
Last release
5 months ago

Usage

npm i @ironsource/shared-ui

Then import the component in your Vue app:

import Button from '@ironsource/shared-ui/button';

Release flow

Pre-release

To release a pre-release version, follow these steps: 1. Checkout to release/x.x.x branch 2. Create a new branch from release/x.x.x branch 3. Make your changes 4. Commit your changes 5. Push your changes 6. Create a PR from your branch to release/x.x.x branch

Pushing to release/x.x.x branch will trigger pre-release.yml workflow and will create a pre-release version.

Breaking Change

To release a new version of the package (due to breaking changes), you need to follow the next steps: 1. Create a new branch from main branch with the name release/x.x.x (x.x.x - version of the package) 2. Push the branch to the remote repository 3. Create a new branch from release/x.x.x branch with the name feature/feature-name (feature-name - name of the feature) 4. Make changes in the code 5. Push the branch to the remote repository 6. Create a new PR from feature/feature-name branch to release/x.x.x branch 7. Add reviewers 8. Merge the PR to release/x.x.x branch 9. Create a new PR from release/x.x.x branch to main branch 10. Merge the PR to main branch

Merging release/x.x.x branch to main branch will trigger release.yml workflow and will create a new(not RC) version of the package.

Testing

Uses Vitest + Vue Test Utils (runs automatically on commit)

npm run test

run in watch mode:

npm run test:watch

run tests with coverage:

npm run test:coverage

Component Development

Generate a new component (using Hygen):

npm run generate:component componentName

Start storybook:

npm run storybook

Linking for local development in another project

When developing locally, you can link to the shared-ui library:

npm run build
cd ./dist
npm link
cd <your-project's-path>
npm link @ironsource/shared-ui

Add an alias for the vue & @vueuse/core dependencies import in your vite/webpack config:

vue: path.resolve('./node_modules/vue/dist/vue.runtime.esm-browser.js'),
'@vueuse/core': path.resolve('./node_modules/@vueuse/core/index'),

You may also want to add the following alias for absoulte imports:

'@': fileURLToPath(new URL('./src', import.meta.url)),

Lint

Uses ESLint + Prettier rules (runs automatically on commit)

npm run lint

Visual Tests

Uses jest, puppeteer and jest-image-snapshot packages

On CI process: 1. on every push the step-visual-test.yml workflow will be triggered 2. visual tests results will be saved on s3 bucket 3. the comparing will be against master->stable folder 4. unless there is a nested folder "stable" under a folder with the same branch name. 5. on failure a new folder with commit id will be created under the branch folder on s3 6. the failed tests will be under the "diff_output" nested folder 7. if changes are required, manually trigger the workflow with update input as true 8. a new folder named "stable" will be created under the branch name folder on s3 9. on merge to master branch folder will be copy to master.

2.1.12-test.49

11 months ago

2.1.12-test.53

10 months ago

2.1.12-test.52

11 months ago

2.1.12-test.50

11 months ago

2.1.12-test.56

9 months ago

2.1.12-test.55

9 months ago

2.1.12-test.54

9 months ago

2.1.12-rc.45

10 months ago

2.1.12-rc.44

10 months ago

2.1.12-rc.43

10 months ago

2.1.12-rc.42

10 months ago

2.1.12-rc.49

9 months ago

2.1.12-rc.48

9 months ago

2.1.12-rc.47

9 months ago

2.1.12-rc.46

10 months ago

2.1.12-rc.41

10 months ago

2.1.12-rc.40

10 months ago

2.1.12-rc.56

9 months ago

2.1.12-rc.55

9 months ago

2.1.12-rc.54

9 months ago

2.1.12-rc.53

9 months ago

2.1.12-rc.57

9 months ago

2.1.12-rc.52

9 months ago

2.1.12-rc.51

9 months ago

2.1.12-rc.50

9 months ago

2.2.0-rc.30

5 months ago

2.2.0-rc.32

5 months ago

2.2.0-rc.31

5 months ago

2.2.0-rc.34

5 months ago

2.2.0-rc.33

5 months ago

2.2.0-rc.21

6 months ago

2.2.0-rc.20

6 months ago

2.2.0-rc.27

6 months ago

2.2.0-rc.26

6 months ago

2.2.0-rc.29

5 months ago

2.2.0-rc.28

6 months ago

2.2.0-rc.23

6 months ago

2.2.0-rc.22

6 months ago

2.2.0-rc.25

6 months ago

2.2.0-rc.24

6 months ago

2.1.12

9 months ago

2.1.12-rc.19

1 year ago

2.1.12-rc.23

12 months ago

2.1.12-rc.22

12 months ago

2.2.0-rc.10

6 months ago

2.1.12-rc.21

1 year ago

2.1.12-rc.20

1 year ago

2.1.12-rc.27

11 months ago

2.1.12-rc.26

12 months ago

2.1.12-rc.25

12 months ago

2.1.12-rc.24

12 months ago

2.2.0-rc.16

6 months ago

2.2.0-rc.15

6 months ago

2.2.0-rc.18

6 months ago

2.2.0-rc.17

6 months ago

2.2.0-rc.12

6 months ago

2.2.0-rc.11

6 months ago

2.2.0-rc.14

6 months ago

2.2.0-rc.13

6 months ago

2.2.0-rc.19

6 months ago

2.1.12-rc.29

11 months ago

2.1.12-rc.28

11 months ago

2.1.12-rc.34

10 months ago

2.1.12-rc.33

10 months ago

2.1.12-rc.32

11 months ago

2.1.12-rc.31

11 months ago

2.1.12-rc.38

10 months ago

2.1.12-rc.37

10 months ago

2.1.12-rc.36

10 months ago

2.1.12-rc.35

10 months ago

2.1.12-rc.30

11 months ago

2.1.12-rc.39

10 months ago

2.1.12-test.1

11 months ago

2.1.12-test.2

11 months ago

2.1.12-test.3

11 months ago

2.2.0-test.13

5 months ago

2.2.0-test.12

5 months ago

2.2.0-test.11

6 months ago

2.2.0-test.10

6 months ago

2.2.0-test.2

8 months ago

2.2.0-test.1

8 months ago

2.2.0-test.4

7 months ago

2.2.0-test.3

8 months ago

2.2.0-test.6

6 months ago

2.2.0-test.5

7 months ago

2.2.0-test.8

6 months ago

2.2.0-test.7

6 months ago

2.2.0-test.9

6 months ago

2.1.12-test.101

9 months ago

2.1.12-test.100

9 months ago

2.1.12-test.102

9 months ago

2.1.12-test.82

12 months ago

2.1.12-test.81

12 months ago

2.1.12-test.80

12 months ago

2.1.12-test.86

11 months ago

2.1.12-test.85

11 months ago

2.1.12-test.84

11 months ago

2.1.12-test.83

12 months ago

2.1.12-test.89

11 months ago

2.1.12-test.88

11 months ago

2.1.12-test.87

11 months ago

2.1.12-test.93

11 months ago

2.1.12-test.92

11 months ago

2.1.12-test.91

11 months ago

2.1.12-test.90

11 months ago

2.1.12-test.97

11 months ago

2.1.12-test.96

11 months ago

2.1.12-test.95

11 months ago

2.1.12-test.94

11 months ago

2.1.12-test.99

11 months ago

2.1.12-test.98

11 months ago

2.2.0-rc.2

9 months ago

2.2.0-rc.3

8 months ago

2.2.0-rc.0

9 months ago

2.2.0-rc.1

9 months ago

2.2.0-rc.6

7 months ago

2.2.0-rc.7

7 months ago

2.2.0-rc.4

8 months ago

2.2.0-rc.5

8 months ago

2.2.0-rc.8

6 months ago

2.2.0-rc.9

6 months ago

2.1.12-test.71

1 year ago

2.1.12-test.70

1 year ago

2.1.12-test.75

12 months ago

2.1.12-test.74

12 months ago

2.1.12-test.73

12 months ago

2.1.12-test.72

1 year ago

2.1.12-test.79

12 months ago

2.1.12-test.78

12 months ago

2.1.12-test.77

12 months ago

2.1.12-test.76

12 months ago

2.1.12-rc.18

1 year ago

2.1.12-rc.17

1 year ago

2.1.12-test.69

1 year ago

2.1.12-test.64

1 year ago

2.1.12-test.63

1 year ago

2.1.12-test.62

1 year ago

2.1.12-test.68

1 year ago

2.1.12-test.67

1 year ago

2.1.12-test.66

1 year ago

2.1.12-test.65

1 year ago

2.1.12-rc.16

1 year ago

2.1.12-rc.15

1 year ago

2.1.12-test.60

1 year ago

2.1.12-test.61

1 year ago

2.1.12-test.57

1 year ago

2.1.12-test.59

1 year ago

2.1.12-test.58

1 year ago

2.1.12-rc.9

1 year ago

2.1.12-rc.12

1 year ago

2.1.12-rc.11

1 year ago

2.1.12-rc.10

1 year ago

2.1.12-rc.14

1 year ago

2.1.12-rc.13

1 year ago

2.1.11-rc.60

1 year ago

2.1.11-rc.62

1 year ago

2.1.11-rc.61

1 year ago

2.1.11-test.41

1 year ago

2.1.11-test.49

1 year ago

2.1.11-test.47

1 year ago

2.1.11-test.46

1 year ago

2.1.11-test.45

1 year ago

2.1.11-test.44

1 year ago

2.1.12-rc.0

1 year ago

2.1.12-rc.1

1 year ago

2.1.12-rc.2

1 year ago

2.1.12-rc.3

1 year ago

2.1.12-rc.4

1 year ago

2.1.12-rc.5

1 year ago

2.1.12-rc.6

1 year ago

2.1.12-rc.7

1 year ago

2.1.12-rc.8

1 year ago

2.1.11-test.53

1 year ago

2.1.11-test.52

1 year ago

2.1.11-test.51

1 year ago

2.1.11-test.50

1 year ago

2.1.11-test.56

1 year ago

2.1.11-test.55

1 year ago

2.1.11

1 year ago

2.1.11-test.98

1 year ago

2.1.11-test.92

1 year ago

2.1.11-test.91

1 year ago

2.1.11-test.99

1 year ago

2.1.11-rc.51

1 year ago

2.1.11-rc.50

1 year ago

2.1.11-rc.53

1 year ago

2.1.11-rc.52

1 year ago

2.1.11-rc.55

1 year ago

2.1.11-rc.54

1 year ago

2.1.11-rc.57

1 year ago

2.1.11-rc.56

1 year ago

2.1.11-rc.59

1 year ago

2.1.11-rc.58

1 year ago

2.1.11-rc.40

1 year ago

2.1.11-rc.42

1 year ago

2.1.11-rc.41

1 year ago

2.1.11-rc.44

1 year ago

2.1.11-rc.43

1 year ago

2.1.11-rc.46

1 year ago

2.1.11-rc.45

1 year ago

2.1.11-rc.48

1 year ago

2.1.11-rc.47

1 year ago

2.1.11-rc.49

1 year ago

2.1.11-rc.31

1 year ago

2.1.11-rc.33

1 year ago

2.1.11-rc.32

1 year ago

2.1.11-rc.35

1 year ago

2.1.11-rc.34

1 year ago

2.1.11-rc.37

1 year ago

2.1.11-rc.36

1 year ago

2.1.11-rc.39

1 year ago

2.1.11-rc.38

1 year ago

2.1.11-rc.29

1 year ago

2.1.6-test.14

1 year ago

2.1.6-test.13

1 year ago

2.1.6-test.16

1 year ago

2.1.6-test.15

1 year ago

2.1.11-test.27

1 year ago

2.1.11-test.26

1 year ago

2.1.10-rc.2

1 year ago

2.1.7-test.7

1 year ago

2.1.10-rc.3

1 year ago

2.1.7-test.8

1 year ago

2.1.10-rc.0

1 year ago

2.1.7-test.5

1 year ago

2.1.10-rc.1

1 year ago

2.1.7-test.6

1 year ago

2.1.10-rc.4

1 year ago

2.1.7-test.9

1 year ago

2.1.10-rc.5

1 year ago

2.1.11-test.1

1 year ago

2.1.9-test.0

1 year ago

2.1.9-test.1

1 year ago

2.1.11-test.2

1 year ago

2.1.9-test.2

1 year ago

2.1.11-test.5

1 year ago

2.1.7-test.3

1 year ago

2.1.7-test.4

1 year ago

2.1.11-test.7

1 year ago

2.1.7-test.1

1 year ago

2.1.11-test.6

1 year ago

2.1.7-test.2

1 year ago

2.1.11-test.9

1 year ago

2.1.11-test.8

1 year ago

2.1.6

1 year ago

2.1.8

1 year ago

2.1.7

1 year ago

2.1.11-rc.19

1 year ago

2.1.11-rc.18

1 year ago

2.1.8-test.1

1 year ago

2.1.8-test.0

1 year ago

2.1.11-rc.11

1 year ago

2.1.11-rc.10

1 year ago

2.1.11-rc.13

1 year ago

2.1.11-rc.12

1 year ago

2.1.11-rc.15

1 year ago

2.1.11-rc.14

1 year ago

2.1.11-rc.17

1 year ago

2.1.11-rc.16

1 year ago

2.1.9

1 year ago

2.1.7-test.10

1 year ago

2.1.10

1 year ago

2.1.6-rc.43

1 year ago

2.1.6-rc.44

1 year ago

2.1.6-rc.45

1 year ago

2.1.6-rc.46

1 year ago

2.1.6-rc.40

1 year ago

2.1.6-rc.41

1 year ago

2.1.6-rc.42

1 year ago

2.1.6-rc.47

1 year ago

2.1.8-rc.3

1 year ago

2.1.8-rc.4

1 year ago

2.1.8-rc.5

1 year ago

2.1.8-rc.6

1 year ago

2.1.8-rc.0

1 year ago

2.1.8-rc.1

1 year ago

2.1.8-rc.7

1 year ago

2.1.8-rc.8

1 year ago

2.1.8-rc.9

1 year ago

2.1.7-rc.7

1 year ago

2.1.7-rc.6

1 year ago

2.1.7-rc.9

1 year ago

2.1.7-rc.8

1 year ago

2.1.7-rc.1

1 year ago

2.1.7-rc.0

1 year ago

2.1.7-rc.3

1 year ago

2.1.7-rc.2

1 year ago

2.1.7-rc.5

1 year ago

2.1.7-rc.4

1 year ago

2.1.7-rc.15

1 year ago

2.1.7-rc.16

1 year ago

2.1.7-rc.13

1 year ago

2.1.7-rc.14

1 year ago

2.1.7-rc.11

1 year ago

2.1.7-rc.12

1 year ago

2.1.7-rc.10

1 year ago

2.1.6-rc.36

1 year ago

2.1.6-rc.37

1 year ago

2.1.6-rc.38

1 year ago

2.1.6-rc.39

1 year ago

2.1.11-rc.9

1 year ago

2.1.11-rc.0

1 year ago

2.1.11-rc.20

1 year ago

2.1.11-rc.22

1 year ago

2.1.11-rc.6

1 year ago

2.1.11-rc.21

1 year ago

2.1.11-rc.5

1 year ago

2.1.11-rc.24

1 year ago

2.1.11-rc.8

1 year ago

2.1.11-rc.23

1 year ago

2.1.11-rc.7

1 year ago

2.1.11-rc.26

1 year ago

2.1.11-rc.2

1 year ago

2.1.11-rc.25

1 year ago

2.1.11-rc.1

1 year ago

2.1.11-rc.28

1 year ago

2.1.11-rc.4

1 year ago

2.1.11-rc.27

1 year ago

2.1.6-rc.35

1 year ago

2.1.6-rc.34

1 year ago

2.1.6-test.12

1 year ago

2.1.6-rc.33

1 year ago

2.1.6-rc.32

1 year ago

2.1.6-rc.30

2 years ago

2.1.6-rc.31

2 years ago

2.1.6-rc.29

2 years ago

2.1.6-test.10

2 years ago

2.1.6-test.9

2 years ago

2.1.6-test.8

2 years ago

2.1.6-rc.28

2 years ago

2.1.6-test.7

2 years ago

2.1.6-test.6

2 years ago

2.1.6-test.5

2 years ago

2.1.6-rc.27

2 years ago

2.1.6-rc.23

2 years ago

2.1.6-rc.24

2 years ago

2.1.6-rc.25

2 years ago

2.1.6-test.4

2 years ago

2.1.6-rc.22

2 years ago

2.1.6-rc.21

2 years ago

2.1.6-rc.20

2 years ago

2.1.6-rc.18

2 years ago

2.1.6-rc.19

2 years ago

2.1.6-rc.17

2 years ago

2.1.6-rc.16

2 years ago

2.1.6-rc.15

2 years ago

2.1.6-rc.12

2 years ago

2.1.6-rc.13

2 years ago

2.1.6-rc.14

2 years ago

2.1.6-rc.9

2 years ago

2.1.6-rc.7

2 years ago

2.1.6-rc.8

2 years ago

2.1.6-rc.6

2 years ago

2.1.6-rc.10

2 years ago

2.1.6-rc.11

2 years ago

2.1.6-rc.5

2 years ago

2.1.6-rc.4

2 years ago

2.1.6-rc.3

2 years ago

2.1.6-rc.2

2 years ago

2.1.6-rc.1

2 years ago

2.1.6-test.3

2 years ago

2.1.6-test.2

2 years ago

2.1.6-test.1

2 years ago

2.1.6-rc.0

2 years ago

2.1.5-rc.3

2 years ago

2.1.5-rc.2

2 years ago

2.1.5-rc.1

2 years ago

2.1.5-rc.5

2 years ago

2.1.5-rc.4

2 years ago

2.1.5

2 years ago

2.1.5-rc.0

2 years ago

2.1.4

2 years ago

2.1.4-rc.0

2 years ago

2.1.3

2 years ago

2.1.3-rc.28

2 years ago

2.1.3-rc.27

2 years ago

2.1.3-rc.26

2 years ago

2.1.3-rc.25

2 years ago

2.1.3-rc.24

2 years ago

2.1.3-rc.23

2 years ago

2.1.3-rc.22

2 years ago

2.1.3-rc.21

2 years ago

2.1.3-rc.20

2 years ago

2.1.3-rc.19

2 years ago

2.1.3-rc.18

2 years ago

2.1.3-rc.17

2 years ago

2.1.3-rc.16

2 years ago

2.1.3-rc.15

2 years ago

2.1.3-rc.14

2 years ago

2.1.3-rc.13

2 years ago

2.1.3-rc.12

2 years ago

2.1.3-rc.11

2 years ago

2.1.3-rc.10

2 years ago

2.1.3-rc.7

2 years ago

2.1.3-rc.6

2 years ago

2.1.3-rc.9

2 years ago

2.1.3-rc.8

2 years ago

2.1.3-rc.3

2 years ago

2.1.3-rc.5

2 years ago

2.1.3-rc.4

2 years ago

2.1.3-rc.2

2 years ago

2.1.3-rc.1

2 years ago

2.1.3-rc.0

2 years ago

2.1.2

2 years ago

2.1.2-rc.0

2 years ago

2.1.1

2 years ago

2.1.1-test.1

2 years ago

2.1.1-test.4

2 years ago

2.1.1-test.3

2 years ago

2.0.2-rc.5

2 years ago

2.1.1-rc.2

2 years ago

2.1.1-rc.3

2 years ago

2.1.1-rc.1

2 years ago

2.1.1-rc.0

2 years ago

2.1.0-rc.2

2 years ago

2.1.0-rc.3

2 years ago

2.1.0

2 years ago

2.1.0-rc.1

2 years ago

2.1.0-rc.0

2 years ago

2.0.2-rc.4

2 years ago

2.0.2-rc.3

2 years ago

2.0.2-rc.2

2 years ago

2.0.2-rc.1

2 years ago

2.0.1-test.10

2 years ago

2.0.1-test.8

2 years ago

2.0.1-test.9

2 years ago

2.0.1-test.6

2 years ago

2.0.1-test.7

2 years ago

2.0.2-rc.0

2 years ago

2.0.1-test.5

2 years ago

2.0.1-test.1

2 years ago

2.0.1-test.4

2 years ago

2.0.1-test.2

2 years ago

2.0.1-test.3

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

2.0.0-rc.9

2 years ago

2.0.0-rc.8

2 years ago

2.0.0-rc.7

2 years ago

1.4.4

2 years ago

2.0.0-rc.6

2 years ago

2.0.0-rc.5

2 years ago

2.0.0-rc.4

2 years ago

2.0.0-test.9

2 years ago

2.0.0-test.8

2 years ago

2.0.0-test.6

2 years ago

2.0.0-test.5

2 years ago

2.0.0-test.4

2 years ago

2.0.0-test.3

2 years ago

2.0.0-test.2

2 years ago

2.0.0-rc.3

2 years ago

2.0.0-test.1

2 years ago

2.0.0-rc.2

2 years ago

2.0.0-rc.1

2 years ago

2.0.0-rc.0

2 years ago

1.4.3

2 years ago

1.4.3-rc.5

2 years ago

1.4.3-andyk.1

2 years ago

1.4.3-rc.4

2 years ago

1.4.3-rc.3

2 years ago

1.4.2-vite.1

2 years ago

1.4.3-rc.2

2 years ago

1.4.3-rc.1

2 years ago

1.4.2-test.21

2 years ago

1.4.2-test.20

2 years ago

1.4.3-rc.0

2 years ago

1.4.2

2 years ago

1.4.2-rc.18

2 years ago

1.4.2-rc.17

2 years ago

1.4.2-rc.16

2 years ago

1.4.2-rc.15

2 years ago

1.4.2-rc.14

2 years ago

1.4.2-rc.12

2 years ago

1.4.2-rc.10

2 years ago

1.4.2-rc.6

2 years ago

1.4.2-test.19

2 years ago

1.4.2-test.18

2 years ago

1.4.2-test.17

2 years ago

1.4.2-test.16

2 years ago

1.4.2-test.15

2 years ago

1.4.2-test.14

2 years ago

1.4.2-andyk.2

2 years ago

1.4.1-andyk.0

2 years ago

1.4.2-test.13

2 years ago

1.4.2-rc.5

2 years ago

1.4.2-test.12

2 years ago

1.4.2-test.11

2 years ago

1.4.2-test.10

2 years ago

1.4.2-andyk.1

2 years ago

1.4.2-andyk.0

2 years ago

1.4.2-test.9

2 years ago

1.4.2-rc.4

2 years ago

1.4.2-rc.3

2 years ago

1.4.2-test.7

2 years ago

1.4.2-rc.2

2 years ago

1.4.2-test.6

2 years ago

1.4.2-test.5

2 years ago

1.4.2-rc.1

2 years ago

1.4.2-rc.0

2 years ago

1.4.1-test.1

2 years ago

1.4.1

2 years ago

1.4.2-test.4

2 years ago

1.4.1-rc.5

2 years ago

1.4.2-test.3

2 years ago

1.4.2-test.2

2 years ago

1.4.2-test.1

2 years ago

1.4.2-test.0

2 years ago

1.4.1-rc.4

2 years ago

1.4.1-rc.3

2 years ago

1.4.1-rc.2

2 years ago

1.4.0

2 years ago

1.4.0-rc.11

2 years ago

1.4.0-rc.10

2 years ago

1.4.0-rc.8

2 years ago

1.4.0-rc.7

2 years ago

1.4.0-rc.4

2 years ago

1.4.0-rc.3

2 years ago