Skip to content

Import semantic-ui #58

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 828 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
828 commits
Select commit Hold shift + click to select a range
678098b
Merge pull request #218 from scala-steward/update/sbt-scalajs-1.4.0
cquiroz Jan 13, 2021
bd7033c
Merge pull request #219 from scala-steward/update/common-0.11.3
cquiroz Jan 13, 2021
aea8413
next version
cquiroz Jan 13, 2021
e8b2ddc
SegmentGroup and SegmentInline.
rpiaggio Jan 14, 2021
b9498c8
Merge pull request #220 from rpiaggio/segments
cquiroz Jan 14, 2021
c84a915
Update utest to 0.7.6
scala-steward Jan 21, 2021
298907e
Merge pull request #221 from scala-steward/update/utest-0.7.6
mergify[bot] Jan 21, 2021
4e5608c
Update munit to 0.7.21
scala-steward Jan 22, 2021
fa4b1a4
Merge pull request #222 from scala-steward/update/munit-0.7.21
mergify[bot] Jan 22, 2021
6b017d1
Update utest to 0.7.7
scala-steward Jan 23, 2021
038f087
Merge pull request #223 from scala-steward/update/utest-0.7.7
mergify[bot] Jan 23, 2021
ca0b53d
Upgrade semantic ui react
cquiroz Jan 29, 2021
aa14ec0
Merge pull request #224 from cquiroz/sui-update
cquiroz Jan 29, 2021
c8bd2aa
Update sbt to 1.4.7
scala-steward Jan 31, 2021
9b66042
Merge pull request #225 from scala-steward/update/sbt-1.4.7
mergify[bot] Jan 31, 2021
f26312b
Update cats-core to 2.4.0
scala-steward Feb 9, 2021
98e06c5
Merge pull request #226 from scala-steward/update/cats-core-2.4.0
cquiroz Feb 9, 2021
d2455aa
Update cats-core to 2.4.1
scala-steward Feb 10, 2021
bbe12e6
Merge pull request #227 from scala-steward/update/cats-core-2.4.1
mergify[bot] Feb 10, 2021
7d9765c
Update scalajs-compiler, scalajs-library, ... to 1.5.0
scala-steward Feb 12, 2021
529d62a
Update sbt-scalajs to 1.5.0
scala-steward Feb 12, 2021
edb1ac6
Merge pull request #229 from scala-steward/update/sbt-scalajs-1.5.0
cquiroz Feb 12, 2021
8b36a26
Update munit to 0.7.22
scala-steward Feb 16, 2021
ba0ebf6
Merge pull request #230 from scala-steward/update/munit-0.7.22
mergify[bot] Feb 16, 2021
5ff0cb1
Update cats-core to 2.4.2
scala-steward Feb 17, 2021
4837f7f
Merge pull request #231 from scala-steward/update/cats-core-2.4.2
mergify[bot] Feb 17, 2021
c363baf
Update scala-library to 2.13.5
scala-steward Feb 26, 2021
6e4f818
Merge pull request #232 from scala-steward/update/scala-library-2.13.5
mergify[bot] Feb 27, 2021
054eda8
Update sbt to 1.4.8
scala-steward Mar 8, 2021
5f102b6
Merge pull request #233 from scala-steward/update/sbt-1.4.8
mergify[bot] Mar 8, 2021
66ef39a
Update sbt to 1.4.9
scala-steward Mar 10, 2021
dae1ec9
Merge pull request #234 from scala-steward/update/sbt-1.4.9
mergify[bot] Mar 10, 2021
ba09b1f
Update sbt-ci-release to 1.5.6
scala-steward Mar 11, 2021
d4032d6
Merge pull request #235 from scala-steward/update/sbt-ci-release-1.5.6
mergify[bot] Mar 11, 2021
2a06dc3
Shorthand with key and ref.
rpiaggio Mar 15, 2021
8da1583
Merge pull request #236 from rpiaggio/shorthand-keys
rpiaggio Mar 16, 2021
ec1f8bb
Changelog.
rpiaggio Mar 16, 2021
292dd2c
Update sbt-tpolecat
cquiroz Mar 16, 2021
69cf4ed
Merge pull request #238 from cquiroz/sbt-tpolecat
cquiroz Mar 17, 2021
87284d7
Merge pull request #228 from scala-steward/update/scalajs-compiler-1.5.0
cquiroz Mar 17, 2021
f7d3f13
vite2
cquiroz Mar 15, 2021
444d154
Include self signed certs
cquiroz Mar 17, 2021
3c988b9
Enable build for production
cquiroz Mar 17, 2021
3d7fcb4
Update build action
cquiroz Mar 17, 2021
8b9ebbc
Merge pull request #239 from cquiroz/vite2
cquiroz Mar 17, 2021
5eb6cee
Update sbt-ci-release to 1.5.7
scala-steward Mar 23, 2021
1cec114
Merge pull request #240 from scala-steward/update/sbt-ci-release-1.5.7
mergify[bot] Mar 23, 2021
b05ca24
Update munit to 0.7.23
scala-steward Mar 29, 2021
cd78492
Merge pull request #241 from scala-steward/update/munit-0.7.23
mergify[bot] Mar 29, 2021
dd4f372
Update cats-core to 2.5.0
scala-steward Mar 29, 2021
4708976
Merge pull request #242 from scala-steward/update/cats-core-2.5.0
cquiroz Mar 30, 2021
538ca41
Update sbt-scalajs, scalajs-compiler, ... to 1.5.1
scala-steward Mar 31, 2021
d28afaf
Merge pull request #243 from scala-steward/update/sbt-scalajs-1.5.1
mergify[bot] Mar 31, 2021
a1a023b
Update utest to 0.7.8
scala-steward Apr 1, 2021
d31f008
Merge pull request #244 from scala-steward/update/utest-0.7.8
mergify[bot] Apr 1, 2021
67b886d
Update sbt
cquiroz Apr 6, 2021
e5a6213
Update munit to 0.7.25
scala-steward Apr 19, 2021
0ac5dc0
Merge pull request #246 from scala-steward/update/munit-0.7.25
mergify[bot] Apr 19, 2021
590e42b
Update cats-core to 2.6.0
scala-steward Apr 20, 2021
6c4925a
Merge pull request #247 from scala-steward/update/cats-core-2.6.0
cquiroz Apr 20, 2021
4297114
Update utest to 0.7.9
scala-steward Apr 20, 2021
49952e3
Merge pull request #248 from scala-steward/update/utest-0.7.9
mergify[bot] Apr 20, 2021
834da5f
Update sbt to 1.5.1
scala-steward Apr 26, 2021
8202933
Merge pull request #249 from scala-steward/update/sbt-1.5.1
mergify[bot] Apr 26, 2021
2042cea
Update sbt to 1.5.2
scala-steward May 10, 2021
93cc948
Merge pull request #250 from scala-steward/update/sbt-1.5.2
mergify[bot] May 10, 2021
6eb5e35
Update munit to 0.7.26
scala-steward May 13, 2021
2ef3e2e
Update cats-core to 2.6.1
scala-steward May 13, 2021
5d92cc7
Merge pull request #251 from scala-steward/update/munit-0.7.26
mergify[bot] May 13, 2021
eabc89e
Merge pull request #252 from scala-steward/update/cats-core-2.6.1
mergify[bot] May 13, 2021
ed58392
Update utest to 0.7.10
scala-steward May 13, 2021
12b8593
Merge pull request #253 from scala-steward/update/utest-0.7.10
mergify[bot] May 13, 2021
281a842
Update scala-library to 2.13.6
scala-steward May 17, 2021
3ab4e81
Merge pull request #254 from scala-steward/update/scala-library-2.13.6
mergify[bot] May 17, 2021
ff2f8c3
Update sbt-tpolecat to 0.1.18
scala-steward May 21, 2021
f03e929
Merge pull request #255 from scala-steward/update/sbt-tpolecat-0.1.18
mergify[bot] May 21, 2021
836ab22
Update sbt-tpolecat to 0.1.19
scala-steward May 26, 2021
d49287e
Merge pull request #256 from scala-steward/update/sbt-tpolecat-0.1.19
mergify[bot] May 26, 2021
c97e48a
Update sbt to 1.5.3
scala-steward Jun 1, 2021
9b722e7
Merge pull request #257 from scala-steward/update/sbt-1.5.3
mergify[bot] Jun 1, 2021
8a8ffc7
Bump olafurpg/setup-scala from 10 to 11
dependabot[bot] Jun 1, 2021
a93743b
Merge pull request #258 from cquiroz/dependabot/github_actions/olafur…
rpiaggio Jun 1, 2021
fc6f2d9
Update sbt-tpolecat to 0.1.20
scala-steward Jun 1, 2021
f910d21
Merge pull request #259 from scala-steward/update/sbt-tpolecat-0.1.20
mergify[bot] Jun 1, 2021
9423c95
Update sbt-scalajs, scalajs-library, ... to 1.6.0
scala-steward Jun 8, 2021
928d519
Merge pull request #260 from scala-steward/update/sbt-scalajs-1.6.0
cquiroz Jun 8, 2021
8ae0f09
Update sbt to 1.5.4
scala-steward Jun 14, 2021
39024bc
Merge pull request #261 from scala-steward/update/sbt-1.5.4
mergify[bot] Jun 14, 2021
773a434
Generalize the shorthand type to include any component
cquiroz Jun 18, 2021
6161592
Fixes missig conversion
cquiroz Jun 18, 2021
ea7d143
Merge pull request #262 from cquiroz/generalized-shorthand
cquiroz Jun 18, 2021
dd29299
Make modal close icon a shorthand
cquiroz Jun 22, 2021
e0cb566
Merge pull request #263 from cquiroz/modal-close-icon
cquiroz Jun 22, 2021
b40362c
Update libs
cquiroz Jul 9, 2021
8081bc4
Merge pull request #267 from cquiroz/next-lib
cquiroz Jul 9, 2021
5f3f5dc
Update sbt to 1.5.5
scala-steward Jul 12, 2021
534707f
Merge pull request #269 from scala-steward/update/sbt-1.5.5
mergify[bot] Jul 12, 2021
5fd2b7b
Upgrade scalajs-react
cquiroz Jul 10, 2021
7c3346d
Merge pull request #271 from cquiroz/next-lib
cquiroz Jul 21, 2021
f968cf8
Rename a few test files from *Tests to *Suite
toddburnside Jul 21, 2021
c6814b1
Merge pull request #272 from cquiroz/rename-tests
cquiroz Jul 21, 2021
1ffce7b
Update sbt-scalajs, scalajs-compiler, ... to 1.7.0
scala-steward Aug 3, 2021
8331349
Merge pull request #273 from scala-steward/update/sbt-scalajs-1.7.0
cquiroz Aug 4, 2021
9a144a5
Update scalajs-react:core, ... to 2.0.0-RC3
scala-steward Aug 9, 2021
6e39a9c
Merge pull request #274 from scala-steward/update/scalajs-react-2.0.0…
cquiroz Aug 9, 2021
c1df552
Update munit to 0.7.28
scala-steward Aug 9, 2021
11fbc74
Merge pull request #275 from scala-steward/update/munit-0.7.28
mergify[bot] Aug 9, 2021
638872f
Update scalafmt-core to 3.0.0
scala-steward Aug 19, 2021
82ec130
Reformat with scalafmt 3.0.0
scala-steward Aug 19, 2021
cec4f49
Merge pull request #276 from scala-steward/update/scalafmt-core-3.0.0
cquiroz Aug 19, 2021
fb50e97
Update scalafmt-core to 3.0.1
scala-steward Aug 27, 2021
714b4c9
Merge pull request #277 from scala-steward/update/scalafmt-core-3.0.1
mergify[bot] Aug 27, 2021
77c2fb9
Update munit to 0.7.29
scala-steward Aug 31, 2021
f5f3391
Merge pull request #278 from scala-steward/update/munit-0.7.29
mergify[bot] Aug 31, 2021
bf09b3d
Bump olafurpg/setup-scala from 12 to 13
dependabot[bot] Sep 1, 2021
a6740b2
Merge pull request #279 from cquiroz/dependabot/github_actions/olafur…
cquiroz Sep 1, 2021
99beec4
Update common to 0.13.1
scala-steward Sep 3, 2021
201c8f9
Merge pull request #280 from scala-steward/update/common-0.13.1
mergify[bot] Sep 3, 2021
ae12565
Update scalafmt-core to 3.0.2
scala-steward Sep 3, 2021
1ea796b
Merge pull request #281 from scala-steward/update/scalafmt-core-3.0.2
mergify[bot] Sep 3, 2021
3649181
Update scalafmt-core to 3.0.3
scala-steward Sep 10, 2021
d2d21d5
Merge pull request #282 from scala-steward/update/scalafmt-core-3.0.3
mergify[bot] Sep 10, 2021
e1558f0
Update scalafmt-core to 3.0.4
scala-steward Sep 17, 2021
f592685
Merge pull request #283 from scala-steward/update/scalafmt-core-3.0.4
mergify[bot] Sep 17, 2021
75f804a
Update sbt-ci-release to 1.5.9
scala-steward Sep 22, 2021
9af02a2
Merge pull request #284 from scala-steward/update/sbt-ci-release-1.5.9
mergify[bot] Sep 22, 2021
6aff9ba
Update scalafmt-core to 3.0.5
scala-steward Sep 25, 2021
d94d71f
Reformat with scalafmt 3.0.5
scala-steward Sep 25, 2021
efc975a
Merge pull request #285 from scala-steward/update/scalafmt-core-3.0.5
mergify[bot] Sep 25, 2021
6f32a94
Fix type in DropdownItem: disable => disabled
toddburnside Sep 27, 2021
3e7fa2a
Merge pull request #286 from toddburnside/dropdown-item-disabled
toddburnside Sep 28, 2021
0674eac
Update scalafmt-core to 3.0.6
scala-steward Oct 2, 2021
585506c
Reformat with scalafmt 3.0.6
scala-steward Oct 2, 2021
b443031
Merge pull request #289 from scala-steward/update/scalafmt-core-3.0.6
mergify[bot] Oct 2, 2021
417f15d
Update sbt-scalajs, scalajs-compiler, ... to 1.7.1
scala-steward Oct 6, 2021
7775d77
Merge pull request #290 from scala-steward/update/sbt-scalajs-1.7.1
mergify[bot] Oct 6, 2021
e601088
Update sbt-ci-release to 1.5.10
scala-steward Oct 14, 2021
5fcb09e
Merge pull request #291 from scala-steward/update/sbt-ci-release-1.5.10
mergify[bot] Oct 14, 2021
9a5a763
Update scalafmt-core to 3.0.7
scala-steward Oct 21, 2021
c967592
Reformat with scalafmt 3.0.7
scala-steward Oct 21, 2021
be46c0d
Merge pull request #292 from scala-steward/update/scalafmt-core-3.0.7
mergify[bot] Oct 21, 2021
223c1d6
Update scalafmt-core to 3.0.8
scala-steward Oct 29, 2021
f9560b2
Reformat with scalafmt 3.0.8
scala-steward Oct 29, 2021
6a8f271
Merge pull request #295 from scala-steward/update/scalafmt-core-3.0.8
mergify[bot] Oct 29, 2021
2133f9b
Bump versions.
rpiaggio Oct 31, 2021
b0b8f70
Merge pull request #297 from rpiaggio/dom2
cquiroz Oct 31, 2021
fddfddc
Bump actions/checkout from 2.3.4 to 2.3.5
dependabot[bot] Nov 1, 2021
fa210aa
Merge pull request #298 from cquiroz/dependabot/github_actions/action…
cquiroz Nov 1, 2021
674268e
Update to scala 2.13.7
cquiroz Nov 4, 2021
c6aa081
Bump to scalajs-react 2.0.
rpiaggio Nov 9, 2021
1d4c0ec
Merge pull request #303 from rpiaggio/sjsr2.0
rpiaggio Nov 9, 2021
a7ddca0
Update sbt-scalafmt to 2.4.4
scala-steward Nov 19, 2021
a2b20b0
Merge pull request #305 from scala-steward/update/sbt-scalafmt-2.4.4
cquiroz Nov 19, 2021
d8271bd
Update scalafmt to 3.1.2
toddburnside Nov 22, 2021
ba62f2b
Merge pull request #307 from toddburnside/update-scalafmt
cquiroz Nov 23, 2021
3e3ed55
Update cats-core to 2.7.0
scala-steward Nov 28, 2021
032c845
Merge pull request #308 from scala-steward/update/cats-core-2.7.0
cquiroz Nov 28, 2021
78e95d1
Bump actions/checkout from 2.3.5 to 2.4.0
dependabot[bot] Dec 1, 2021
f393e77
Merge pull request #310 from cquiroz/dependabot/github_actions/action…
cquiroz Dec 1, 2021
c389d4f
Update sbt-scalafmt to 2.4.5
scala-steward Dec 4, 2021
850c0ee
Merge pull request #312 from scala-steward/update/sbt-scalafmt-2.4.5
mergify[bot] Dec 4, 2021
bdabc92
Update sbt to 1.5.6
scala-steward Dec 10, 2021
9c008db
Merge pull request #313 from scala-steward/update/sbt-1.5.6
mergify[bot] Dec 10, 2021
500cf80
Update sbt-scalajs, scalajs-compiler, ... to 1.8.0
scala-steward Dec 10, 2021
a9fa53c
Update sbt to 1.5.7
scala-steward Dec 15, 2021
dbee712
Merge pull request #315 from scala-steward/update/sbt-1.5.7
mergify[bot] Dec 15, 2021
f9358c0
Merge pull request #314 from scala-steward/update/sbt-scalajs-1.8.0
cquiroz Dec 18, 2021
297e0ff
Update sbt to 1.5.8
scala-steward Dec 21, 2021
da4cc12
Merge pull request #316 from scala-steward/update/sbt-1.5.8
mergify[bot] Dec 21, 2021
9954e79
Update scalafmt-core to 3.3.0
scala-steward Dec 25, 2021
3cb3c8f
Reformat with scalafmt 3.3.0
scala-steward Dec 25, 2021
343f207
Update sbt-scalafmt to 2.4.6
scala-steward Dec 25, 2021
7fbbe03
Merge pull request #319 from scala-steward/update/sbt-scalafmt-2.4.6
mergify[bot] Dec 25, 2021
a05d597
Update sbt to 1.6.0
scala-steward Dec 26, 2021
38e0369
Merge pull request #320 from scala-steward/update/sbt-1.6.0
cquiroz Dec 27, 2021
97260f3
Merge pull request #318 from scala-steward/update/scalafmt-core-3.3.0
cquiroz Dec 27, 2021
5bae030
Update sbt to 1.6.1
scala-steward Dec 29, 2021
066be60
Merge pull request #321 from scala-steward/update/sbt-1.6.1
mergify[bot] Dec 29, 2021
fd4f308
Update scalafmt-core to 3.3.1
scala-steward Jan 1, 2022
20d63e9
Merge pull request #322 from scala-steward/update/scalafmt-core-3.3.1
mergify[bot] Jan 1, 2022
cc911a5
Update scala-library to 2.13.8
scala-steward Jan 13, 2022
44696a2
Merge pull request #323 from scala-steward/update/scala-library-2.13.8
mergify[bot] Jan 13, 2022
d8c0f0a
Update scalafmt-core to 3.3.2
scala-steward Jan 20, 2022
611445c
Merge pull request #324 from scala-steward/update/scalafmt-core-3.3.2
mergify[bot] Jan 20, 2022
5c21e65
Update scalajs-react:core, ... to 2.0.1
scala-steward Jan 21, 2022
3494663
Merge pull request #325 from scala-steward/update/scalajs-react-2.0.1
mergify[bot] Jan 21, 2022
efaa6e8
Update common to 0.14.8
scala-steward Jan 21, 2022
192798c
Merge pull request #326 from scala-steward/update/common-0.14.8
cquiroz Jan 21, 2022
0ce0dd9
Try to fix release
cquiroz Jan 21, 2022
944435d
Update scalafmt-core to 3.3.3
scala-steward Jan 23, 2022
cebfd05
Merge pull request #327 from scala-steward/update/scalafmt-core-3.3.3
mergify[bot] Jan 23, 2022
e581233
Update scalafmt-core to 3.4.0
scala-steward Jan 29, 2022
996eb5d
Merge pull request #328 from scala-steward/update/scalafmt-core-3.4.0
cquiroz Jan 29, 2022
397a782
Update sbt to 1.6.2
scala-steward Feb 1, 2022
9ab61e0
Merge pull request #329 from scala-steward/update/sbt-1.6.2
mergify[bot] Feb 1, 2022
781b8bd
Update scalafmt-core to 3.4.1
scala-steward Feb 5, 2022
0c34d59
Merge pull request #330 from scala-steward/update/scalafmt-core-3.4.1
mergify[bot] Feb 5, 2022
0e84334
Update scalafmt-core to 3.4.2
scala-steward Feb 6, 2022
d6e3df0
Merge pull request #331 from scala-steward/update/scalafmt-core-3.4.2
mergify[bot] Feb 6, 2022
4b8a821
Update scalafmt-core to 3.4.3
scala-steward Feb 12, 2022
de5c8ff
Merge pull request #332 from scala-steward/update/scalafmt-core-3.4.3
mergify[bot] Feb 12, 2022
a344e4e
Update sbt-scalajs, scalajs-compiler, ... to 1.9.0
scala-steward Feb 14, 2022
e093ab3
Merge pull request #333 from scala-steward/update/sbt-scalajs-1.9.0
cquiroz Feb 15, 2022
624ab4c
Update sbt-tpolecat to 0.1.22
scala-steward Feb 19, 2022
1b1ed47
JsNumber -> Double
armanbilge Mar 24, 2022
2042c55
Merge pull request #335 from armanbilge/topic/remove-jsnumber
cquiroz Mar 24, 2022
1ae70d6
Merge pull request #334 from scala-steward/update/sbt-tpolecat-0.1.22
cquiroz Mar 25, 2022
528c0bd
Setup nix
cquiroz Mar 25, 2022
2c88f99
Merge pull request #336 from cquiroz/nix
cquiroz Mar 25, 2022
907e5ef
Update react-common
cquiroz Mar 25, 2022
ac13ca8
Merge pull request #337 from cquiroz/update-common
cquiroz Mar 25, 2022
9e8e146
Update sbt-tpolecat to 0.2.1
scala-steward Mar 30, 2022
1d57176
Merge pull request #339 from scala-steward/update/sbt-tpolecat-0.2.1
cquiroz Mar 30, 2022
2360b4c
Update sbt-tpolecat to 0.2.2
scala-steward Mar 31, 2022
205dc18
Bump actions/checkout from 2.4.0 to 3
dependabot[bot] Apr 1, 2022
fd4088f
Merge pull request #341 from cquiroz/dependabot/github_actions/action…
cquiroz Apr 1, 2022
4fb4a51
Merge pull request #340 from scala-steward/update/sbt-tpolecat-0.2.2
cquiroz Apr 1, 2022
ffb1dcd
Update scalafmt-core to 3.5.0
scala-steward Apr 2, 2022
350887b
Merge pull request #342 from scala-steward/update/scalafmt-core-3.5.0
cquiroz Apr 2, 2022
f7d7594
Update sbt-scalajs, scalajs-compiler, ... to 1.10.0
scala-steward Apr 5, 2022
35d1b6b
Merge pull request #343 from scala-steward/update/sbt-scalajs-1.10.0
cquiroz Apr 5, 2022
f5446e2
Update scalajs-react:core, ... to 2.1.0
scala-steward Apr 12, 2022
b788ebe
Merge pull request #344 from scala-steward/update/scalajs-react-2.1.0
cquiroz Apr 12, 2022
ebfcd64
Update scalajs-react-common
cquiroz Apr 12, 2022
27a2b36
Update sbt-tpolecat to 0.2.3
scala-steward Apr 14, 2022
eb0b56f
Merge pull request #345 from scala-steward/update/sbt-tpolecat-0.2.3
cquiroz Apr 14, 2022
997b121
Update scalafmt-core to 3.5.1
scala-steward Apr 16, 2022
e6bed4f
Merge pull request #346 from scala-steward/update/scalafmt-core-3.5.1
mergify[bot] Apr 16, 2022
5f1709b
Add closeOnEscape to Modal
toddburnside Apr 21, 2022
5cd44ad
Merge pull request #347 from cquiroz/modal-close-on-escape
cquiroz Apr 21, 2022
a9cb720
Update sbt-tpolecat to 0.3.0
scala-steward Apr 22, 2022
ea8da14
Merge pull request #348 from scala-steward/update/sbt-tpolecat-0.3.0
cquiroz Apr 23, 2022
f0a3f42
Update sbt-tpolecat to 0.3.1
scala-steward Apr 25, 2022
cf66d3c
Merge pull request #349 from scala-steward/update/sbt-tpolecat-0.3.1
cquiroz Apr 25, 2022
7e26eea
Update scalajs-react:core, ... to 2.1.1
scala-steward Apr 26, 2022
6a53a1e
Merge pull request #350 from scala-steward/update/scalajs-react-2.1.1
mergify[bot] Apr 26, 2022
520c1d0
Update scalafmt-core to 3.5.2
scala-steward Apr 30, 2022
3e8eb0d
Merge pull request #351 from scala-steward/update/scalafmt-core-3.5.2
mergify[bot] Apr 30, 2022
1203cf8
Update scalafmt-core to 3.5.3
scala-steward May 14, 2022
6130fd1
Reformat with scalafmt 3.5.3
scala-steward May 14, 2022
ba4e75c
Merge pull request #352 from scala-steward/update/scalafmt-core-3.5.3
mergify[bot] May 14, 2022
19acd32
Merge remote-tracking branch 'react-sui/master' into pr/sui
armanbilge Jun 17, 2022
b451873
Add sui to the build
armanbilge Jun 18, 2022
9409098
Headers
armanbilge Jun 18, 2022
44cc5d5
Formatting
armanbilge Jun 18, 2022
09bd9f0
Use dotty syntax
armanbilge Jun 18, 2022
afc2d92
Add sui to ci
armanbilge Jun 18, 2022
24b39e8
Try out MyUndefOr
armanbilge Jun 18, 2022
78a60e9
Fix a couple imports
armanbilge Jun 22, 2022
7f79b6e
Fix some compile issues
armanbilge Jun 24, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
os: [ubuntu-latest]
scala: [3.1.2]
java: [temurin@17]
project: [rootCore, rootGridLayout, rootDraggable, rootClipboard, rootSvgdotjs, rootVirtuoso, rootTable, rootHighcharts, rootDatepicker, rootBeautifulDnd, rootTree]
project: [rootCore, rootGridLayout, rootDraggable, rootClipboard, rootSvgdotjs, rootVirtuoso, rootTable, rootHighcharts, rootDatepicker, rootBeautifulDnd, rootTree, rootSemanticUI]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout current branch (full)
Expand Down
25 changes: 25 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ pull_request_rules:
- status-success=Build and Test (ubuntu-latest, 3.1.2, temurin@17, rootDatepicker)
- status-success=Build and Test (ubuntu-latest, 3.1.2, temurin@17, rootBeautifulDnd)
- status-success=Build and Test (ubuntu-latest, 3.1.2, temurin@17, rootTree)
- status-success=Build and Test (ubuntu-latest, 3.1.2, temurin@17, rootSemanticUI)
actions:
merge: {}
- name: Label beautiful-dnd PRs
Expand Down Expand Up @@ -177,6 +178,14 @@ pull_request_rules:
add:
- rootHighcharts
remove: []
- name: Label rootSemanticUI PRs
conditions:
- files~=^rootSemanticUI/
actions:
label:
add:
- rootSemanticUI
remove: []
- name: Label rootSvgdotjs PRs
conditions:
- files~=^rootSvgdotjs/
Expand Down Expand Up @@ -209,6 +218,22 @@ pull_request_rules:
add:
- rootVirtuoso
remove: []
- name: Label semantic-ui PRs
conditions:
- files~=^semantic-ui/
actions:
label:
add:
- semantic-ui
remove: []
- name: Label semantic-ui-demo PRs
conditions:
- files~=^semantic-ui-demo/
actions:
label:
add:
- semantic-ui-demo
remove: []
- name: Label svgdotjs PRs
conditions:
- files~=^svgdotjs/
Expand Down
48 changes: 36 additions & 12 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,9 @@ lazy val root = project
beautifulDnd,
beautifulDndDemo,
tree,
treeDemo
treeDemo,
semanticUI,
semanticUIDemo
)

lazy val rootCore = project.aggregate(common, cats, test).enablePlugins(NoPublishPlugin)
Expand All @@ -150,18 +152,22 @@ lazy val rootBeautifulDnd =
project.aggregate(beautifulDnd, beautifulDndDemo).enablePlugins(NoPublishPlugin)
lazy val rootTree =
project.aggregate(tree, treeDemo).enablePlugins(NoPublishPlugin)
lazy val rootSemanticUI =
project.aggregate(semanticUI, semanticUIDemo).enablePlugins(NoPublishPlugin)

val projects = List(rootCore,
rootGridLayout,
rootDraggable,
rootClipboard,
rootSvgdotjs,
rootVirtuoso,
rootTable,
rootHighcharts,
rootDatepicker,
rootBeautifulDnd,
rootTree
val projects = List(
rootCore,
rootGridLayout,
rootDraggable,
rootClipboard,
rootSvgdotjs,
rootVirtuoso,
rootTable,
rootHighcharts,
rootDatepicker,
rootBeautifulDnd,
rootTree,
rootSemanticUI
).map(_.id)
ThisBuild / githubWorkflowBuildMatrixAdditions += "project" -> projects
ThisBuild / githubWorkflowBuildSbtStepPreamble += s"project $${{ matrix.project }}"
Expand Down Expand Up @@ -394,3 +400,21 @@ lazy val treeDemo = project
Compile / scalacOptions += "-language:implicitConversions",
demoSettings
)

lazy val semanticUI = project
.in(file("semantic-ui"))
.enablePlugins(ScalaJSPlugin, ScalaJSBundlerPlugin)
.dependsOn(common)
.settings(
name := "lucuma-react-semantic-ui",
facadeSettings,
yarnSettings
)

lazy val semanticUIDemo = project
.in(file("semantic-ui-demo"))
.enablePlugins(ScalaJSPlugin, NoPublishPlugin)
.dependsOn(semanticUI)
.settings(
demoSettings
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
// Copyright (c) 2016-2022 Association of Universities for Research in Astronomy, Inc. (AURA)
// For license information see LICENSE or https://opensource.org/licenses/BSD-3-Clause

package react.semanticui.demo

import japgolly.scalajs.react._
import japgolly.scalajs.react.vdom.html_<^._

object HomeComponent {
private val component =
ScalaComponent
.builder[Unit]("Home")
.render { _ =>
<.div(
^.cls := "ui container",
<.div(
^.cls := "ui basic center aligned segment",
<.img(
^.src := Logo.asInstanceOf[String],
^.cls := "ui small centered image"
),
<.h1(
^.cls := "ui center aligned header",
"ScalaJS Semantic UI React"
)
),
<.div(
^.cls := "ui basic padded segment",
<.h2(^.cls := "ui dividing header", "Introduction"),
<.p(
"ScalaJS Semantic UI React is a facade for ",
<.a(
^.href := "https://react.semantic-ui.com",
"Semantic React UI"
)
)
)
)
}
.build

def apply() = component()
}
66 changes: 66 additions & 0 deletions semantic-ui-demo/src/main/scala/react/semanticui/demo/Layout.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
// Copyright (c) 2016-2022 Association of Universities for Research in Astronomy, Inc. (AURA)
// For license information see LICENSE or https://opensource.org/licenses/BSD-3-Clause

package react.semanticui.demo

import japgolly.scalajs.react._
import japgolly.scalajs.react.vdom.html_<^._
import japgolly.scalajs.react.extra.router._
import scala.scalajs.js
import js.annotation._

@JSImport("/images/logo.png", JSImport.Default)
@js.native
object Logo extends js.Object

object Layout {
final case class Props(c: RouterCtl[Page], r: Resolution[Page])

private val component =
ScalaComponent
.builder[Props]("Demo")
.render_P { p =>
<.div(
^.cls := "app",
<.div(
^.cls := "appmenu",
^.cls := "ui inverted vertical left fixed menu",
<.div(
^.cls := "item",
<.img(
^.cls := "ui mini right spaced image",
^.src := Logo.asInstanceOf[String]
),
<.strong(
"ScalaJS SUI React ",
<.small(
<.em("0.0.1")
)
)
),
<.div(
^.cls := "item",
<.div(
^.cls := "header",
"Elements"
),
<.div(
^.cls := "menu",
p.c.link(ElementPage(IconsElement))("Icons", ^.cls := "item")
),
<.div(
^.cls := "menu",
p.c.link(ElementPage(LabelsElement))("Labels", ^.cls := "item")
)
)
),
<.div(
^.cls := "body",
p.r.render()
)
)
}
.build

def apply(p: Props) = component(p)
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
// Copyright (c) 2016-2022 Association of Universities for Research in Astronomy, Inc. (AURA)
// For license information see LICENSE or https://opensource.org/licenses/BSD-3-Clause

package react.semanticui.demo

import org.scalajs.dom
import scala.scalajs.js
import js.annotation._
import japgolly.scalajs.react._
import extra.router._

@JSExportTopLevel("SUIMain")
object SUiMain {
@JSExport
def main(): Unit = {
val container = Option(dom.document.getElementById("root")).getOrElse {
val elem = dom.document.createElement("div")
elem.id = "root"
dom.document.body.appendChild(elem)
elem
}

Router(BaseUrl.fromWindowOrigin / "scalajs-react-semantic-ui/", Routing.config)().renderIntoDOM(
container
)

()
}
}

sealed trait ElementItem
case object IconsElement extends ElementItem
case object LabelsElement extends ElementItem

sealed trait Page
case object HomePage extends Page
final case class ElementPage(e: ElementItem) extends Page

object Routing {
val config: RouterConfig[Page] = RouterConfigDsl[Page].buildConfig { dsl =>
import dsl._

(
trimSlashes
| staticRoute(root, HomePage) ~>
render(HomeComponent.apply())
| staticRoute("elements/icons", ElementPage(IconsElement)) ~>
render(IconsComponent.apply())
| staticRoute("elements/labels", ElementPage(LabelsElement)) ~>
render(LabelsComponent.apply())
).notFound(redirectToPage(HomePage)(SetRouteVia.HistoryReplace))
.renderWith(layout)
.logToConsole
}

private def layout(c: RouterCtl[Page], r: Resolution[Page]) = Layout(Layout.Props(c, r))
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
// Copyright (c) 2016-2022 Association of Universities for Research in Astronomy, Inc. (AURA)
// For license information see LICENSE or https://opensource.org/licenses/BSD-3-Clause

package react.semanticui.demo

import scala.scalajs.js
import scala.scalajs.js.annotation.JSImport

object WebpackResources {
// marker trait
trait WebpackResource extends js.Object

implicit class WebpackResourceOps(val r: WebpackResource) extends AnyVal {
def resource: String = r.toString
}

@JSImport("/images/avatar/small/ade.jpg", JSImport.Default)
@js.native
object AdaAvatar extends WebpackResource
}
Loading