Commit Graph

81 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
Mysterious_Dev
a60b77121a Add translation keys for Badge Component & improve documentation (#137)
* Begin Work

* Ordering

* Add all keys to JSON file

* Add accepted, approved, archived & closed keys to vue component

* Add draft, failed, listed keys to vue component

* Format (fix lint) & improve documentation

* Finish the work
2023-11-13 13:04:14 -07:00
Erlend
810f0104be Fix small typo on Avatar doc (#138) 2023-11-13 13:03:42 -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
Mysterious_Dev
fd82ec7659 Fix page for modal documentation (#132) 2023-11-11 16:09:19 -05:00
Carter
39a4297168 Requested Changes for Editor Knossos Implementation (#129)
* placeholder

* max length & placeholder

* Accept editor comment conflict

* integrate requested features

* null check for ref

* Change prompt for image upload

* change filter for proper input blocking

* Add spoiler button

* change url of helper link

* shallow resource link style

* resource link inherit site style

* detach preview styling from markdown-body style

* remove sizing dependance on global styles

* Bump 0.6.5
2023-10-30 16:59:43 -07:00
Carter
544111846c Tweaks for Knossos Integration (#122)
* placeholder

* max length & placeholder

* remove default placeholder

* remove scoped css

* allow for throwing in the upload process

* explicit import of info

* fix aggressive card input selection
2023-10-27 17:20:13 -07:00
Carter
79bdea0441 MOD-349 Contextual Uploads for MD Editor (#119)
* Migrate DropArea to composition

* remove hardcoded button styling

* let markdown editor call for image upload

* allow for local testing in the docs

* validate url on set

* add chips to modal with correct defaults

* update docs to show example url doesn't load

* Bump version 0.6.4
2023-10-26 14:34:15 -07:00
Adrian O.V
c056c4e79e Improved graphs (#120)
* Complete chart overhaul

* Update package.json

* Update pnpm-lock.yaml

* run lint

* whoops

* Update pnpm-lock.yaml

* Update analytics.md

* Try again?

* Update Chart.vue

* Added Compact/Spark charts

* Added number formatting and cleanup

* Touch ups

* improve default colors

* removed unnecessary tooltip
2023-10-26 11:39:26 -07: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
Emma Alexia
8369330053 Move many things over from Knossos (and other rearrangements) (#102) 2023-10-16 21:18:23 -04:00
ToBinio
b2c75130ce remove dropdown-button link (#104) 2023-10-16 20:49:53 -04:00
Prospector
6fb04e23ad Remove dropdown button 2023-10-16 07:44:11 -07:00
Prospector
e555c4d083 Joined buttons 2023-10-14 14:44:27 -07:00
Prospector
f9a9ece320 More button options and dividers in overflow menus 2023-10-12 08:33:50 -07:00
Prospector
ffc46d6a48 Fix button docs 2023-10-12 08:33:50 -07:00
Prospector
ce458642af indent on popout menu docs 2023-10-12 08:33:50 -07:00
Prospector
820d3ef426 Add example docs for overflow menu 2023-10-12 08:33:50 -07:00
Prospector
145386b6a7 Change page title of overflow menu 2023-10-12 08:33:50 -07:00
Prospector
a708cf7f69 Small button refactor, overflow and popout menus 2023-10-12 08:33:50 -07:00
tobinio
3955b973ef add snappingPoints to slider 2023-10-08 10:49:51 +02: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
a7191e8efb Bar charts (#89)
* Bar charts

* Update package.json
2023-08-21 15:55:50 -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
a149f06f58 Dropdown Input + move to chevron (#78) 2023-06-30 08:09:57 -07: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
Prospector
6de1fa0878 Large and outlined buttons (#69) 2023-06-20 09:05:26 -07:00
Adrian O.V
4f74b3fafe Dropdowns buttons colorized (#66)
* Buttons  colorized 

* Update package.json
2023-06-12 15:02:16 -07:00
Adrian O.V
cea5a18a7a Slider and text input changes (#65) 2023-06-10 09:18:15 -07:00
Geometrically
01304e807a Fix dropdown quirks (#63) 2023-06-06 16:07:58 -07:00
Adrian O.V
d98a6adfb3 Create button (#62) 2023-06-05 23:34:52 -04:00
Geometrically
1db59fc052 Knossos Catch-up (#58)
* Knossos Catch-up

* bump version

* fix build

* fix build again

* Fix lint

* downgrade pnpm

* fix modals

* fix btn style

* add missing styles
2023-05-28 16:36:49 -04:00
Geometrically
097a1cc799 Notifications (#52)
* Notifications

* fix docs
2023-05-22 14:33:45 -07:00
Geometrically
625511d28b Disabling sliders (#51)
* Add disabled slider to omorphia

* lint
2023-05-18 19:57:35 -07:00
Adrian O.V
5fde3c53b8 Switch to composition API, Add custom names (#47)
* Switch to composition API, Add custom names

* Update package.json

* Update DropdownSelect.vue
2023-05-03 17:50:39 -04:00
Geometrically
9d92b8cc6d fix btn transparent, add shadows (#45) 2023-04-22 12:18:09 -07:00
Adrian O.V
6794da0738 Dropdown improvements (#40)
* Disableability, Up or down rendering

* Switch to scale animation

* Update DropdownSelect.vue

* Fix animation

* bump

* adjustments

---------

Co-authored-by: Jai A <jaiagr+gpg@pm.me>
Co-authored-by: Geometrically <18202329+Geometrically@users.noreply.github.com>
2023-04-21 17:03:45 -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
0736f372dc Update slider to composition API (#35)
* Update slider to composition API

* Version bump
2023-04-06 20:05:14 -04: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
Adrian O.V
78840157ef Dropdown fix (#31)
* Fix v-model not working

* Fix clicking off not closing dropdown

* Update DropdownSelect.vue
2023-03-29 14:06:50 -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
Geometrically
1b81a1f4a6 Omorphia Cleanup + Adding missing styles (#18)
* Add missing knossos styles + some knossos cleanup

* remove yarn.lock

* Update output syntax
2023-03-13 11:40:41 -07:00