Commit Graph

787 Commits

Author SHA1 Message Date
Ian Davies
ef549c21d5 Update styleguide to remove ButtonHeight 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
8aa3170285 Expose the V4 button module. 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
88f689c6da Bump version 2018-10-02 11:32:53 +01:00
Gavin Panella
010ad1caa0
Merge pull request #125 from NoRedInk/revert-121-zamboni--high-rise-buttons
Revert "High-rise buttons"
2018-10-02 12:06:15 +02:00
Ju Liu
8b7ef3227c
Revert "High-rise buttons" 2018-10-02 11:00:08 +01:00
Ju Liu
fe104d89b5 Bump version 2018-10-01 19:26:36 +01:00
Ju Liu
85ce40bbe3
Merge pull request #124 from NoRedInk/help-svg-icon
Add new help svg icon
2018-10-01 19:23:48 +01:00
Ju Liu
eaa341d637 Add new help svg icon 2018-10-01 19:06:16 +01:00
Gavin Panella
0a17b3caa6
Merge pull request #122 from NoRedInk/zamboni--high-rise-buttons-version-bump
Bump version to 5.18.1.
2018-09-28 11:10:09 +02:00
Gavin Panella
1d7f1d35b9 Bump version to 5.18.1. 2018-09-28 10:41:48 +02:00
Gavin Panella
65d624e47c
Merge pull request #121 from NoRedInk/zamboni--high-rise-buttons
Allow V2 and V3 buttons to grow vertically.
2018-09-28 10:38:59 +02: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
b82bcfc8e5
Merge pull request #105 from NoRedInk/dependabot/npm_and_yarn/elm-format-0.8.0
Bump elm-format from 0.7.0-exp to 0.8.0
2018-09-26 16:10:13 +02:00
Michael Glass
70d214957c
run elm-format 2018-09-26 16:02:28 +02:00
Michael Glass
7105f8226c
install elm-format 0.8.1-rc2 2018-09-26 16:02:28 +02:00
Michael Glass
847db7dce7
run npm insatll with npm 6.4.1 2018-09-26 16:02:28 +02:00
dependabot[bot]
c1c2849a23
Bump elm-format from 0.7.0-exp to 0.8.0
Bumps [elm-format](https://github.com/avh4/elm-format) from 0.7.0-exp to 0.8.0.
- [Release notes](https://github.com/avh4/elm-format/releases)
- [Changelog](https://github.com/avh4/elm-format/blob/master/CHANGELOG.md)
- [Commits](https://github.com/avh4/elm-format/compare/0.7.0-exp...0.8.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-26 13:57:15 +00:00
Michael Glass
1777e0ed82
Merge pull request #120 from NoRedInk/dependabot/npm_and_yarn/browserify-16.2.3
Bump browserify from 16.2.2 to 16.2.3
2018-09-26 15:55:18 +02:00
dependabot[bot]
b831533fec
Bump browserify from 16.2.2 to 16.2.3
Bumps [browserify](https://github.com/browserify/browserify) from 16.2.2 to 16.2.3.
- [Release notes](https://github.com/browserify/browserify/releases)
- [Changelog](https://github.com/browserify/browserify/blob/master/changelog.markdown)
- [Commits](https://github.com/browserify/browserify/compare/v16.2.2...v16.2.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-09-26 00:12:28 +00:00
Christoph Hermann
c2fc15e12c
Merge pull request #118 from NoRedInk/elm-test_upgrade_version
updating package-lock.json for node v10.10.0
2018-09-24 14:07:10 +02:00
tremlab
9aa8b2ddeb updating package-lock.json for node v10.10.0 2018-09-21 12:24:04 -07:00
Juan Edi
e77e0dc761
Merge pull request #116 from NoRedInk/bump-to-5.18.0
Bump version to 5.18.0
2018-09-11 19:10:12 -03:00
Juan Edi
53e1217b85 Bump version to 5.18.0 2018-09-11 18:41:49 -03:00
Juan Edi
4af50abd1a
Merge pull request #115 from NoRedInk/segmented-control-width-options
SegmentedControl: "fit content" and "fill container" settings
2018-09-11 18:07:14 -03:00
Juan Edi
3a15e2dbb3
Merge branch 'master' into segmented-control-width-options 2018-09-11 17:59:23 -03:00
Juan Edi
62e165f3d2 Add SegmentedControl.V6 to exported modules 2018-09-11 15:31:39 -03: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
Tereza Sokol
c10444765a Bump version 2018-09-10 14:31:53 -04:00
James Gary
6ef4ec4bdf
Merge pull request #114 from NoRedInk/ink-james--bump-to-5.17.0
Bump to 5.17.0
2018-09-10 10:34:07 -07: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
b406611ff4 Replace firstChild > firstOfType
Before this, the styles for the first tab were not workign because the
autogenerated <style> tag is now the first child of the container.
2018-09-10 11:51:14 -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
db4ae66e6c Bump to 5.17.0 2018-09-07 15:53:32 -07:00
James Gary
b29f6f783d
Merge pull request #111 from NoRedInk/ink-james--premium-checkbox
Don't require PremiumLevel; allow general premium levels
2018-09-07 15:43:09 -07:00
James Gary
743f270fec Merge branch 'master' into ink-james--premium-checkbox 2018-09-07 15:32:58 -07:00
James Gary
e47b41b5f8 Remove deprecated comment 2018-09-07 15:31:14 -07:00
James Gary
105bbfa3c7 Update example to use V2 checkbox 2018-09-07 15:24:17 -07:00
James Gary
6897215469 🤦 Remove stuff from debugging 2018-09-07 15:22:35 -07:00