Skip to content

Commit

Permalink
refactor: file renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
javigaralva committed Nov 4, 2022
1 parent 289c823 commit 7f34422
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 17 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { CSSProperties } from 'react'
import { sample } from './utils/sample'
import { getVerticalLinesStyle } from './styles/getVerticalLinesStyle'
import { getSquareAndVerticalLinesStyle } from './styles/getSquareAndVerticalLinesStyle'
import { getBigCircleDottedStyle } from './styles/getBigCircleDottedStyle'
import { getBigDotsStyle } from './styles/getBigDotsStyle'
import { isUpperCaseLetter } from './utils/is-upper-case-letter'
import { isSymbol } from './utils/is-symbol'
import { isNumber } from './utils/is-number'
import { sample } from '../utils/sample'
import { getVerticalLinesStyle } from '../utils/style-generators/vertical-lines'
import { getSquareAndVerticalLinesStyle } from '../utils/style-generators/square-and-vertical-lines'
import { getBigCircleDottedStyle } from '../utils/style-generators/big-circle-doted'
import { getBigDotsStyle } from '../utils/style-generators/big-dots'
import { isUpperCaseLetter } from '../utils/is-upper-case-letter'
import { isSymbol } from '../utils/is-symbol'
import { isNumber } from '../utils/is-number'

type ColorizedLetterStyles = {
classNames: string
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/components/javigaralva/password-generator-app.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { useState, useEffect, type ChangeEventHandler } from 'react'
import { sample } from './utils/sample'
import { ColorizedPassword } from './colorized-password'
import { ColorizedPassword } from './components/colorized-password'
import {
UPPER_CASE_LETTERS_LIST,
LOWER_CASE_LETTERS_LIST,
NUMBERS_LIST,
SYMBOLS_LIST
} from './constants'
} from './constants/constants'

interface GeneratePasswordOptions {
length: number
Expand Down
2 changes: 1 addition & 1 deletion src/components/javigaralva/utils/is-number.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NUMBERS } from '../constants'
import { NUMBERS } from '../constants/constants'

export function isNumber(letter: string) {
return NUMBERS.includes(letter)
Expand Down
2 changes: 1 addition & 1 deletion src/components/javigaralva/utils/is-symbol.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SYMBOLS } from '../constants'
import { SYMBOLS } from '../constants/constants'

export function isSymbol(letter: string) {
return SYMBOLS.includes(letter)
Expand Down
2 changes: 1 addition & 1 deletion src/components/javigaralva/utils/is-upper-case-letter.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { UPPER_CASE_LETTERS_LIST } from '../constants'
import { UPPER_CASE_LETTERS_LIST } from '../constants/constants'

export function isUpperCaseLetter(letter: string) {
return UPPER_CASE_LETTERS_LIST.includes(letter)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CSSProperties } from 'react'
import { random } from '../utils/random'
import { random } from '../random'

export function getBigCircleDottedStyle() {
const style: CSSProperties = {}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CSSProperties } from 'react'
import { random } from '../utils/random'
import { random } from '../random'

export function getBigDotsStyle() {
const style: CSSProperties = {}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CSSProperties } from 'react'
import { random } from '../utils/random'
import { random } from '../random'

export function getSquareAndVerticalLinesStyle() {
const style: CSSProperties = {}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { CSSProperties } from 'react'
import { random } from '../utils/random'
import { random } from '../random'

export function getVerticalLinesStyle() {
const style: CSSProperties = {}
Expand Down

0 comments on commit 7f34422

Please sign in to comment.