@fattureincloud/fic-design-system 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +10 -0
- package/dist/components/badge/index.d.ts +3 -0
- package/dist/components/buttons/button/Button.d.ts +2 -2
- package/dist/components/groupedList/index.d.ts +2 -1
- package/dist/components/microTag/index.d.ts +2 -2
- package/dist/components/tag/index.d.ts +2 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## v0.4.3 - 21/01/2022
|
4
|
+
|
5
|
+
### 🐛 Bug Fix
|
6
|
+
|
7
|
+
- Remove the Checkbox `Label` tag when prop `text` is missing
|
8
|
+
|
9
|
+
### 💅 Enhancement
|
10
|
+
|
11
|
+
- Change Button `text` prop from `string | JSX.Element` to `ReactText | JSX.Element`
|
12
|
+
|
3
13
|
## v0.4.2 - 19/01/2022
|
4
14
|
|
5
15
|
### 🐛 Bug Fix
|
@@ -1,8 +1,8 @@
|
|
1
|
-
|
1
|
+
import { ReactText } from 'react';
|
2
2
|
import { IconProps } from '../../icon';
|
3
3
|
import { WrapperProps } from './types';
|
4
4
|
export interface ButtonProps extends Partial<WrapperProps> {
|
5
|
-
text?:
|
5
|
+
text?: ReactText | JSX.Element;
|
6
6
|
iconLeft?: IconProps;
|
7
7
|
iconRight?: IconProps;
|
8
8
|
isLoading?: boolean;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
import MicroTag from './MicroTag';
|
1
|
+
import MicroTag, { MicroTagProps } from './MicroTag';
|
2
2
|
import microTagPalette, { MicroTagPalette } from './microTagPalette';
|
3
|
-
export { MicroTag, microTagPalette, MicroTagPalette };
|
3
|
+
export { MicroTag, MicroTagProps, microTagPalette, MicroTagPalette };
|
package/dist/index.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { Accordion } from './components/accordions';
|
2
2
|
import { Avatar } from './components/avatar';
|
3
|
-
import { Badge } from './components/badge
|
3
|
+
import { Badge, BadgeProps } from './components/badge';
|
4
4
|
import { Banner, BannerProps } from './components/banner';
|
5
5
|
import { Button, ButtonProps, IconButton, IconButtonProps } from './components/buttons';
|
6
6
|
import { Chip } from './components/chips';
|
@@ -12,13 +12,13 @@ import { InputHelper, InputHelperPalette, InputHelperProps } from './components/
|
|
12
12
|
import { InputText, InputTextPalette, InputTextProps } from './components/form/inputText';
|
13
13
|
import { AsyncCreatableSelect, AsyncCreatableSelectProps, AsyncSelect, AsyncSelectProps, CreatableSelect, CreatableSelectProps, OptionType, Select, SelectComponentsType, SelectPalette, SelectProps, useSelectMultiValues, useSelectValue } from './components/form/select';
|
14
14
|
import { TextArea, TextAreaPalette, TextAreaProps } from './components/form/textArea';
|
15
|
-
import { GroupedList } from './components/groupedList';
|
15
|
+
import { GroupedList, GroupType, ItemType } from './components/groupedList';
|
16
16
|
import { RadioButtonGroup } from './components/groupRadioButton';
|
17
17
|
import { Icon, IconPalette, IconProps } from './components/icon';
|
18
18
|
import { IconBackground, IconBackgroundPalette } from './components/icon/components/iconBackground';
|
19
19
|
import { InlineMessage } from './components/inlineMessages';
|
20
20
|
import { CustomSidebarItemProps, SidebarItem, sidebarItemHeight, SidebarItemPalette, SidebarItemProps } from './components/layout';
|
21
|
-
import { MicroTag } from './components/microTag';
|
21
|
+
import { MicroTag, MicroTagPalette, MicroTagProps } from './components/microTag';
|
22
22
|
import { Modal, ModalSearchable } from './components/modals';
|
23
23
|
import { ConfirmationModal } from './components/modals/confirmationModal';
|
24
24
|
import { ModalBody } from './components/modals/modalStyled';
|
@@ -29,11 +29,11 @@ import { RadioButton } from './components/radioButton';
|
|
29
29
|
import { Stepper, StepperPalette, StepperProps } from './components/stepper';
|
30
30
|
import { Table } from './components/table';
|
31
31
|
import { DropdownTabs, ScrollableTabs, TabsItem } from './components/tabs';
|
32
|
-
import { Tag } from './components/tag';
|
32
|
+
import { Tag, TagPalette, TagProps } from './components/tag';
|
33
33
|
import { ThemeProvider } from './components/themeProvider';
|
34
34
|
import { ShortcutTip, Tip } from './components/tip';
|
35
35
|
import { Toast, ToastProps } from './components/toast';
|
36
36
|
import { Tooltip, TooltipPalette, TooltipProps } from './components/tooltip';
|
37
37
|
import { Theme } from './styles/theme';
|
38
38
|
import { Palette, paletteColor } from './styles/types';
|
39
|
-
export { paletteColor, Avatar, Banner, BannerProps, Button, ButtonProps, IconButton, IconButtonProps, Icon, IconProps, IconPalette, IconBackground, IconBackgroundPalette, Table, Checkbox, useCheckboxValue, CheckboxProps, CheckboxPalette, Select, CreatableSelect, AsyncSelect, AsyncCreatableSelect, SelectProps, AsyncSelectProps, AsyncCreatableSelectProps, CreatableSelectProps, useSelectValue, useSelectMultiValues, SelectPalette, SelectComponentsType, OptionType, PageEmptySet, Modal, ModalBody, ModalSearchable, Tooltip, TooltipProps, TooltipPalette, Accordion, Progressbar, Drawer, Chip, RadioButton, RadioButtonGroup, InlineMessage, Badge, Dropdown, DropdownItemProps, DropdownPalette, closeDropdownType, renderContentType, DropdownTabs, ScrollableTabs, SidebarItem, sidebarItemHeight, SidebarItemPalette, SidebarItemProps, CustomSidebarItemProps, TabsItem, Stepper, StepperProps, StepperPalette, Tip, ShortcutTip, ThemeProvider, Theme, Palette, GroupedList, WithBadge, Pagination, Toast, ToastProps, ConfirmationModal, MicroTag, Tag, InputText, InputTextProps, InputTextPalette, InputHelper, InputHelperProps, InputHelperPalette, TextArea, TextAreaProps, TextAreaPalette, };
|
39
|
+
export { paletteColor, Avatar, Banner, BannerProps, Button, ButtonProps, IconButton, IconButtonProps, Icon, IconProps, IconPalette, IconBackground, IconBackgroundPalette, Table, Checkbox, useCheckboxValue, CheckboxProps, CheckboxPalette, Select, CreatableSelect, AsyncSelect, AsyncCreatableSelect, SelectProps, AsyncSelectProps, AsyncCreatableSelectProps, CreatableSelectProps, useSelectValue, useSelectMultiValues, SelectPalette, SelectComponentsType, OptionType, PageEmptySet, Modal, ModalBody, ModalSearchable, Tooltip, TooltipProps, TooltipPalette, Accordion, Progressbar, Drawer, Chip, RadioButton, RadioButtonGroup, InlineMessage, Badge, BadgeProps, Dropdown, DropdownItemProps, DropdownPalette, closeDropdownType, renderContentType, DropdownTabs, ScrollableTabs, SidebarItem, sidebarItemHeight, SidebarItemPalette, SidebarItemProps, CustomSidebarItemProps, TabsItem, Stepper, StepperProps, StepperPalette, Tip, ShortcutTip, ThemeProvider, Theme, Palette, GroupedList, ItemType, GroupType, WithBadge, Pagination, Toast, ToastProps, ConfirmationModal, MicroTag, MicroTagProps, MicroTagPalette, Tag, TagProps, TagPalette, InputText, InputTextProps, InputTextPalette, InputHelper, InputHelperProps, InputHelperPalette, TextArea, TextAreaProps, TextAreaPalette, };
|