Skip to content
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

Enhancement/forms #658

Merged
merged 246 commits into from
Jan 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
246 commits
Select commit Hold shift + click to select a range
2fe1636
Reach initial api
henriquecbuss Nov 4, 2021
79997ff
View text field
henriquecbuss Nov 4, 2021
037a9ff
Use own Msg and update on Form module
henriquecbuss Nov 4, 2021
e83f0ca
Add validation to counter, remove masks for now
henriquecbuss Nov 5, 2021
cb8e5d6
Add mask functionality
henriquecbuss Nov 6, 2021
0bbd9ea
Add FormPlayground to test things out
henriquecbuss Nov 6, 2021
1013dc3
Add optional fields, reorganize Form module and add some more docs
henriquecbuss Nov 6, 2021
cc7af51
Move disabled attribute to with* function
henriquecbuss Nov 6, 2021
edb8851
Add better example, fix according to elm-review
henriquecbuss Nov 6, 2021
9b363b8
Add checkbox field
henriquecbuss Nov 7, 2021
ad6cd95
Remove unused classes
henriquecbuss Nov 7, 2021
c27bbcd
Add basic support for radio buttons
henriquecbuss Nov 7, 2021
128e844
Add onBlur and show errors
henriquecbuss Nov 7, 2021
08e6acf
Use custom types for radio inputs, fix according to elm-review
henriquecbuss Nov 8, 2021
2c12db5
Add Form.File
henriquecbuss Nov 11, 2021
d09e925
Fix according to elm-review
henriquecbuss Nov 11, 2021
3cea12e
Add base for Form.Select
henriquecbuss Nov 11, 2021
b352e3f
Finish Form.Select
henriquecbuss Nov 11, 2021
a7bc6a3
Fix inset classes to use tailwind's scale
henriquecbuss Nov 13, 2021
2177344
Add Form.Toggle
henriquecbuss Nov 15, 2021
1925217
Fix according to elm-review
henriquecbuss Nov 15, 2021
8d8e13f
Add initial template for elm-book
henriquecbuss Nov 15, 2021
25e772a
Add CSS stuff for elm-book
henriquecbuss Nov 15, 2021
de71ffe
Add forms introduction chapter
henriquecbuss Nov 15, 2021
49c9d67
Add Toggle chapter
henriquecbuss Nov 15, 2021
b45d294
Copy viewError into Book.Helpers so elm-review wont tag it as unused …
henriquecbuss Nov 15, 2021
3cd1c74
Add Overview chapter talking about the book and how to use it
henriquecbuss Nov 16, 2021
1e47ec9
Merge branch 'master' into enhancement/forms
henriquecbuss Nov 17, 2021
a3e3c56
Remove unnecessary markdown editor subscription
henriquecbuss Nov 17, 2021
f582b94
Add base for Form.RichText
henriquecbuss Nov 17, 2021
7a61f73
Separate custom elements into their own files so we can use them on e…
henriquecbuss Nov 17, 2021
3ac4175
Refactor RichText editor
henriquecbuss Nov 19, 2021
7d1d538
Refactor how we register custom elements
henriquecbuss Nov 19, 2021
1aacecb
Add tailwind purging to custom elements in elm-book
henriquecbuss Nov 19, 2021
b4a8199
Use patched version of elm-book for now. Fork can be found in NeoVier…
henriquecbuss Nov 19, 2021
2542852
Add ability to view Markdown
henriquecbuss Nov 19, 2021
c4c0ce1
Fix according to elm-review
henriquecbuss Nov 19, 2021
ecc4c51
Add CSS linting to elm-book, fix CambiatusBook.elm formatting
henriquecbuss Nov 19, 2021
65bc9b3
Remove build command from netlify.toml, use yarn workspaces
henriquecbuss Nov 19, 2021
2eb3e6f
Add preventDefault to keyListener, only prevent default and stop prop…
henriquecbuss Nov 19, 2021
169253e
Remove unused onChange attribute
henriquecbuss Nov 19, 2021
d8b3b6d
Add Form.DatePicker
henriquecbuss Nov 19, 2021
33f77a1
Add initial chapter for Form.DatePicker
henriquecbuss Nov 19, 2021
27793c0
Add docs
henriquecbuss Nov 19, 2021
91dd1fb
Fix according to elm-review
henriquecbuss Nov 19, 2021
176e408
Add elm-book-fork as a git submodule for now. Should be removed once/…
henriquecbuss Nov 19, 2021
d4e05eb
Use HTTPS instead of SSH for submodule
henriquecbuss Nov 19, 2021
299114e
Add translation for aria attributes
henriquecbuss Nov 19, 2021
56a935d
Remove unnecessary comments
henriquecbuss Nov 19, 2021
8d6105c
Add disabled attribute and disabled and error styles to DatePicker
henriquecbuss Nov 19, 2021
5447688
Translate default placeholder on DatePicker
henriquecbuss Nov 19, 2021
cff6e74
Hide mobile keyboard when inputting date
henriquecbuss Nov 22, 2021
439e07c
Delay quill cretion so we don't miss the placeholder
henriquecbuss Nov 22, 2021
f5518d4
Stop checking JS from elm-book-fork with StandardJS
henriquecbuss Nov 22, 2021
55a5df1
Fix bugs where markdown content wouldn't load, and setting as richTex…
henriquecbuss Nov 22, 2021
237764e
Fix formatting according to elm-format
henriquecbuss Nov 22, 2021
2f5c92b
Adjust datepicker current day and picked day styles
henriquecbuss Nov 22, 2021
7639259
Remove clear from Select
henriquecbuss Nov 23, 2021
2463ac6
Dont clear query when onBlur, only hide menu
henriquecbuss Nov 23, 2021
778c46c
Adjust internals of Select module to be more suitable to our use case
henriquecbuss Nov 23, 2021
5f4ea29
Use extensible record instead of entire Shared model
henriquecbuss Nov 23, 2021
f019a57
Add hook to blur event
henriquecbuss Nov 23, 2021
8c75c1b
Remove unused classes
henriquecbuss Nov 24, 2021
2e323ba
Add base for UserPicker
henriquecbuss Nov 24, 2021
4ad7ce8
Add UserPicker chapter
henriquecbuss Nov 24, 2021
0d43296
Remove unused NoOp Msg, add Form.UserPicker to modules allowed to use…
henriquecbuss Nov 24, 2021
991deef
Improve keyboard navigation on Select element
henriquecbuss Nov 25, 2021
ebf962b
Add decorative fields and option to disable entire form at once
henriquecbuss Nov 25, 2021
ba5ac86
Add ability to encode Markdown into JSON
henriquecbuss Nov 25, 2021
8f20ce3
Move profiles into Options, adjust some styling and functionality
henriquecbuss Nov 25, 2021
4162193
Start using new form on Transfer page
henriquecbuss Nov 25, 2021
146f6e9
Adjust docs for RichText
henriquecbuss Nov 25, 2021
6d3c042
Update elm stuff and remove create-elm-app so app is compatible with M1
henriquecbuss Nov 25, 2021
6d10229
Fix styles for when there are no users found with query
henriquecbuss Nov 25, 2021
7cff50d
Change theme color and background color for a better look on safari
henriquecbuss Nov 25, 2021
28b4f48
Fix UserPicker chapter on elm-book
henriquecbuss Nov 26, 2021
19ea2a9
Remove useless attribute, organize better and add better keyboard sup…
henriquecbuss Nov 26, 2021
fe19e38
Emit blur msg when selecting an item
henriquecbuss Nov 26, 2021
7edb5d1
Add ability to change values inside a Form.Model
henriquecbuss Nov 26, 2021
a6e335d
Add ability to change the selected user on a single user picker
henriquecbuss Nov 26, 2021
80a7ba5
Refactor Transfer page to use new form api
henriquecbuss Nov 26, 2021
4b53208
Remove unused function, fix formatting
henriquecbuss Nov 26, 2021
a3704a3
Add better accessibility to Select
henriquecbuss Nov 26, 2021
f871471
Use elm-book v1.3 instead of custom fork
henriquecbuss Nov 29, 2021
26ef9e1
Add more helper functions on the Form module
henriquecbuss Nov 29, 2021
4c0e30c
Add base for new form on ActionEditor
henriquecbuss Nov 29, 2021
970361b
Use Markdown on action description
henriquecbuss Nov 30, 2021
f854671
Use a more flexible way to add footers to forms
henriquecbuss Dec 1, 2021
4b89e5e
Add containerAttrs and label to DatePicker
henriquecbuss Dec 1, 2021
08c9c08
Add ability to hide radio button for custom styles
henriquecbuss Dec 1, 2021
352cd9f
Add ability to change the side the toggle is rendered, and add abilit…
henriquecbuss Dec 1, 2021
465b650
Add containerAttrs to UserPicker, add way to initialize multiple pick…
henriquecbuss Dec 1, 2021
48f54b9
Add docs to floatStringFromSeparatedString
henriquecbuss Dec 1, 2021
37e50f2
Add form validation module
henriquecbuss Dec 1, 2021
80229cb
Complete visual representation of ActionEditor form
henriquecbuss Dec 1, 2021
5203a41
Add parse function
henriquecbuss Dec 2, 2021
7a323d9
Add empty markdown
henriquecbuss Dec 2, 2021
99e4d93
Add labelAttrs to Radio, adjust spacing on horizontal version
henriquecbuss Dec 2, 2021
5ec51ab
Adjust spacing on UserPicker
henriquecbuss Dec 2, 2021
949fa32
Remove old ActionEditor form in favor of the new one
henriquecbuss Dec 2, 2021
63c4c26
Remove unused features from old Radio module
henriquecbuss Dec 2, 2021
1e80bd1
Remove unused features from old Toggle module
henriquecbuss Dec 2, 2021
c778059
Remove unused Form and Form.Validate functions
henriquecbuss Dec 2, 2021
1e8ffa6
Fix tests
henriquecbuss Dec 2, 2021
08ccf23
Fix elm-book build
henriquecbuss Dec 2, 2021
76d447b
Add create-elm-app back to fix production build
henriquecbuss Dec 2, 2021
0d5b87a
Fix lockfile to fix production build
henriquecbuss Dec 2, 2021
c3f9e42
Use Markdown on Objective description
henriquecbuss Dec 2, 2021
709b99f
Use new Form api on ObjectiveEditor
henriquecbuss Dec 2, 2021
c3c24f8
Add Form.viewWithoutSubmit
henriquecbuss Dec 7, 2021
bf775a2
Add labelAttrs to Select, and function to add a list of options all a…
henriquecbuss Dec 7, 2021
f70e1c7
Fix submit button styles on transfer page
henriquecbuss Dec 7, 2021
48349e2
Use function from NeoVier/Mask to unmask floats
henriquecbuss Dec 7, 2021
56cf147
Migrate Sponsorship form to use new form API
henriquecbuss Dec 7, 2021
219080a
Fix according to elm-review
henriquecbuss Dec 7, 2021
a3625cf
Refactor Form.Validate to use custom validations and only pass in tra…
henriquecbuss Dec 7, 2021
002a5d1
Remove parser from Form.file, make it optional to provide a notAskedE…
henriquecbuss Dec 7, 2021
0cf3e18
Use Markdown instead of a plain String to represent a product's descr…
henriquecbuss Dec 7, 2021
2997512
Use new form API on shop editor page
henriquecbuss Dec 7, 2021
72a8d07
Fix according to elm-review. Remove DataValidator.elm
henriquecbuss Dec 7, 2021
efb8f4a
Solve TODOS on Form module
henriquecbuss Dec 7, 2021
1efaaa3
Use new form API on action claim page
henriquecbuss Dec 7, 2021
45d516d
Fix according to elm-review
henriquecbuss Dec 7, 2021
4b4aa0f
Adjust tooltip z-index
henriquecbuss Dec 8, 2021
bfc5f4c
Move File model/update into its own module, add form groups
henriquecbuss Dec 8, 2021
3c096b8
Use Markdown for community's description
henriquecbuss Dec 8, 2021
35451b0
Use new form API on New community page
henriquecbuss Dec 8, 2021
3b9e758
Fix according to elm-review
henriquecbuss Dec 8, 2021
ba3dc87
Add OptionalResult module
henriquecbuss Dec 10, 2021
7430267
Use OptionalResult on Forms, create more modular API for optional and…
henriquecbuss Dec 10, 2021
9002662
Use Markdown on profiles, add some helper functions to Markdown
henriquecbuss Dec 10, 2021
d4422e7
Use new Form API on profile editor page
henriquecbuss Dec 10, 2021
fd14d18
Fix according to elm-review
henriquecbuss Dec 10, 2021
7b71c38
Use Markdown in Community description
henriquecbuss Dec 10, 2021
303b6f7
Add Form.withDecoration and new helper functions on Form.Validate
henriquecbuss Dec 10, 2021
98ab58c
Use new form API on Community Info page
henriquecbuss Dec 10, 2021
14f7ee3
Remove old View.Form.FileUploader
henriquecbuss Dec 10, 2021
4621b26
Rename mapChild -> mapValues, add mapOutput
henriquecbuss Dec 11, 2021
4ada181
Use new form API on Community currency settings page
henriquecbuss Dec 11, 2021
466d811
Use new form API on Sponsorship.Fiat page
henriquecbuss Dec 14, 2021
2ee3f03
Only init Sentry when not in development mode
henriquecbuss Dec 15, 2021
4d319a1
Trim Markdown string to remove trailing newline
henriquecbuss Dec 15, 2021
c05033e
Make cover photo optional, fix subdomain
henriquecbuss Dec 15, 2021
5fb25ff
Add Form.fail
henriquecbuss Dec 16, 2021
5a4780f
Add eos account and email validations. Mark stringToName as deprecated
henriquecbuss Dec 16, 2021
424d56b
Use new form API on registration pages
henriquecbuss Dec 16, 2021
0a06341
Use new text and checkbox modules
henriquecbuss Dec 16, 2021
63851cd
Disable submit button when form is disabled
henriquecbuss Dec 16, 2021
a96984d
Use Markdown as News description
henriquecbuss Dec 16, 2021
8ad94a9
Support time inputs on the new form API
henriquecbuss Dec 16, 2021
71668dd
Use new form API on news editor page
henriquecbuss Dec 16, 2021
d9c96ca
Remove old Radio module, fix according to elm-review
henriquecbuss Dec 16, 2021
82258eb
Adjust toggle styling
henriquecbuss Dec 16, 2021
8d6285c
Use new Toggle API on Sponsorship settings page
henriquecbuss Dec 16, 2021
2721ee9
Add more customization to the new Toggle module
henriquecbuss Dec 16, 2021
a07fba0
Use the new toggle API on the News settings page
henriquecbuss Dec 16, 2021
538ae20
Use new toggle on Features page, remove old Toggle module
henriquecbuss Dec 16, 2021
7e1647e
Add stringLengthExactly validator
henriquecbuss Dec 17, 2021
7379e0a
Use new form API on KYC form
henriquecbuss Dec 17, 2021
914e71d
Use new Select on Claims page
henriquecbuss Dec 17, 2021
a7a541e
Use new form API on Dashboard's transfers filters modal
henriquecbuss Dec 17, 2021
5c3f211
Use new Form API on Analysis page
henriquecbuss Dec 17, 2021
174f0d2
Use new Form elements on Contact page, remove old Select
henriquecbuss Dec 17, 2021
caa0c5a
Use new Form.Text api on Pin
henriquecbuss Dec 17, 2021
f9b4a93
Use new form API on Shop viewer page
henriquecbuss Dec 17, 2021
260b41c
Fix according to elm-review
henriquecbuss Dec 17, 2021
b9ba04e
Add Markdown.fromTranslation
henriquecbuss Jan 10, 2022
ea2974d
Use new form API on thank you message editor, use Markdown as thank y…
henriquecbuss Jan 10, 2022
87425a7
Fix according to elm-review. Purge most of old MarkdownEditor module
henriquecbuss Jan 10, 2022
27f4348
Add Markdown.fromTranslationWithReplacements, remove old MarkdownEdit…
henriquecbuss Jan 10, 2022
79ae1e9
Fix tests by using new Markdown module
henriquecbuss Jan 10, 2022
a273882
Use new Text input on Dashboard invite url
henriquecbuss Jan 10, 2022
0b1eee3
Allow external msgs on Form inputs
henriquecbuss Jan 11, 2022
f25c156
Use new Form API on Login page
henriquecbuss Jan 11, 2022
62b7676
Clean up login module
henriquecbuss Jan 11, 2022
2f4f1d4
Remove unused map functions in form components
henriquecbuss Jan 11, 2022
98df40e
Use Form in Pin instead of raw input
henriquecbuss Jan 11, 2022
69d10e3
Fix places that use the Pin module
henriquecbuss Jan 12, 2022
b621b28
Remove UR.fromChild2
henriquecbuss Jan 12, 2022
60c6c5e
Add Form.UnsafeArbitrary and Form.getValue
henriquecbuss Jan 12, 2022
bcb1c1f
Use new Form API on Search module, remove old Input module
henriquecbuss Jan 12, 2022
99276e0
Move label component into View.Components
henriquecbuss Jan 12, 2022
bb8bb22
Adjust ReviewConfig
henriquecbuss Jan 12, 2022
3865b44
Add some missing translations
henriquecbuss Jan 13, 2022
c8ce40a
Add Validation documentation
henriquecbuss Jan 13, 2022
bc32f5f
Add Text documentation
henriquecbuss Jan 13, 2022
54241d6
Add time input example
henriquecbuss Jan 13, 2022
184286a
Reorder chapters
henriquecbuss Jan 13, 2022
23aa5c9
Add Select documentation
henriquecbuss Jan 13, 2022
4768f93
Add Checkbox documentation
henriquecbuss Jan 13, 2022
3cf853c
Use helper function to show errors
henriquecbuss Jan 13, 2022
65c7932
Add Radio documentation
henriquecbuss Jan 13, 2022
5faba69
Merge branch 'master' into enhancement/forms
henriquecbuss Jan 13, 2022
e5795d0
Add Form.File documentation
henriquecbuss Jan 14, 2022
b7f2d75
Dont change color on hover when disabled
henriquecbuss Jan 17, 2022
17297b1
Update to Tailwind v3
henriquecbuss Jan 17, 2022
7a2b085
Update Tailwind on elm-book
henriquecbuss Jan 17, 2022
bba7c99
Add focus styles to File input
henriquecbuss Jan 17, 2022
f9b1b38
Fix pin input being submitted when submitting passphrase input
henriquecbuss Jan 17, 2022
4526a1f
Remove unused class
henriquecbuss Jan 17, 2022
d7da04f
Rename form-input > input
henriquecbuss Jan 17, 2022
6625f17
Use before: modifier
henriquecbuss Jan 17, 2022
8eead4c
Organize CSS file, remove unused rules
henriquecbuss Jan 17, 2022
dcd45af
Fix z-index issue with datepicker
henriquecbuss Jan 17, 2022
7b02773
Use new Form.Validate API on transfer form
henriquecbuss Jan 17, 2022
4c03e96
Fix spanish translation on community settings page
henriquecbuss Jan 18, 2022
1f18e25
Focus pin input automatically
henriquecbuss Jan 18, 2022
832a9b6
Fix border on currency element
henriquecbuss Jan 18, 2022
b1c1249
Improve form validation strategy, dont require string on blur
henriquecbuss Jan 19, 2022
569b127
Add symbol mask on New community page
henriquecbuss Jan 19, 2022
f69a1e4
Hide field errors when user is typing
henriquecbuss Jan 19, 2022
1911ccb
Add support for different validation strategies
henriquecbuss Jan 19, 2022
2eb93ac
Put id on quill editor instead of on custom element
henriquecbuss Jan 19, 2022
8c395fa
Move Select component into view folder
henriquecbuss Jan 19, 2022
1ec7b8a
Prevent user from entering letters on phone fields
henriquecbuss Jan 19, 2022
e04e1b2
Fix contact validation
henriquecbuss Jan 19, 2022
9600f0b
Remove FormPlayground
henriquecbuss Jan 19, 2022
846ef50
Remove TODO
henriquecbuss Jan 19, 2022
80263e2
Add border around toggle in New Community page
henriquecbuss Jan 19, 2022
3cb95f8
Fix elm-book
henriquecbuss Jan 19, 2022
908c014
Use new Form components on PaymentHistory page
henriquecbuss Jan 20, 2022
049e660
Rollback to tailwindcss v2
henriquecbuss Jan 24, 2022
9d9a07f
Fix spacing on pin modal
henriquecbuss Jan 24, 2022
7c6046a
Fix mark as complete button to avoid line break
henriquecbuss Jan 24, 2022
f7ab21b
Fix text color on objectives page
henriquecbuss Jan 24, 2022
31dc33b
Fix initial due date on action form
henriquecbuss Jan 24, 2022
5fb123f
Add hover effect to edit icon on profile page
henriquecbuss Jan 24, 2022
714fa0f
Add color on KYC tooltip icon
henriquecbuss Jan 24, 2022
2c6395a
Add spacing below delete KYC text
henriquecbuss Jan 25, 2022
6407c9c
Merge branch 'master' into enhancement/forms
henriquecbuss Jan 25, 2022
ed04c32
Move tailwindcss to dependencies
henriquecbuss Jan 25, 2022
c2a778e
Fix status text and translation on claim modal
henriquecbuss Jan 26, 2022
dbcc29c
Fix spacing issues on action card, correctly display rewards assets
henriquecbuss Jan 26, 2022
cd67729
Fix mark as complete button on small screens
henriquecbuss Jan 26, 2022
0eb7665
Fix issues related to id on richTextEditor
henriquecbuss Jan 26, 2022
afaedcc
Use optimistic update on Features page
henriquecbuss Jan 26, 2022
9d34101
Use scheduling date instead of insertedAt date on news card
henriquecbuss Jan 26, 2022
1019321
Fix date and time input UI on news editor for small screens
henriquecbuss Jan 26, 2022
e5bf286
Improve performance and fix bugs on infiniteList
henriquecbuss Jan 26, 2022
7b18062
Fix highlighted news banner spacing
henriquecbuss Jan 26, 2022
998ee26
Disable fiat form
henriquecbuss Jan 26, 2022
ef0e05a
FIx issue for new news by comparing their ids instead of entire object
henriquecbuss Jan 26, 2022
01b8eec
Add spacing below buy button
henriquecbuss Jan 26, 2022
27c9b72
Extend date for contact modal
henriquecbuss Jan 26, 2022
104b929
Fix bug on infiniteList component
henriquecbuss Jan 26, 2022
b6071a9
Add option to hide other news
henriquecbuss Jan 26, 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
3 changes: 3 additions & 0 deletions config/polyfills.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ if (typeof Promise === 'undefined') {
// fetch() polyfill for making API calls.
require('whatwg-fetch')

// Some browsers still don't support the focus-visible css class
require('focus-visible')

// Object.assign() is commonly used with React.
// It will use the native implementation if it's present and isn't buggy.
Object.assign = require('object-assign')
10 changes: 10 additions & 0 deletions elm-book/elm-tooling.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"entrypoints": [
"./src/elm/CambiatusBook.elm"
],
"tools": {
"elm": "0.19.1",
"elm-format": "0.8.5",
"elm-json": "0.2.10"
}
}
52 changes: 52 additions & 0 deletions elm-book/elm.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"type": "application",
"source-directories": [
"src/elm",
"../src/elm"
],
"elm-version": "0.19.1",
"dependencies": {
"direct": {
"CurrySoftware/elm-datepicker": "4.0.0",
"NeoVier/elm-mask": "2.0.4",
"NoRedInk/elm-json-decode-pipeline": "1.0.0",
"NoRedInk/elm-simple-fuzzy": "1.0.3",
"billstclair/elm-sha256": "1.0.9",
"dillonkearns/elm-graphql": "5.0.7",
"dillonkearns/elm-markdown": "7.0.0",
"dtwrks/elm-book": "1.3.0",
"elm/browser": "1.0.2",
"elm/core": "1.0.5",
"elm/file": "1.0.5",
"elm/html": "1.0.0",
"elm/http": "2.0.0",
"elm/json": "1.1.3",
"elm/parser": "1.1.0",
"elm/random": "1.0.0",
"elm/regex": "1.0.0",
"elm/svg": "1.0.1",
"elm/time": "1.0.0",
"elm/url": "1.0.0",
"elm-community/list-extra": "8.5.1",
"elm-community/maybe-extra": "5.2.1",
"elm-explorations/test": "1.2.2",
"fapian/elm-html-aria": "1.4.0",
"justinmimbs/date": "3.2.1",
"krisajenkins/remotedata": "6.0.1",
"pablohirafuji/elm-syntax-highlight": "3.4.1",
"robinheghan/elm-phone-numbers": "1.0.0",
"rtfeldman/elm-iso8601-date-strings": "1.1.4",
"rtfeldman/elm-validate": "4.0.1"
},
"indirect": {
"elm/bytes": "1.0.8",
"elm/virtual-dom": "1.0.2",
"lukewestby/elm-string-interpolate": "1.0.4",
"rtfeldman/elm-hex": "1.0.0"
}
},
"test-dependencies": {
"direct": {},
"indirect": {}
}
}
53 changes: 53 additions & 0 deletions elm-book/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<meta name="theme-color" content="#5859a1">

<link
href="https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,wght@0,200;0,300;0,400;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,600;1,700;1,800;1,900&display=swap"
rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">

<script type="module" src="./src/index.js"></script>
<title>Cambiatus Elm Book</title>
</head>

<body>
<noscript>
<link href="noscript.css" rel="stylesheet">
<div class="container">
<h1>Attention</h1>
<div class="warning">
<embed class="icon" src="%PUBLIC_URL%/icons/flag-usa.svg" />
<span class="title">JavaScript must be enabled for you to use our platform in the standard view</span>
<span class="body">
However, it appears that it is disabled or is not compatible with your browser. To use the default view,
enable JavaScript by changing your browser options and try again.
</span>
</div>
<div class="warning">
<embed class="icon" src="%PUBLIC_URL%/icons/flag-brazil.svg" />
<span class="title">O JavaScript deve estar ativado para que você use nossa plataforma na visualização
padrão</span>
<span class="body">No entanto, parece que ela está desativado ou não é compatível com o seu navegador. Para usar
a visualização padrão, ative o JavaScript alterando as opções do navegador e tente novamente.</span>
</div>
<div class="warning">
<embed class="icon" src="%PUBLIC_URL%/icons/flag-spain.svg" />
<span class="title">JavaScript debe estar habilitado para que pueda usar nuestra plataforma en la vista
estándar</span>
<span class="body">Sin embargo, parece que está deshabilitado o no es compatible con su navegador. Para usar la
vista predeterminada, habilite JavaScript cambiando las opciones de su navegador e intente nuevamente.</span>
</div>
<div class="error">
<img src="%PUBLIC_URL%/images/error.svg">
</div>
</div>
</noscript>
</body>

</html>
21 changes: 21 additions & 0 deletions elm-book/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "elm-book",
"version": "0.0.0",
"scripts": {
"start": "vite",
"build": "vite build",
"serve": "vite preview"
},
"devDependencies": {
"elm-tooling": "^1.6.0",
"vite": "^2.6.4",
"vite-plugin-elm": "^2.5.0"
},
"dependencies": {
"autoprefixer": "^10.4.2",
"focus-visible": "^5.2.0",
"postcss": "^8.4.5",
"postcss-focus-visible": "^6.0.3",
"tailwindcss": "^3.0.15"
}
}
1 change: 1 addition & 0 deletions elm-book/postcss.config.js
Binary file added elm-book/public/favicon.ico
Binary file not shown.
4 changes: 4 additions & 0 deletions elm-book/public/icons/checkbox.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions elm-book/public/icons/radio.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions elm-book/public/icons/select-arrow.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added elm-book/public/images/auth_bg_full.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions elm-book/public/images/cambiatus-logo-mobile.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
93 changes: 93 additions & 0 deletions elm-book/public/images/loading.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading