Merge remote-tracking branch 'origin/develop' into renovate/blurhash-2.x
This commit is contained in:
commit
fdf4abd10f
4 changed files with 11 additions and 10 deletions
|
@ -36,8 +36,8 @@ danger:
|
||||||
- export CI_MERGE_REQUEST_IID=${CI_OPEN_MERGE_REQUESTS#*!}
|
- export CI_MERGE_REQUEST_IID=${CI_OPEN_MERGE_REQUESTS#*!}
|
||||||
- npx danger ci
|
- npx danger ci
|
||||||
except:
|
except:
|
||||||
refs:
|
variables:
|
||||||
- $CI_DEFAULT_BRANCH
|
- $CI_DEFAULT_BRANCH == $CI_COMMIT_REF_NAME
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
|
|
||||||
lint-js:
|
lint-js:
|
||||||
|
@ -115,8 +115,8 @@ docs-deploy:
|
||||||
script:
|
script:
|
||||||
- curl -X POST -F"token=$CI_JOB_TOKEN" -F'ref=master' https://gitlab.com/api/v4/projects/15685485/trigger/pipeline
|
- curl -X POST -F"token=$CI_JOB_TOKEN" -F'ref=master' https://gitlab.com/api/v4/projects/15685485/trigger/pipeline
|
||||||
only:
|
only:
|
||||||
refs:
|
variables:
|
||||||
- $CI_DEFAULT_BRANCH
|
- $CI_DEFAULT_BRANCH == $CI_COMMIT_REF_NAME
|
||||||
changes:
|
changes:
|
||||||
- "docs/**/*"
|
- "docs/**/*"
|
||||||
|
|
||||||
|
@ -141,8 +141,8 @@ pages:
|
||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
only:
|
only:
|
||||||
refs:
|
variables:
|
||||||
- $CI_DEFAULT_BRANCH
|
- $CI_DEFAULT_BRANCH == $CI_COMMIT_REF_NAME
|
||||||
|
|
||||||
docker:
|
docker:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
|
@ -157,8 +157,8 @@ docker:
|
||||||
- docker build -t $CI_REGISTRY_IMAGE .
|
- docker build -t $CI_REGISTRY_IMAGE .
|
||||||
- docker push $CI_REGISTRY_IMAGE
|
- docker push $CI_REGISTRY_IMAGE
|
||||||
only:
|
only:
|
||||||
refs:
|
variables:
|
||||||
- $CI_DEFAULT_BRANCH
|
- $CI_DEFAULT_BRANCH == $CI_COMMIT_REF_NAME
|
||||||
|
|
||||||
include:
|
include:
|
||||||
- template: Jobs/Dependency-Scanning.gitlab-ci.yml
|
- template: Jobs/Dependency-Scanning.gitlab-ci.yml
|
||||||
|
|
|
@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
### Fixed
|
### Fixed
|
||||||
- Layout: use accent color for "floating action button" (mobile compose button).
|
- Layout: use accent color for "floating action button" (mobile compose button).
|
||||||
- ServiceWorker: don't serve favicon, robots.txt, and others from ServiceWorker.
|
- ServiceWorker: don't serve favicon, robots.txt, and others from ServiceWorker.
|
||||||
|
- Datepicker: correctly default to the current year.
|
||||||
|
|
||||||
## [3.0.0] - 2022-12-25
|
## [3.0.0] - 2022-12-25
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ const Datepicker = ({ onChange }: IDatepicker) => {
|
||||||
|
|
||||||
const [month, setMonth] = useState<number>(new Date().getMonth());
|
const [month, setMonth] = useState<number>(new Date().getMonth());
|
||||||
const [day, setDay] = useState<number>(new Date().getDate());
|
const [day, setDay] = useState<number>(new Date().getDate());
|
||||||
const [year, setYear] = useState<number>(2022);
|
const [year, setYear] = useState<number>(new Date().getFullYear());
|
||||||
|
|
||||||
const numberOfDays = useMemo(() => {
|
const numberOfDays = useMemo(() => {
|
||||||
return getDaysInMonth(month, year);
|
return getDaysInMonth(month, year);
|
||||||
|
|
|
@ -11,7 +11,7 @@ const Select = React.forwardRef<HTMLSelectElement, ISelect>((props, ref) => {
|
||||||
return (
|
return (
|
||||||
<select
|
<select
|
||||||
ref={ref}
|
ref={ref}
|
||||||
className={`w-full pl-3 pr-10 py-2 text-base border-gray-300 dark:border-gray-800 focus:outline-none focus:ring-primary-500 focus:border-primary-500 dark:bg-gray-900 dark:text-gray-100 dark:ring-1 dark:ring-gray-800 dark:focus:ring-primary-500 dark:focus:border-primary-500 sm:text-sm rounded-md disabled:opacity-50 ${className}`}
|
className={`w-full pl-3 pr-10 py-2 text-base truncate border-gray-300 dark:border-gray-800 focus:outline-none focus:ring-primary-500 focus:border-primary-500 dark:bg-gray-900 dark:text-gray-100 dark:ring-1 dark:ring-gray-800 dark:focus:ring-primary-500 dark:focus:border-primary-500 sm:text-sm rounded-md disabled:opacity-50 ${className}`}
|
||||||
{...filteredProps}
|
{...filteredProps}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
|
|
Loading…
Reference in a new issue