Commit Graph

27 Commits

Author SHA1 Message Date
Sasha Sorokin
5051ad91ff Fix ambiguous default export (#113)
Currently Omorphia's index file has both the default and named exports.
While this is totally supported by native ESM, it's pretty hard for
transpilers to process and may lead to situations where named exports
cannot be imported directly, requiring destructuring on the default
import. For this and just consistency reasons, you'd usually avoid
mixing default and named exports.

This commit removes the default export, making it just an another named
export called `plugin`.

BREAKING CHANGE: plugin is now exported using `plugin` export, rather
than the default export.
2023-11-13 13:36:07 -07:00
Sasha Sorokin
591ce0894e Add translations support (#116) 2023-11-11 17:03:58 -05:00
ToBinio
1c18563dfb update VitePress (#117) 2023-11-11 16:48:52 -05:00
Prospector
c296597427 Markdown editor (#92)
* Markdown editor

* use nocookie YT iframes

Co-authored-by: Emma Alexia Triphora <emma@modrinth.com>

* Fix line prefix-related Markdown editor bugs and add auto-lists

* Fix a couple codeblock issues

* address SearchFilter composition

* standardize code and patternize editor

* make editor typesafe

* adjust imports

* simplify key press handler

* Codemirror markdown implementation (#106)

* demo

* custom newline logic

* basic editor styling and buttons

* propogate styles

* validate and command structure for modals

* mobile safari event fix

* remove url field causing remount

* browser & mobile fix for link insertion

* override event passthrough to fix mobile

* fix modal state & disallow invalid url submission

* override paste behavior

* remove block flag in favor of newline insert

* cleanup before pr

* emit value from editor

* remove "a"

---------

Co-authored-by: Emma Alexia Triphora <emma@modrinth.com>
Co-authored-by: Carter <safe@fea.st>
2023-10-20 16:55:38 -07:00
ToBinio
b2c75130ce remove dropdown-button link (#104) 2023-10-16 20:49:53 -04:00
Prospector
a708cf7f69 Small button refactor, overflow and popout menus 2023-10-12 08:33:50 -07:00
Adrian O.V
ae7f7e9bd6 Search dropdown (#91)
* Bar charts

* Update package.json

* Search Dropdown

* Add circle icon option
2023-09-13 16:21:13 -04:00
Adrian O.V
e1f4d791ae Charts (#88)
* Charts

* Version bump

* Update pnpm-lock.yaml
2023-08-21 15:29:24 -04:00
Adrian O.V
42f97f63d5 Share modal (#74)
* Creation of the share modal

* Update package.json

* Addressed comments

* Fixed dependency

* Update ShareModal.vue

* Fixed url

* Update ShareModal.vue

* Adressed changes
2023-06-28 08:44:47 -07:00
Adrian O.V
d98a6adfb3 Create button (#62) 2023-06-05 23:34:52 -04:00
Geometrically
097a1cc799 Notifications (#52)
* Notifications

* fix docs
2023-05-22 14:33:45 -07:00
Geometrically
9d92b8cc6d fix btn transparent, add shadows (#45) 2023-04-22 12:18:09 -07:00
Zach Baird
e23ace1bb0 Adds number input style and doc. Bumps package version. (#37) 2023-04-13 12:05:45 -07:00
Adrian O.V
6bdea219bf Create component (#34) 2023-04-02 01:53:29 -04:00
Geometrically
40026fbf53 Markdown table styling (#32) 2023-03-31 13:54:04 -04:00
Jai A
8167f6f232 Add navrow + markdown parsing 2023-03-28 10:34:48 -07:00
Geometrically
be5df46803 Ads component (#27)
* Ads component

* run lint
2023-03-26 17:32:25 -07:00
Adrian O.V
f97c94832a Toggles (#24)
* Toggles!

* Toggle component

* Ran prettier
2023-03-24 12:15:55 -07:00
Adrian O.V
4ae7786362 Modal report (#17)
* Base modal implementation

* Modal Report page

* Upgrade multiselect

* Fixed multiselect styling

* fix build err

* rev change

* Added dropdown component, addressed changes

Removed unused classes after vue multiselect was removed
Updated markdown-it and xss

* Update index.js

* fix lint

* Fix prettier code style

* Address most changes

* New dropdown

* Undo comment

Makes the component close when not focused

* Fix accessibility issues

* Fix double focus

* addressed changes to modal

* Run Prettier

* Update ModalReport.vue

* Fixed spacing issues

---------

Co-authored-by: Jai A <jaiagr+gpg@pm.me>
2023-03-24 12:15:34 -07:00
Jai A
dcc2a5afe0 Final few components 2023-03-14 14:22:50 -07:00
Geometrically
6aaf4ed9d9 run lint + fix build output (#19)
* run lint + fix build output

* remove unused env var
2023-03-13 13:28:30 -07:00
Adrian O.V
2264281e4d Project card (#15)
* initial impl

* merge from main

* No more crashy

* Almost there

* fix import

* fix more imports

* Code cleanup, Fixed components, Added Tooltip

* Added Env ind and Category pages

---------

Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
2023-03-07 14:59:21 -07:00
Adrian O.V
ce38d4ff6b Slider & Text Input (#12)
* WIP Slider

* Text Input component

* Finalized

* Finishing touches

* remove styles

* Fix sizes and colors

* Fix text input being too restrictive

* Fix enter being ignored

* Fixed duplicate export
2023-03-06 15:26:10 -07:00
Geometrically
74773ade62 Update logo documentation (#14)
* Update logo documentation

* remove redunant class

* fix style on safari

* Fix favicon
2023-03-02 16:29:00 -07:00
Adrian O.V
09e880a90d Brand components (#11)
* Text + Animated logo

* Update text-logo.md

---------

Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
2023-03-02 13:02:50 -07:00
Geometrically
d5785e87e8 Avatar, Badge, Checkbox, Chips, Pagination components (#10) 2023-03-01 17:31:48 -07:00
Jai A
4434796aab Make current code library + add docs 2023-02-18 11:43:12 -07:00