Commit Graph

163 Commits

Author SHA1 Message Date
Brooke Angel
fa5f4ddbcd push urls for internal requests as well as external 2018-12-11 21:57:06 +01:00
Gavin Panella
223d481c98 Parse routes with elm/parser. 2018-12-11 21:57:06 +01:00
Brooke Angel
7bbd4c1739 start converting styleguide-app to elm 0.19 2018-12-11 21:57:06 +01: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
Luke Westby
aac0c1febc
Direct class compatibility (#146)
* drop support for attributes and move class compatibility into factory

* fix docs

* bring back attributes for now

* forgot attribute change in class, don't load shim

* delete native-shim file

* make it more minification-friendly

* fix docs

* no need for method names
2018-10-30 16:26:27 -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
fe8a66d772 Use an SVG sprite for the guided draft icon instead of an image 2018-10-24 09:55:35 -07: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
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
cabc2fd59e Rearrange icon examples 2018-10-15 17:22:58 -04: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
brookeangel
07068031a6 standardize vertical alignment on style guide 2018-10-05 08:14:20 +02:00
brookeangel
61ca62cb47 update button on styleguide 2018-10-05 08:14:20 +02:00
Ian Davies
ef549c21d5 Update styleguide to remove ButtonHeight 2018-10-03 10:01:54 +01: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
Michael Glass
70d214957c
run elm-format 2018-09-26 16:02:28 +02:00
Juan Edi
9c06eff3f0 Fix elm-docs 2018-09-10 12:19:55 -03:00
Juan Edi
b600af7bbe Styleguide allows to toggle width settings for SegmentedControl 2018-09-10 12:19:15 -03:00
Juan Edi
265b83c393 Options for SegmentedControl's width: FitContent | FillContainer
Until V4 the control would always fit its contents. On V5 that behaviour was
changed to always fill the container. This means that to limit the element's
width one had to limit the value of its container (which might be hard to do
when the labels of the tabs are unknown or might change).

We now support both settings, and the user has to decide what to do for each use
case.
2018-09-10 11:56:26 -03:00
Juan Edi
7c3c2966be Nri.Ui.SegmentedControl.V6 now uses Html.Styled 2018-09-10 11:32:08 -03:00
Juan Edi
6bee811648 Create SegmentedControl.V6 (copy of V5 for the moment) 2018-09-10 11:07:11 -03:00
James Gary
743f270fec Merge branch 'master' into ink-james--premium-checkbox 2018-09-07 15:32:58 -07:00
James Gary
105bbfa3c7 Update example to use V2 checkbox 2018-09-07 15:24:17 -07:00
Brooke
d3d54439d4 creates modal V3 2018-09-07 09:23:16 -07:00
James Gary
29775bd9b8 Merge branch 'master' into ink-james--premium-checkbox 2018-09-06 13:02:59 -07:00
Brooke
09555104a3 fix no close button conundrum 2018-09-06 08:13:16 -10:00
James Gary
509141f3cb Match the asset name that's already in the monolith 2018-09-05 15:38:44 -07:00
James Gary
833556e688 Add premium writing flag asset, make test more specific 2018-09-05 14:34:55 -07:00
James Gary
ee9271bdff Update PremiumCheckbox to explicitly manage pennant
- Simplify example
2018-09-05 13:40:18 -07:00
James Gary
b5393a25e8 Simplify PremiumConfig 2018-08-31 13:11:32 -07:00
James Gary
b2a2532ff0 Don't require PremiumLevel; allow general premium levels 2018-08-30 12:47:48 -07:00
Brooke
24368e17d4 use same styles from monolith (more recent) 2018-08-29 12:38:24 -07:00
Brooke
56ee341a7e add modal module example 2018-08-29 12:09:22 -07:00
Brooke
8d1760a889 Fix Nri.Ui.Button.V3.linkExternalWithTracking to allow Cmd-/Ctrl- clicks on the links 2018-08-28 17:18:17 -07:00
Brooke
8a9c01c472
make link text-align center 2018-08-21 16:33:28 -07:00
Brooke
6c0a70ff94
get delete button in order 2018-08-21 16:33:27 -07:00
Brooke
e23f8f8e82
compiles but it isnt pretty 2018-08-21 16:33:27 -07:00
Tessa Kelly
4b5489a332 Adds assets 2018-08-16 18:10:00 -07:00