- Icons
pin
,pin-2
were updated
- Added new icons:
pin
,pin-2
- Icons
currency-usd
,currency-usd-2
,currency-rub
,time-3
were updated
- Added new icons:
currency-usd
,currency-usd-2
,currency-rub
,time-3
- Added slot
dropdown-no-data
toSelect
component to be able to change message about empty array of options
- Installed older version of node-sass (4.12.0) in cause of always failed builds
- Component
Button
's fixes:- Bug with icon coloring while
:active
and:focus
states - Bug with icon coloring with
secondary
andtext
type
- Deleted additional white overlay while
loading
at the same time asdisabled
- Bug with icon coloring while
- svg-sprite-loader dependency fix: removed custom package and installed origin one
- Added new icons:
square-go-to
,circle-go-to
- Added
innerId
prop toInput
- Added modifier-classes
hovered
,focused
toCheckbox
- Component
Datepicker
changes:- Added
close
,blur
,focus
,open
methods - Added
closeOnPick
prop - Added emitting
blur
event whenDatepicker
's inner input doblur
- Added slot
reference
(to use different things instead of inner input)
- Added
- Component
Radio
changes:- Realization was changed from simple
div
to nativeinput[type=radio]
- Added
readonly
,id
,name
props - Added modifier-classes
hovered
,focused
- Realization was changed from simple
- Added emitting
keypress
,keyup
,keydown
toTextarea
- Fixed
Datepicker
bug with disappearing year grid when it hasextended
navigation-type
- Added
Validation
forSelect
,Autocomplete
- Added
NotEmptyArrayRule
rule forValidation
- Added
prefix
andsuffix
slots forAutocomplete
- Fixed
Input
's align problem in Safari and Mozilla
- Added
prevent-input
prop toInput
. - Added
header-style
prop to Column ofTable
component for styling header cell in table - Added
focus
andblur
methods toInput
andAutocomplete
- Added
useReferenceWidth
option to storybook ofAutocomplete
- Fixed weird bug when typing in Select leaded to displaying clear icon
- Fixed
Select
arrow visibility when component is non-clearable - Fixed bug with
useReferenceWidth
do not work properly inDropdown
- Fixed checkbox height (container of checkbox's square was a bit higher)
- Fixed multiple
Select
's selected options update. There was a problem with displaying of collapser's items whenSelect
's value was changed from outside - Created
BaseSelectValue
,SingleSelectValue
, andMultipleSelectValue
types forSelect
propvalue
- Added
no-options-message
slot toSelect
. If there're no options to display that slot will be visible
- Fixed bug with not defined immediate watch value of validatable components.
Select
's propclearIconAsSuffixIcon
was renamed toclearIconAsArrowIcon
. Also a new propshowArrowIcon
was added. Now you can set a suffix-icon near the default arrow icon- Added
text-align
with default valuecenter
to multipleSelect
's collapser dropdown - Created validation functionality. Additional info you can find in storybook validation notes.
- Created
NotEmptyRule
LengthInRange
PassRegexpRule
rules for validation. - Added validation for
Input
- Added
optionClass
prop toSelect
- Added
size
prop toAutocomplete
andSelect
Dropdown
placement was changed frombottom
tobottom-start
. Same inAutocomplete
andSelect
components
- Updated
Notification
component. Do not show browser notifications when window is active - Fixed
Select
'slist
slot. Didn't work before - Added
selected
key toSelect
'soptions
object. Useful foroption
slot - Fixed
Popper
bug with placement whileuseReferenceWidth
is on Input
andNotification
icons with padding set tobox-sizing: content-box
. Padding won't be calculated in width and height- Fixed bug with setting
popperClass
atdropdownProps
inSelect
andAutocomplete
components - Fixed server sorting in
Table
component Scrollbar
's caret containers was updated with z-index- Fixed
Input
's icon sizes with different value ofsize
prop - Fixed
Dropdown
documentation page
Autocomplete
proppopperProps
was renamed todropdownProps
- Added max-width css property to
Autocomplete
's popper Select
propdropdownPopperProps
was renamed todropdownProps
Select
andAutocomplete
css stylewidth: 100%
was removed (in cause of popper displaying bug)- Added
Dropdown
's propuseReferenceWidth
to make dropdown's width same as its reference Dropdown
's propappendToBody
was set totrue
Input
'sclearable
prop behaviour was changed a bit: if you set ittrue
component will be clearable all the time. For cases when it'sreadonly
ordisabled
check documentation
- Updated
Input
documentation - Fixed clear-icon-as-suffix-icon in storybook
- Added
placeholder
,prefix-icon
andsuffix-icon
props toDatepicker
Button
styledisplay
changed toflex
to align inner itemsDropdown
popperProps
prop was removed, new props were added. Check component's documentation- Added new feature to
Autocomplete
: if no suggestion was selected query will be cleared - Update theme
Offers
forCollapser
andAutocomplete
- Fix client sorting in
Table
component - Added
hiddenListClass
prop andcontrol
slot toTabs
- Added
closeDropdown
andopenDropdown
to the mainSelect
script. There was a problem with no able to open/close it - Fixed dropdown's visibility in
Autocomplete
's popper show/hide methods Input
's propfocusAfterClear
was set to false as default- Fixed bug in
Pagination
with displaying pages whengrouped-pages
amount is more than it possible to display - Removed click event on
Pagination
's separators
- Added new component:
Autocomplete
- Added new components:
Dropdown
andDropdown-option
- Added
dropdown-top
anddropdown-bottom
slots toSelect
component - Added
maxHeight
prop toPopper
component - Component
Tabs
changes:- Added
disable
prop - Component was rewrote, some class names were changed. Styling became more easier. Now there're two classes for inner
Tab
:st-tabs__list-tab
for visible list andst-tabs__popper-tab
for popper list.
- Added
- Component
Input
changes:- Added
focusState
prop - Inner content was restyles from
absolute
positioning toflex
- Added
default
slot (if you want to place there anything)
- Added
- Component
Select
changes:- Inner custom input element was replaced with
Input
component - Some style variables were removed, some were changed to
Input
's variables - Added
closeOnClear
prop - Added
closeOnSelect
prop - Added
clearIconAsSuffixIcon
prop
- Inner custom input element was replaced with
- Component
Popper
changes:- Added document listener to usage when
trigger
property's value ismanual
documentClick
event was renamed todocument-click
- Added popper arrow's shadow
- Added document listener to usage when
Select
component fixes:- Fixed dropdown's bug with list overflowing
- Fixed inner popper's behavior when there're some
Select
components on the page
- Fixed
Scrollbar
's overflow-x property when horizontal scroll is hidden Input
component fixes:- Fixed wrong background color when disabled
- Fixed clear icon visibility when disabled or readonly
- Removed Firefox's outline when inner input is
:invalid
- Added
Slots
section to documentation template file - Fixed bug with disabled collapsed tabs in
Tabs
component
- Added browser notifications to
Notifications
component - Components
Tabs
andTabs-collapsed
were rewrote and combined into single componentTabs
. Since now if you want use Tabs with collapser inside then use propertycollapsed
.
Input
component changes:- Inner elements were moved into flex alignment
- Added keydown/keyup/keypress handlers
- Added component
Circular Countdown
Scrollbar
's tracking was updatedPopper
component's changes:- Fixed body appending bug
- Background color was updated
- Fixed disaled state
- Default background variable's color was changed (
$st-background-color
) Dialog
component's types were updated
- Added
minimumScrollSize
prop for componentScrollbar
- Added component
Dialog
- Added component
Tooltip
- Added component
Datepicker
- Added new libraries in project dependencies:
tingle.js
moment.js
- Storybook components pages update:
- Added documentation for
Button
component - Text and With-Icon pages of
Button
were removed - Added
disabled
prop toPopover
's page
- Added documentation for
- Lodash types were fixed
- Popover's bug with type of
reference
prop was fixed Scrollbar
's bug with cursor floating on mouse move was fixed- Fixed
Button-group
's last child styles
- Fixed storybook and some logic of
Popper
component - Added
indeterminate
prop for componentCheckbox
- Added
id
prop for componentCheckbox
- Improved view of
Collapser
component Pagination
component was updated:- Prop
limit
was renamed toperPage
- Prop
list
was changed tototal
- Prop
initialPage
was renamed tocurrentPage
and now it uses for v-model - Interface
PaginationEvent
was renamed toPaginationChangeExtendedEvent
- Pages with big numbers (for example 1000) displays correctly now
- Calculating pages for group (
groupedPages
) works correctly now
- Prop
- Weird mixins and functions in scss files were removed
- Added new component:
Select
- Added new component:
Tabs
- Added new component:
Collapser
- Added
PopperBindProperties
interface for componentPopper
- Added
readonly
prop for componentCheckbox
- Added pre-commit script
- EOL symbol in generators was updated
- Added new component:
Popper
- Added new icons: Return, Luggage, No-Return, No-Luggage
Popover
component was temporarily disabled
- Lint dependencies were updated
- Added
Radio
component toOffers
theme - Added new component:
Switch
- Added new component:
Notifications
- Added new component:
Scrollbar
- Added new component:
Pagination
- Added new component:
Popover
- Added new component:
Badge
- Fixed
Offers
theme forButton
component - Fixed
Checkbox
value type - Added components generator. If you are about to make a new component just run
npm run generator:component
and follow the instructions. - Prepared for publishing
- Linter dependencies were updated
- Package
awesome-typescript-loader
was replaced tots-loader
- Added
Offers
theme styles forCheckbox
,Input
andTextarea
components
- Fixed styles for
cancel
andremove
types forButton
- Icon generator was moved from
config
tobuild
directory - Generated icons files were renamed:
icons.json
to_icons.generated.json
atsrc/assets/icons
src/utils/icons.ts
tosrc/components/icon/_icons.generated.ts
- All icons' symbol ids have got prefix
st-
- Added theme generator. Since now you can build your theme's files - use
npm run generator:themes
.
- Changed theme system. Check documentation at "Customization" section.
- Added new theme:
Offers
- Added new component:
Checkbox
- Added new components:
Input
,Textarea
- Changed CLI scripts at
package.json
npm run storybook:serve
renamed tonpm run serve
npm run storybook:build
renamed tonpm run build