@namelivia/vue-components 1.6.3 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/build.yml +1 -1
- package/cypress/fixtures/example.json +5 -0
- package/cypress/support/commands.js +25 -0
- package/cypress/support/component-index.html +12 -0
- package/cypress/support/component.js +27 -0
- package/cypress.config.js +10 -0
- package/dist/index.esm.js +306 -196
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +305 -195
- package/dist/index.js.map +1 -1
- package/package.json +13 -8
- package/rollup.config.js +2 -0
- package/src/Badge/Badge.cy.js +14 -0
- package/src/Badge/Badge.vue +30 -0
- package/src/Card/Card.cy.js +15 -0
- package/src/Card/Card.vue +23 -0
- package/src/CardBody/CardBody.cy.js +18 -0
- package/src/CardBody/CardBody.vue +33 -0
- package/src/CardGrid/CardGrid.cy.js +14 -0
- package/src/CardGrid/CardGrid.vue +24 -0
- package/src/CardImage/CardImage.cy.js +18 -0
- package/src/CheckBoxInput/CheckBoxInput.cy.js +17 -0
- package/src/{CheckBoxInput.vue → CheckBoxInput/CheckBoxInput.vue} +23 -6
- package/src/Container/Container.cy.js +14 -0
- package/src/Container/Container.vue +18 -0
- package/src/DangerButton/DangerButton.cy.js +14 -0
- package/src/DangerButton/DangerButton.vue +37 -0
- package/src/ImageInput/ImageInput.cy.js +21 -0
- package/src/ImageInput/ImageInput.vue +82 -0
- package/src/Loading/Loading.cy.js +14 -0
- package/src/Loading/Loading.vue +61 -0
- package/src/Modal/Modal.cy.js +14 -0
- package/src/Modal/Modal.vue +55 -0
- package/src/Navbar/MobileMenuButton.cy.js +13 -0
- package/src/Navbar/MobileMenuButton.vue +71 -0
- package/src/Navbar/Navbar.cy.js +0 -0
- package/src/NumberInput/NumberInput.cy.js +21 -0
- package/src/NumberInput/NumberInput.vue +95 -0
- package/src/Pagination/Pagination.cy.js +18 -0
- package/src/Pagination/Pagination.vue +37 -0
- package/src/RegularButton/RegularButton.cy.js +14 -0
- package/src/RegularButton/RegularButton.vue +38 -0
- package/src/ResetButton/ResetButton.cy.js +14 -0
- package/src/ResetButton/ResetButton.vue +31 -0
- package/src/ResizeImageUpload/ResizeImageUpload.cy.js +21 -0
- package/src/ResizeImageUpload/ResizeImageUpload.vue +98 -0
- package/src/SecondaryButton/SecondaryButton.cy.js +14 -0
- package/src/SecondaryButton/SecondaryButton.vue +37 -0
- package/src/SectionTitle/SectionTitle.cy.js +14 -0
- package/src/{SectionTitle.vue → SectionTitle/SectionTitle.vue} +11 -3
- package/src/Selector/Selector.cy.js +21 -0
- package/src/Selector/Selector.vue +138 -0
- package/src/Spinner/Spinner.cy.js +10 -0
- package/src/Spinner/Spinner.vue +45 -0
- package/src/StyledTable/StyledTable.cy.js +14 -0
- package/src/StyledTable/StyledTable.vue +18 -0
- package/src/SubmitButton/SubmitButton.cy.js +14 -0
- package/src/SubmitButton/SubmitButton.vue +45 -0
- package/src/TextInput/TextInput.cy.js +37 -0
- package/src/TextInput/TextInput.vue +87 -0
- package/src/index.js +24 -24
- package/vite.config.js +6 -0
- package/src/Badge.vue +0 -13
- package/src/Card.vue +0 -11
- package/src/CardBody.vue +0 -17
- package/src/CardGrid.vue +0 -10
- package/src/Container.vue +0 -10
- package/src/DangerButton.vue +0 -20
- package/src/ImageInput.vue +0 -49
- package/src/Loading.vue +0 -18
- package/src/MobileMenuButton.vue +0 -38
- package/src/Modal.vue +0 -26
- package/src/NumberInput.vue +0 -57
- package/src/Pagination.vue +0 -25
- package/src/RegularButton.vue +0 -19
- package/src/ResetButton.vue +0 -13
- package/src/ResizeImageUpload.vue +0 -60
- package/src/SecondaryButton.vue +0 -20
- package/src/Selector.vue +0 -85
- package/src/Spinner.vue +0 -12
- package/src/StyledTable.vue +0 -10
- package/src/SubmitButton.vue +0 -23
- package/src/TextInput.vue +0 -49
- /package/src/{CardImage.vue → CardImage/CardImage.vue} +0 -0
- /package/src/{MobileNavigationLink.vue → Navbar/MobileNavigationLink.vue} +0 -0
- /package/src/{MobileNavigationLinks.vue → Navbar/MobileNavigationLinks.vue} +0 -0
- /package/src/{Navbar.vue → Navbar/Navbar.vue} +0 -0
- /package/src/{NavbarTitle.vue → Navbar/NavbarTitle.vue} +0 -0
- /package/src/{NavigationLink.vue → Navbar/NavigationLink.vue} +0 -0
- /package/src/{NavigationLinks.vue → Navbar/NavigationLinks.vue} +0 -0
- /package/src/{RightContent.vue → Navbar/RightContent.vue} +0 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// ***********************************************
|
|
2
|
+
// This example commands.js shows you how to
|
|
3
|
+
// create various custom commands and overwrite
|
|
4
|
+
// existing commands.
|
|
5
|
+
//
|
|
6
|
+
// For more comprehensive examples of custom
|
|
7
|
+
// commands please read more here:
|
|
8
|
+
// https://on.cypress.io/custom-commands
|
|
9
|
+
// ***********************************************
|
|
10
|
+
//
|
|
11
|
+
//
|
|
12
|
+
// -- This is a parent command --
|
|
13
|
+
// Cypress.Commands.add('login', (email, password) => { ... })
|
|
14
|
+
//
|
|
15
|
+
//
|
|
16
|
+
// -- This is a child command --
|
|
17
|
+
// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... })
|
|
18
|
+
//
|
|
19
|
+
//
|
|
20
|
+
// -- This is a dual command --
|
|
21
|
+
// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... })
|
|
22
|
+
//
|
|
23
|
+
//
|
|
24
|
+
// -- This will overwrite an existing command --
|
|
25
|
+
// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... })
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
+
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
|
7
|
+
<title>Components App</title>
|
|
8
|
+
</head>
|
|
9
|
+
<body>
|
|
10
|
+
<div data-cy-root></div>
|
|
11
|
+
</body>
|
|
12
|
+
</html>
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// ***********************************************************
|
|
2
|
+
// This example support/component.js is processed and
|
|
3
|
+
// loaded automatically before your test files.
|
|
4
|
+
//
|
|
5
|
+
// This is a great place to put global configuration and
|
|
6
|
+
// behavior that modifies Cypress.
|
|
7
|
+
//
|
|
8
|
+
// You can change the location of this file or turn off
|
|
9
|
+
// automatically serving support files with the
|
|
10
|
+
// 'supportFile' configuration option.
|
|
11
|
+
//
|
|
12
|
+
// You can read more here:
|
|
13
|
+
// https://on.cypress.io/configuration
|
|
14
|
+
// ***********************************************************
|
|
15
|
+
|
|
16
|
+
// Import commands.js using ES2015 syntax:
|
|
17
|
+
import './commands'
|
|
18
|
+
|
|
19
|
+
// Alternatively you can use CommonJS syntax:
|
|
20
|
+
// require('./commands')
|
|
21
|
+
|
|
22
|
+
import { mount } from 'cypress/vue'
|
|
23
|
+
|
|
24
|
+
Cypress.Commands.add('mount', mount)
|
|
25
|
+
|
|
26
|
+
// Example use:
|
|
27
|
+
// cy.mount(MyComponent)
|