Commit Graph

359 Commits

Author SHA1 Message Date
Tereza Sokol
3d80d512c6 Fix checkbox (#175)
* Update src/Nri/Ui/Checkbox/V3.elm

* port to 0.18 as well
2018-11-15 22:30:40 -08:00
Luke Westby
26608637e5
Add Table.V4 with builtin keyframes (#168)
* add table v4 with builtin keyframes

* get things looking good in the styleguide

* remove log
2018-11-13 10:19:01 -08:00
Richard Feldman
e2907d9ba2 Prep for 0.19 dual-publish (#163)
* Use elm-css 16.0.0

* 💀 Ui.Checkbox V1 and V2

* s/Css.Foreign/Css.Global/g

* 💀 Nri.Ui.Styles.V1

* 💀 BannerAlert.V1

* 💀 Modal.V1

* 💀 Dropdown.V1

* 💀 Select.V1 and V2

* 💀 Alert.V1

* 💀 Button.V1 and V2

* 💀 Divider.V1

* 💀 Icon.V1 and V2

* 💀 Outline.V1

* 💀 SegmentedControl.V1-V5

* 💀 TextArea.V1 and V2

* 💀 TextInput.V1

* delete the rest of the modules

* actually more deletions

* InputStyles v1 is unused

* move to src-0.18

* do the 0.19 upgrade

* select options are addressable by index

* elm-css 16

* update scripts

* elm-format

* Update V2.elm

* put the nbsp back

* elm-format validation for both versions
2018-11-12 15:38:19 -08:00
Luke Westby
10e29b412b
Puffins final upgrades (#166)
* add toString to select config

* let table use v2 keyframes

* add to elm-package

* use button for tabs

* delete noop hrefs

* add to select tests

* use html v3
2018-11-12 12:25:37 -08:00
Tereza Sokol
9bb5081c37 Add Tabs.V2 (with Html.Styled) (#165)
* Tabs.V2

* Expose module

* Fix filename
2018-11-09 14:01:11 -08:00
Richard Feldman
20f0d64003
Merge branch 'master' into fix-namespace 2018-11-08 21:14:37 -05:00
mavnn
b5458fb293
Update css class to match module name 2018-11-08 11:50:12 +00:00
mavnn
ed62cd4f5a
Add Button.V6 to use Icon.V4 2018-11-08 11:39:47 +00:00
Richard Feldman
b24442dc3b Fix incorrect namespace. 2018-11-07 22:12:55 -05:00
Richard Feldman
61e1dda0b7
Merge branch 'master' into remove-css-helpers-from-modal 2018-11-06 09:06:22 -05:00
Richard Feldman
e36faf50a1 💀 unused imports 2018-11-06 09:00:56 -05:00
Richard Feldman
cda52592a9 Remove CssHelpers from Modal 2018-11-05 22:11:34 -05:00
Richard Feldman
2b11d2acb3 Prepend namespace rather than appending it 2018-11-01 13:59:29 -04:00
Richard Feldman
e8fa9c988c 💀 unused import 2018-10-31 17:54:15 -04:00
Richard Feldman
2e1d9f6691 Stop using identifierToString 2018-10-31 17:54:15 -04:00
Luke Westby
6e5bf2f058
Add Select.V4 with optional id for select in config (#153)
* add Select.V4 with optional id for select in config

* add to exposed

* address comments
2018-10-31 08:43:23 -07:00
Michael Hadley
9d7994ae1a
Merge branch 'master' into add-highlight-brown 2018-10-29 11:37:00 -07:00
Michael Hadley
30c67c9b4e Add highlight brown colors 2018-10-29 11:11:52 -07:00
Danielle Pham
2fb69ff347 Merge branch 'master' into ink__guided-draft-icon
Move guided draft icon to Icon V4
2018-10-29 12:51:12 -04:00
Danielle Pham
0278958762 Icon V4: use SvgIcon for assignment types 2018-10-26 12:49:26 -04:00
Danielle Pham
cbe41a6dd0 Remove white from guidedDraft name 2018-10-26 12:06:25 -04:00
Tessa Kelly
0ff72c1ba6 Use generated svgs rather than a separate svg file 2018-10-24 09:55:35 -07:00
Tessa Kelly
08b67825c0 Adds the guided draft icon 2018-10-24 09:52:42 -07:00
mavnn
e50c15e49f
Add Self Review assignment type icon
Add self review icon to style guide

Revert "index.html" changes

This reverts commit 7ea91a89fb74f9ce6d6b9e0889b8d5b1c29f6b1a.
2018-10-24 09:38:58 +01:00
Luke Westby
5a488e4601 remove broken doc 2018-10-23 10:45:42 -07:00
Luke Westby
9c96b0c3b8
fix docs and exposed-modules (#140) 2018-10-23 10:11:58 -07:00
Luke Westby
c1ff19f0d0
Add Html.Styled versions for everything (#139)
* make html.styled versions of remaining widgets

* upgrade all the examples

* change license name
2018-10-23 09:55:30 -07:00
Danielle Pham
81ca29d946 Add assignmentTypeQuickWrite icon 2018-10-15 17:21:08 -04:00
Danielle Pham
87691d1a6b Add assignmentTypePeerReview icon 2018-10-15 17:15:57 -04:00
Brooke Angel
c96930b4b5 downregulate main button padding to compensate 2018-10-11 10:07:21 -07:00
Brooke Angel
b5f88610ac hide the scrollies 2018-10-11 10:04:53 -07:00
Gavin Panella
af7283d79f Transition only a handful of CSS properties.
This avoids a boom/zoom effect as the button is repeatedly laid out during the
transition.
2018-10-11 17:34:44 +02:00
Gavin Panella
24867c442e Use Css.batch instead of List operations. 2018-10-11 16:36:36 +02:00
brookeangel
5886640a97 add button v5 with standardized vertical alignments 2018-10-05 08:14:20 +02:00
Ian Davies
43bd0ab38a Update changes from V3 to reference unbounded height 2018-10-03 10:01:54 +01:00
Ian Davies
16e63d0e16 Remove ButtonHeight config and default to unbounded 2018-10-03 09:47:05 +01:00
Gavin Panella
8c05988d7c Document the golden rule! 2018-10-02 14:38:23 +02:00
Gavin Panella
aefe8692ca Rename HeightFixed to HeightDefault. 2018-10-02 14:38:23 +02:00
Gavin Panella
b28453a279 Change ButtonWidth from an alias to a custom type.
`WidthUnbounded` elicits behaviour the same as `Nothing` was previously, and
`WidthExact Int` is the same as `Just Int`.
2018-10-02 14:38:23 +02:00
Gavin Panella
48832d36b8 Switch from sizing to height.
This allows for the `HeightFixed` which is the same behaviour as V3,
`HeightBounded Int` which allows for a certain number of lines of text but no
more, and `HeightUnbounded` which will allow the button to grow in height
without bound.
2018-10-02 14:34:11 +02:00
Gavin Panella
1fafb6cd2a Add sizing capability to V4 button, and put it in the style guide. 2018-10-02 14:34:11 +02:00
Gavin Panella
61d9557ab1 Start new V4 button. 2018-10-02 14:34:11 +02:00
Ju Liu
8b7ef3227c
Revert "High-rise buttons" 2018-10-02 11:00:08 +01:00
Ju Liu
eaa341d637 Add new help svg icon 2018-10-01 19:06:16 +01:00
Gavin Panella
682b51d779 Add 4px of vertical padding to V2 and V3 buttons.
This does not alter button appearance when they contain only a single line of
text, but when there are multiple lines it keeps the text a little further from
the edge of the button, making it more readable.
2018-09-28 10:17:36 +02:00
Gavin Panella
bc13739cb1 Allow V2 and V3 buttons to grow vertically.
Presently, buttons are being displayed to students in quizzes with more text
than a button will show. The overflow is not visible and it's making it hard for
these students to use the site. A button should always show the text that it
contains, even if it causes layout weirdness.
2018-09-27 17:39:41 +02:00
Michael Glass
70d214957c
run elm-format 2018-09-26 16:02:28 +02:00
Juan Edi
f4b33d8783 Remove unnecessary vendor prefixes for flexbox on SegmentedControl 2018-09-11 15:28:19 -03:00
Juan Edi
ac3393125c Use Nri.Ui.styled to add debugging into to tabs container 2018-09-11 15:14:54 -03:00
Juan Edi
9c06eff3f0 Fix elm-docs 2018-09-10 12:19:55 -03:00