Skip to content

Commit

Permalink
Release (#2347)
Browse files Browse the repository at this point in the history
* ⬆️ Bump @types/requestidlecallback from 0.3.4 to 0.3.5 in /web (#2326)

Bumps [@types/requestidlecallback](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/requestidlecallback) from 0.3.4 to 0.3.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/requestidlecallback)

---
updated-dependencies:
- dependency-name: "@types/requestidlecallback"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* ⬆️ Bump xo from 0.52.3 to 0.52.4 in /web (#2328)

Bumps [xo](https://github.com/xojs/xo) from 0.52.3 to 0.52.4.
- [Release notes](https://github.com/xojs/xo/releases)
- [Commits](xojs/xo@v0.52.3...v0.52.4)

---
updated-dependencies:
- dependency-name: xo
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* ⬆️ Bump @types/node from 18.8.0 to 18.8.2 in /web (#2327)

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.8.0 to 18.8.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* ⬆️ Bump terser from 5.15.0 to 5.15.1 in /web (#2329)

Bumps [terser](https://github.com/terser/terser) from 5.15.0 to 5.15.1.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](terser/terser@v5.15.0...v5.15.1)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* ⬆️ Bump css-minimizer-webpack-plugin from 4.1.0 to 4.2.0 in /web (#2330)

Bumps [css-minimizer-webpack-plugin](https://github.com/webpack-contrib/css-minimizer-webpack-plugin) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/webpack-contrib/css-minimizer-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/css-minimizer-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](webpack-contrib/css-minimizer-webpack-plugin@v4.1.0...v4.2.0)

---
updated-dependencies:
- dependency-name: css-minimizer-webpack-plugin
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* ⬆️ Bump @types/node from 18.8.2 to 18.8.3 in /web (#2331)

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.8.2 to 18.8.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* ⬆️ Bump firebase from 9.10.0 to 9.11.0 in /web (#2332)

Bumps [firebase](https://github.com/firebase/firebase-js-sdk) from 9.10.0 to 9.11.0.
- [Release notes](https://github.com/firebase/firebase-js-sdk/releases)
- [Changelog](https://github.com/firebase/firebase-js-sdk/blob/master/CHANGELOG.md)
- [Commits](https://github.com/firebase/firebase-js-sdk/compare/firebase@9.10.0...firebase@9.11.0)

---
updated-dependencies:
- dependency-name: firebase
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* ⬆️ Bump css-minimizer-webpack-plugin from 4.2.0 to 4.2.1 in /web (#2333)

Bumps [css-minimizer-webpack-plugin](https://github.com/webpack-contrib/css-minimizer-webpack-plugin) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/webpack-contrib/css-minimizer-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/css-minimizer-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](webpack-contrib/css-minimizer-webpack-plugin@v4.2.0...v4.2.1)

---
updated-dependencies:
- dependency-name: css-minimizer-webpack-plugin
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* ⬆️ Bump @sentry/browser from 7.14.1 to 7.14.2 in /web (#2334)

Bumps [@sentry/browser](https://github.com/getsentry/sentry-javascript) from 7.14.1 to 7.14.2.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md)
- [Commits](getsentry/sentry-javascript@7.14.1...7.14.2)

---
updated-dependencies:
- dependency-name: "@sentry/browser"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* ⬆️ Bump firebase-tools from 11.13.0 to 11.14.0 in /web (#2335)

Bumps [firebase-tools](https://github.com/firebase/firebase-tools) from 11.13.0 to 11.14.0.
- [Release notes](https://github.com/firebase/firebase-tools/releases)
- [Changelog](https://github.com/firebase/firebase-tools/blob/master/CHANGELOG.md)
- [Commits](firebase/firebase-tools@v11.13.0...v11.14.0)

---
updated-dependencies:
- dependency-name: firebase-tools
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* ✨ Fix lint

* ⬆️ Bump firebase-tools from 11.14.0 to 11.14.1 in /web (#2336)

Bumps [firebase-tools](https://github.com/firebase/firebase-tools) from 11.14.0 to 11.14.1.
- [Release notes](https://github.com/firebase/firebase-tools/releases)
- [Changelog](https://github.com/firebase/firebase-tools/blob/master/CHANGELOG.md)
- [Commits](firebase/firebase-tools@v11.14.0...v11.14.1)

---
updated-dependencies:
- dependency-name: firebase-tools
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* ♻️ Refactor

* ⬆️ Bump cloud.google.com/go/firestore in /server (#2337)

Bumps [cloud.google.com/go/firestore](https://github.com/googleapis/google-cloud-go) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/googleapis/google-cloud-go/releases)
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/documentai/CHANGES.md)
- [Commits](googleapis/google-cloud-go@pubsub/v1.6.1...asset/v1.7.0)

---
updated-dependencies:
- dependency-name: cloud.google.com/go/firestore
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* ⬆️ Bump google.golang.org/grpc from 1.49.0 to 1.50.0 in /server (#2338)

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.49.0 to 1.50.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.49.0...v1.50.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* ⬆️ Bump github.com/samber/mo from 1.5.0 to 1.5.1 in /server (#2340)

Bumps [github.com/samber/mo](https://github.com/samber/mo) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/samber/mo/releases)
- [Commits](samber/mo@v1.5.0...v1.5.1)

---
updated-dependencies:
- dependency-name: github.com/samber/mo
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* ⬆️ Bump firebase.google.com/go/v4 from 4.8.0 to 4.9.0 in /server (#2339)

Bumps [firebase.google.com/go/v4](https://github.com/firebase/firebase-admin-go) from 4.8.0 to 4.9.0.
- [Release notes](https://github.com/firebase/firebase-admin-go/releases)
- [Commits](firebase/firebase-admin-go@v4.8.0...v4.9.0)

---
updated-dependencies:
- dependency-name: firebase.google.com/go/v4
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* ⬆️ Bump @sentry/browser from 7.14.2 to 7.15.0 in /web (#2341)

Bumps [@sentry/browser](https://github.com/getsentry/sentry-javascript) from 7.14.2 to 7.15.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md)
- [Commits](getsentry/sentry-javascript@7.14.2...7.15.0)

---
updated-dependencies:
- dependency-name: "@sentry/browser"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* ⬆️ Bump @babel/preset-env from 7.19.3 to 7.19.4 in /web (#2342)

Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.19.3 to 7.19.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.19.4/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* ⬆️ Bump @types/node from 18.8.3 to 18.8.4 in /web (#2343)

Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 18.8.3 to 18.8.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* ⬆️ Bump firebase-tools from 11.14.1 to 11.14.2 in /web (#2344)

Bumps [firebase-tools](https://github.com/firebase/firebase-tools) from 11.14.1 to 11.14.2.
- [Release notes](https://github.com/firebase/firebase-tools/releases)
- [Commits](firebase/firebase-tools@v11.14.1...v11.14.2)

---
updated-dependencies:
- dependency-name: firebase-tools
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* ⬆️ Bump firebase from 9.11.0 to 9.12.0 in /web (#2345)

Bumps [firebase](https://github.com/firebase/firebase-js-sdk) from 9.11.0 to 9.12.0.
- [Release notes](https://github.com/firebase/firebase-js-sdk/releases)
- [Changelog](https://github.com/firebase/firebase-js-sdk/blob/master/CHANGELOG.md)
- [Commits](https://github.com/firebase/firebase-js-sdk/compare/firebase@9.11.0...firebase@9.12.0)

---
updated-dependencies:
- dependency-name: firebase
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* ⬆️ Bump cypress from 10.9.0 to 10.10.0 in /web (#2346)

Bumps [cypress](https://github.com/cypress-io/cypress) from 10.9.0 to 10.10.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/cypress-io/cypress/commits)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* ✨ Add theme to settings

* 🎨 Format code

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
harehare and dependabot[bot] authored Oct 12, 2022
1 parent bf97337 commit b79f08d
Show file tree
Hide file tree
Showing 42 changed files with 2,330 additions and 2,235 deletions.
15 changes: 8 additions & 7 deletions server/go.mod
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
module github.com/harehare/textusm

require (
cloud.google.com/go/firestore v1.6.1
firebase.google.com/go/v4 v4.8.0
cloud.google.com/go/firestore v1.7.0
firebase.google.com/go/v4 v4.9.0
github.com/99designs/gqlgen v0.17.20
github.com/form3tech-oss/jwt-go v3.2.5+incompatible
github.com/go-chi/chi/v5 v5.0.7
github.com/go-chi/cors v1.2.1
github.com/go-chi/httprate v0.7.0
github.com/kelseyhightower/envconfig v1.4.0
github.com/rs/zerolog v1.28.0
github.com/samber/mo v1.5.0
github.com/samber/mo v1.5.1
github.com/satori/go.uuid v1.2.0
github.com/stretchr/testify v1.8.0
github.com/vektah/gqlparser/v2 v2.5.1
golang.org/x/crypto v0.0.0-20220826181053-bd7e27e6170d
golang.org/x/sync v0.0.0-20220819030929-7fc1605a5dde
google.golang.org/api v0.98.0
google.golang.org/grpc v1.49.0
google.golang.org/grpc v1.50.0
)

require (
cloud.google.com/go v0.104.0 // indirect
cloud.google.com/go/compute v1.9.0 // indirect
cloud.google.com/go/iam v0.3.0 // indirect
cloud.google.com/go/storage v1.25.0 // indirect
cloud.google.com/go/storage v1.26.0 // indirect
github.com/agnivade/levenshtein v1.1.1 // indirect
github.com/cespare/xxhash/v2 v2.1.2 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
Expand All @@ -43,13 +43,14 @@ require (
github.com/stretchr/objx v0.4.0 // indirect
go.opencensus.io v0.23.0 // indirect
golang.org/x/net v0.0.0-20220909164309-bea034e7d591 // indirect
golang.org/x/oauth2 v0.0.0-20220822191816-0ebed06d0094 // indirect
golang.org/x/oauth2 v0.0.0-20220909003341-f21342109be1 // indirect
golang.org/x/sys v0.0.0-20220825204002-c680a09ffe64 // indirect
golang.org/x/text v0.3.7 // indirect
golang.org/x/time v0.0.0-20220609170525-579cf78fd858 // indirect
golang.org/x/xerrors v0.0.0-20220609144429-65e65417b02f // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/appengine/v2 v2.0.2 // indirect
google.golang.org/genproto v0.0.0-20220822174746-9e6da59bd2fc // indirect
google.golang.org/genproto v0.0.0-20220920201722-2b89144ce006 // indirect
google.golang.org/protobuf v1.28.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Expand Down
51 changes: 16 additions & 35 deletions server/go.sum

Large diffs are not rendered by default.

3,070 changes: 1,510 additions & 1,560 deletions web/package-lock.json

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions web/package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "textusm",
"description": "Online tool for Generate a User Story Mapping from indented text.",
"version": "0.11.4",
"version": "0.11.5",
"author": "harehare",
"bugs": {
"url": "https://github.com/harehare/textusm/issues"
},
"dependencies": {
"@sentry/browser": "^7.14.1",
"@sentry/browser": "^7.15.0",
"clipboard-copy": "^4.0.1",
"dexie": "^3.2.2",
"firebase": "^9.10.0",
"firebase": "^9.12.0",
"html2canvas": "^1.4.1",
"jspdf": "^2.5.1",
"monaco-editor": "^0.34.0",
Expand All @@ -21,7 +21,7 @@
},
"devDependencies": {
"@babel/core": "^7.19.3",
"@babel/preset-env": "^7.19.3",
"@babel/preset-env": "^7.19.4",
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@dillonkearns/elm-graphql": "^4.3.0",
Expand All @@ -30,8 +30,8 @@
"@trivago/prettier-plugin-sort-imports": "^3.3.0",
"@tsconfig/strictest": "^1.0.2",
"@types/jspdf": "^2.0.0",
"@types/node": "^18.8.0",
"@types/requestidlecallback": "^0.3.4",
"@types/node": "^18.8.4",
"@types/requestidlecallback": "^0.3.5",
"@types/svgo": "^2.6.4",
"@types/uuid": "^8.3.4",
"@types/wicg-file-system-access": "^2020.9.5",
Expand All @@ -40,9 +40,9 @@
"concurrently": "^7.4.0",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "^6.7.1",
"css-minimizer-webpack-plugin": "^4.1.0",
"css-minimizer-webpack-plugin": "^4.2.1",
"cssnano-preset-advanced": "^5.3.8",
"cypress": "^10.9.0",
"cypress": "^10.10.0",
"devcert": "^1.2.2",
"elm": "^0.19.1-5",
"elm-constants": "^1.0.0",
Expand All @@ -51,7 +51,7 @@
"elm-review": "^2.7.5",
"elm-test": "^0.19.1-revision9",
"elm-webpack-loader": "^8.0.0",
"firebase-tools": "^11.13.0",
"firebase-tools": "^11.14.2",
"html-inline-css-webpack-plugin": "^1.11.1",
"html-webpack-plugin": "^5.5.0",
"lint-staged": "^13.0.3",
Expand All @@ -67,7 +67,7 @@
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-standard": "^28.0.0",
"svg-inline-loader": "^0.8.2",
"terser": "^5.15.0",
"terser": "^5.15.1",
"terser-webpack-plugin": "^5.3.6",
"ts-loader": "^9.4.1",
"typescript": "^4.8.4",
Expand All @@ -77,7 +77,7 @@
"webpack-merge": "^5.8.0",
"workbox-sw": "^6.5.4",
"workbox-webpack-plugin": "^6.5.4",
"xo": "^0.52.3"
"xo": "^0.52.4"
},
"homepage": "https://github.com/harehare/textusm",
"license": "MIT",
Expand Down
44 changes: 22 additions & 22 deletions web/src/elm/Components/Diagram.elm
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ import Css.Global as Global exposing (global)
import Events
import File
import Html.Events.Extra.Touch as Touch
import Html.Styled as Html exposing (Html, div)
import Html.Styled.Attributes as Attr exposing (css)
import Html.Styled as Html exposing (Html)
import Html.Styled.Attributes as Attr
import Html.Styled.Events as Event
import Html.Styled.Lazy as Lazy
import Json.Decode as D
Expand Down Expand Up @@ -591,9 +591,9 @@ view model =
(Size.getWidth model.size)
|> round
in
div
Html.div
[ Attr.id "usm-area"
, css
, Attr.css
[ position relative
, Style.heightFull
, case model.moveState of
Expand Down Expand Up @@ -681,8 +681,8 @@ view model =
}
, Lazy.lazy4 svgView model centerPosition ( svgWidth, svgHeight ) mainSvg
, if SearchModel.isSearch model.search then
div
[ css
Html.div
[ Attr.css
[ position absolute
, top <| px 62
, right <| px 32
Expand Down Expand Up @@ -1397,9 +1397,9 @@ zoomControl isFullscreen scale =
s =
round <| scale * 100.0
in
div
Html.div
[ Attr.id "zoom-control"
, css
, Attr.css
[ position absolute
, alignItems center
, displayFlex
Expand All @@ -1413,8 +1413,8 @@ zoomControl isFullscreen scale =
, border3 (px 1) solid (rgba 0 0 0 0.1)
]
]
[ div
[ css
[ Html.div
[ Attr.css
[ width <| px 24
, height <| px 24
, cursor pointer
Expand All @@ -1425,8 +1425,8 @@ zoomControl isFullscreen scale =
]
[ Icon.search (Color.toString Color.disabledIconColor) 18
]
, div
[ css
, Html.div
[ Attr.css
[ width <| px 24
, height <| px 24
, cursor pointer
Expand All @@ -1437,8 +1437,8 @@ zoomControl isFullscreen scale =
]
[ Icon.expandAlt 14
]
, div
[ css
, Html.div
[ Attr.css
[ width <| px 24
, height <| px 24
, cursor pointer
Expand All @@ -1449,8 +1449,8 @@ zoomControl isFullscreen scale =
]
[ Icon.map 14
]
, div
[ css
, Html.div
[ Attr.css
[ width <| px 24
, height <| px 24
, cursor pointer
Expand All @@ -1459,8 +1459,8 @@ zoomControl isFullscreen scale =
]
[ Icon.remove 24
]
, div
[ css
, Html.div
[ Attr.css
[ Css.fontSize <| rem 0.7
, color <| hex <| Color.toString Color.labelDefalut
, cursor pointer
Expand All @@ -1470,8 +1470,8 @@ zoomControl isFullscreen scale =
]
[ Html.text (String.fromInt s ++ "%")
]
, div
[ css
, Html.div
[ Attr.css
[ width <| px 24
, height <| px 24
, cursor pointer
Expand All @@ -1480,8 +1480,8 @@ zoomControl isFullscreen scale =
]
[ Icon.add 24
]
, div
[ css
, Html.div
[ Attr.css
[ width <| px 24
, height <| px 24
, cursor pointer
Expand Down
40 changes: 20 additions & 20 deletions web/src/elm/Dialog/Confirm.elm
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import Css
, translateX
, translateY
)
import Html.Styled exposing (Html, button, div, text)
import Html.Styled.Attributes exposing (css, type_)
import Html.Styled as Html exposing (Html)
import Html.Styled.Attributes as Attr
import Html.Styled.Events exposing (onClick)
import Style.Color as Color
import Style.Font as Font
Expand All @@ -43,9 +43,9 @@ type alias Props msg =

view : Props msg -> Html msg
view { title, message, okButton, cancelButton } =
div [ css [ Style.dialogBackdrop ] ]
[ div
[ css
Html.div [ Attr.css [ Style.dialogBackdrop ] ]
[ Html.div
[ Attr.css
[ Color.bgDefault
, Color.textColor
, Style.shadowSm
Expand All @@ -58,35 +58,35 @@ view { title, message, okButton, cancelButton } =
, Style.roundedSm
]
]
[ div
[ css
[ Html.div
[ Attr.css
[ Text.lg
, Font.fontBold
, paddingTop <| rem 0.5
, paddingBottom <| rem 0.5
]
]
[ text title ]
, div
[ css
[ Html.text title ]
, Html.div
[ Attr.css
[ paddingTop <| rem 0.75
, paddingBottom <| rem 0.75
]
]
[ text message ]
, div [ css [ Style.flexCenter, Style.gap4 ] ]
[ button
[ type_ "button"
, css [ Style.submit, marginTop <| px 8, Style.roundedSm ]
[ Html.text message ]
, Html.div [ Attr.css [ Style.flexCenter, Style.gap4 ] ]
[ Html.button
[ Attr.type_ "button"
, Attr.css [ Style.submit, marginTop <| px 8, Style.roundedSm ]
, onClick okButton.onClick
]
[ text okButton.text ]
, button
[ type_ "button"
, css [ Style.submit, Color.bgDisabled, Color.textDark, marginTop <| px 8, Style.roundedSm ]
[ Html.text okButton.text ]
, Html.button
[ Attr.type_ "button"
, Attr.css [ Style.submit, Color.bgDisabled, Color.textDark, marginTop <| px 8, Style.roundedSm ]
, onClick cancelButton.onClick
]
[ text cancelButton.text ]
[ Html.text cancelButton.text ]
]
]
]
Loading

0 comments on commit b79f08d

Please sign in to comment.