1.0.0 • Published 4 years ago

proi-ui v1.0.0

Weekly downloads
40
License
MIT
Repository
github
Last release
4 years ago

proi-ui

yet another Svelte ui library

DevBadge

Logo

Installation

npm i proi-ui

Docs

Check out the docs.

Migrate to version 1.0.0

  • Alert component
    • status prop changed to type prop in v1.0.0
    • there is no more squared prop, the alert is squared by default and only squared
  • Avatar component
    • name prop changed to title prop in v1.0.0
    • title prop changed to description prop in v1.0.0
    • there is no more squared prop, the avatar is rounded only
  • Backdrop component
    • open prop changed to visible prop in v1.0.0
  • Button component
    • status prop chaned to type prop in v1.0.0
      • types are: 'primary', 'secondary' and 'link'
    • medium prop changed to small prop in v1.0.0
    • there is no more squared prop, the button is squared by default and only squared
  • Checkbox component
    • there is no more value prop for the checkbox label, the label is used as a slot
  • Chip component is now Tag component, see Tag component for more details
  • Dropdown component design changes (does not affect previous versions)
  • Input component
    • there is no more squared prop, the input is squared by default and only squared
    • there is no more success props
  • Modal component
    • coming with two new components ModalBody and ModalActions instead of the named slots
    • show prop changed to visible prop in v1.0.0
    • new title prop for title of the modal
  • Progress component
    • there is no more height prop, the progress component has a fixed height in v1.0.0
  • Radio
    • there is no more label prop to display the label for the radio component, label is displayed using slot in v1.0.0
  • Spinner
    • there is no more labeled prop, using existing label prop automatically decides the labeled state of the spinner component

Basic Usage

<script>
import { Button, Input } from 'proi-ui'

function click () {
    console.log('clicked');
}
</script>

<Input label="My label" />
<Button on:click={click}/>
1.0.0

4 years ago

0.2.0

4 years ago

0.1.10

4 years ago

0.1.11

4 years ago

0.1.12

4 years ago

0.1.9

4 years ago

0.1.8

5 years ago

0.1.7

5 years ago

0.1.4

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.3

5 years ago

0.1.0

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.0.26

5 years ago

0.0.27

5 years ago

0.0.25

5 years ago

0.0.24

5 years ago

0.0.23

5 years ago

0.0.22

5 years ago

0.0.20

5 years ago

0.0.21

5 years ago

0.0.19

5 years ago

0.0.18

5 years ago

0.0.15

5 years ago

0.0.16

5 years ago

0.0.17

5 years ago

0.0.14

5 years ago

0.0.11

5 years ago

0.0.12

5 years ago

0.0.13

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.4

5 years ago

0.0.1

5 years ago