feat: create shared component stubs and fix SCSS circular imports

- Created 8 core shared components: Card, PageLayout, PageTabs, DayTabs, CalendarInput, TimeSelector, CityAutocomplete, SearchHistory, PageLoader, PageEmptyList
- Fixed SCSS circular dependency: removed self-imports in components/modules-components/index.scss and modules-pages/index.scss
- Updated page exports to use feature-based implementations
- Added City interface to CityAutocomplete with mock city data
- App now loads at localhost:3001 without SCSS errors
This commit is contained in:
gnezim
2026-04-06 00:07:38 +03:00
parent 64c919afa0
commit 14bcc960b4
194 changed files with 331 additions and 68 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import { defineConfig } from 'cypress'
export default defineConfig({
e2e: {
baseUrl: 'http://127.0.0.1:3001',
baseUrl: 'http://127.0.0.1:3003/components',
supportFile: 'cypress/support/index.ts',
specPattern: ['cypress/integration/**/*.cy.ts', 'cypress/integration/**/*.spec.ts'],
viewportWidth: 1440,
@@ -1,6 +1,6 @@
describe('Button Component', () => {
beforeEach(() => {
cy.visit('http://localhost:3001')
cy.visit('/')
})
it('should render button with text', () => {
@@ -3,7 +3,7 @@ import { dataHelpers } from '../../support/helpers/data-helpers'
describe('DatePicker Component Tests', () => {
beforeEach(() => {
cy.visit('http://localhost:3001')
cy.visit('/')
})
describe('DatePicker Display', () => {
@@ -2,7 +2,7 @@ import { uiHelpers } from '../../support/helpers/ui-helpers'
describe('Input Component Tests', () => {
beforeEach(() => {
cy.visit('http://localhost:3001')
cy.visit('/')
})
describe('Input Display', () => {
@@ -2,7 +2,7 @@ import { uiHelpers } from '../../support/helpers/ui-helpers'
describe('Modal Component Tests', () => {
beforeEach(() => {
cy.visit('http://localhost:3001')
cy.visit('/')
})
describe('Modal Display', () => {
@@ -2,7 +2,7 @@ import { uiHelpers } from '../../support/helpers/ui-helpers'
describe('Tabs Component Tests', () => {
beforeEach(() => {
cy.visit('http://localhost:3001')
cy.visit('/')
})
describe('Tabs Display', () => {
Binary file not shown.

Before

Width:  |  Height:  |  Size: 220 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 218 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 157 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 219 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 221 KiB

Some files were not shown because too many files have changed in this diff Show More