@itcase/ui-react-native 1.10.91 → 1.10.94

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (156) hide show
  1. package/.storybook-react-native/preview.tsx +68 -32
  2. package/.storybook-react-native-web/main.ts +9 -2
  3. package/.storybook-react-native-web/preview.tsx +63 -55
  4. package/package.json +16 -16
  5. package/src/components/Avatar/Avatar.interface.ts +5 -5
  6. package/src/components/Avatar/index.ts +4 -4
  7. package/src/components/Avatar/stories/AvatarStories.config.ts +1 -4
  8. package/src/components/Avatar/styles/avatarShape.ts +2 -2
  9. package/src/components/Avatar/styles/avatarSize.ts +2 -2
  10. package/src/components/AvatarStack/AvatarStack.interface.ts +4 -4
  11. package/src/components/AvatarStack/index.ts +2 -2
  12. package/src/components/AvatarStack/stories/AvatarStackDemo.stories.tsx +2 -3
  13. package/src/components/AvatarStack/stories/AvatarStackStories.config.ts +20 -7
  14. package/src/components/AvatarStack/styles/avatarStackDirection.ts +2 -2
  15. package/src/components/Badge/Badge.interface.ts +6 -6
  16. package/src/components/Badge/index.ts +6 -6
  17. package/src/components/Badge/stories/BadgeStories.config.ts +1 -1
  18. package/src/components/Badge/styles/badgeShape.ts +2 -2
  19. package/src/components/Badge/styles/badgeSize.ts +2 -2
  20. package/src/components/Badge/styles/badgeType.ts +2 -2
  21. package/src/components/Breadcrumbs/Breadcrumbs.interface.ts +2 -2
  22. package/src/components/Breadcrumbs/index.ts +2 -2
  23. package/src/components/Breadcrumbs/styles/breadcrumbsSize.ts +2 -2
  24. package/src/components/Button/Button.interface.ts +5 -5
  25. package/src/components/Button/index.ts +4 -4
  26. package/src/components/Button/stories/ButtonStories.config.ts +4 -4
  27. package/src/components/Button/styles/buttonShape.ts +2 -2
  28. package/src/components/Button/styles/buttonSize.ts +2 -2
  29. package/src/components/Button/styles/buttonText.ts +2 -2
  30. package/src/components/Cell/Cell.interface.ts +6 -6
  31. package/src/components/Cell/index.ts +6 -6
  32. package/src/components/Cell/styles/cellDirection.ts +2 -2
  33. package/src/components/Cell/styles/cellShape.ts +2 -2
  34. package/src/components/Cell/styles/cellSize.ts +2 -2
  35. package/src/components/Checkbox/Checkbox.interface.ts +8 -8
  36. package/src/components/Checkbox/index.ts +4 -4
  37. package/src/components/Checkbox/styles/checkboxAlign.ts +2 -2
  38. package/src/components/Checkbox/styles/checkboxShape.ts +2 -2
  39. package/src/components/Checkbox/styles/checkboxSize.ts +2 -2
  40. package/src/components/Checkmark/Checkmark.interface.ts +4 -4
  41. package/src/components/Checkmark/index.ts +2 -2
  42. package/src/components/Checkmark/stories/CheckmarkStories.config.ts +3 -4
  43. package/src/components/Checkmark/styles/checkmarkSize.ts +2 -2
  44. package/src/components/Chips/Chips.interface.ts +4 -4
  45. package/src/components/Chips/index.ts +4 -4
  46. package/src/components/Chips/stories/ChipsStories.config.ts +1 -1
  47. package/src/components/Chips/styles/chipsShape.ts +2 -2
  48. package/src/components/Chips/styles/chipsSize.ts +2 -2
  49. package/src/components/Choice/Choice.interface.ts +6 -6
  50. package/src/components/Choice/index.ts +2 -2
  51. package/src/components/Choice/stories/ChoiceStories.config.tsx +3 -4
  52. package/src/components/Choice/styles/choiceSize.ts +2 -2
  53. package/src/components/Code/index.ts +4 -4
  54. package/src/components/Code/stories/CodeStories.config.ts +3 -4
  55. package/src/components/Code/styles/codeSize.ts +2 -2
  56. package/src/components/Code/styles/codeVariant.ts +2 -2
  57. package/src/components/ColorInput/ColorInput.interface.ts +2 -2
  58. package/src/components/ColorInput/index.ts +2 -2
  59. package/src/components/ColorInput/stories/ColorInputStories.config.tsx +3 -4
  60. package/src/components/ColorInput/styles/colorInputSize.ts +2 -2
  61. package/src/components/Divider/Divider.interface.ts +4 -4
  62. package/src/components/Divider/index.ts +4 -4
  63. package/src/components/Divider/styles/dividerDirection.ts +2 -2
  64. package/src/components/Divider/styles/dividerSize.ts +2 -2
  65. package/src/components/Dot/Dot.interface.ts +4 -4
  66. package/src/components/Dot/index.ts +3 -3
  67. package/src/components/Dot/styles/dotShape.ts +2 -2
  68. package/src/components/Dot/styles/dotSize.ts +2 -2
  69. package/src/components/Drawer/Drawer.interface.ts +2 -2
  70. package/src/components/Dropdown/Dropdown.interface.ts +6 -6
  71. package/src/components/Dropdown/index.ts +3 -3
  72. package/src/components/Dropdown/styles/dropdownItemSize.ts +2 -2
  73. package/src/components/Group/Group.interface.ts +8 -8
  74. package/src/components/Group/index.ts +8 -8
  75. package/src/components/Group/styles/groupAlign.ts +2 -2
  76. package/src/components/Group/styles/groupDirection.ts +2 -2
  77. package/src/components/Group/styles/groupJustify.ts +2 -2
  78. package/src/components/Group/styles/groupWrap.ts +2 -2
  79. package/src/components/Icon/Icon.interface.ts +10 -10
  80. package/src/components/Icon/index.ts +4 -4
  81. package/src/components/Icon/stories/IconStories.config.ts +1 -1
  82. package/src/components/Icon/styles/iconShape.ts +2 -2
  83. package/src/components/Icon/styles/iconSize.ts +5 -5
  84. package/src/components/Input/Input.interface.ts +4 -4
  85. package/src/components/Input/index.ts +4 -4
  86. package/src/components/Input/stories/InputStories.config.tsx +3 -4
  87. package/src/components/Input/styles/inputShape.ts +2 -2
  88. package/src/components/Input/styles/inputSize.ts +2 -2
  89. package/src/components/InputNumber/InputNumber.interface.ts +8 -8
  90. package/src/components/InputNumber/index.ts +4 -4
  91. package/src/components/InputNumber/styles/inputNumberShape.ts +2 -2
  92. package/src/components/InputNumber/styles/inputNumberSize.ts +2 -2
  93. package/src/components/InputPassword/InputPassword.interface.ts +6 -6
  94. package/src/components/InputPassword/index.ts +4 -4
  95. package/src/components/InputPassword/styles/inputPasswordShape.ts +2 -2
  96. package/src/components/InputPassword/styles/inputPasswordSize.ts +2 -2
  97. package/src/components/Label/Label.interface.ts +2 -2
  98. package/src/components/Label/index.ts +2 -2
  99. package/src/components/Label/stories/LabelStories.config.ts +1 -1
  100. package/src/components/Label/styles/labelShape.ts +2 -2
  101. package/src/components/List/List.interface.ts +2 -2
  102. package/src/components/List/index.ts +4 -4
  103. package/src/components/List/styles/listDirection.ts +2 -2
  104. package/src/components/List/styles/listSize.ts +2 -2
  105. package/src/components/Loader/Loader.interface.ts +4 -4
  106. package/src/components/Loader/index.ts +4 -4
  107. package/src/components/Loader/stories/LoaderStories.config.ts +3 -4
  108. package/src/components/Loader/styles/loaderShape.ts +2 -2
  109. package/src/components/Loader/styles/loaderSize.ts +2 -2
  110. package/src/components/Logo/Logo.interface.ts +4 -4
  111. package/src/components/Logo/index.ts +3 -3
  112. package/src/components/Logo/styles/logoAlign.ts +2 -2
  113. package/src/components/Logo/styles/logoSize.ts +2 -2
  114. package/src/components/MenuItem/MenuItem.interface.ts +4 -4
  115. package/src/components/MenuItem/index.ts +4 -4
  116. package/src/components/MenuItem/styles/menuItemShape.ts +2 -2
  117. package/src/components/MenuItem/styles/menuItemSize.ts +2 -2
  118. package/src/components/Modal/Modal.interface.ts +2 -2
  119. package/src/components/Pagination/Pagination.interface.ts +3 -3
  120. package/src/components/Pagination/index.ts +2 -2
  121. package/src/components/Pagination/styles/paginationSize.ts +2 -2
  122. package/src/components/Radio/Radio.interface.ts +2 -2
  123. package/src/components/Radio/index.ts +2 -2
  124. package/src/components/Radio/styles/radioSize.ts +2 -2
  125. package/src/components/Search/stories/SearchStories.config.ts +3 -4
  126. package/src/components/Search/styles/searchShape.ts +2 -2
  127. package/src/components/Search/styles/searchSize.ts +2 -2
  128. package/src/components/Segmented/Segmented.interface.ts +6 -6
  129. package/src/components/Segmented/index.ts +4 -4
  130. package/src/components/Segmented/styles/segmentedShape.ts +2 -2
  131. package/src/components/Segmented/styles/segmentedSize.ts +2 -2
  132. package/src/components/Select/Select.interface.ts +2 -2
  133. package/src/components/Select/index.ts +2 -2
  134. package/src/components/Select/stories/SelectStories.config.ts +1 -4
  135. package/src/components/Select/styles/selectSize.ts +2 -2
  136. package/src/components/Switch/Switch.interface.ts +4 -4
  137. package/src/components/Switch/index.ts +4 -4
  138. package/src/components/Switch/stories/SwitchStories.config.tsx +3 -4
  139. package/src/components/Switch/styles/switchAlign.ts +2 -2
  140. package/src/components/Switch/styles/switchSize.ts +2 -2
  141. package/src/components/Tab/Tab.interface.ts +2 -2
  142. package/src/components/Tab/index.ts +2 -2
  143. package/src/components/Tab/styles/tabSize.ts +2 -2
  144. package/src/components/Textarea/Textarea.interface.ts +4 -4
  145. package/src/components/Textarea/index.ts +4 -4
  146. package/src/components/Textarea/styles/textareaShape.ts +2 -2
  147. package/src/components/Textarea/styles/textareaSize.ts +2 -2
  148. package/src/components/Tile/Tile.interface.ts +4 -4
  149. package/src/components/Tile/index.ts +4 -4
  150. package/src/components/Tile/styles/tileShape.ts +2 -2
  151. package/src/components/Tile/styles/tileSize.ts +2 -2
  152. package/src/components/Warning/Warning.interface.ts +4 -4
  153. package/src/components/Warning/index.ts +4 -4
  154. package/src/components/Warning/styles/warningShape.ts +2 -2
  155. package/src/components/Warning/styles/warningSize.ts +2 -2
  156. package/src/index.tsx +118 -118
@@ -19,8 +19,8 @@ import type {
19
19
  } from '@itcase/types-ui'
20
20
 
21
21
  import type { IconProps, SvgIconComponent } from '../Icon/Icon.interface'
22
- import type { segmentedShapePropsType } from './styles/segmentedShape'
23
- import type { segmentedSizePropsType } from './styles/segmentedSize'
22
+ import type { SegmentedShapePropsType } from './styles/segmentedShape'
23
+ import type { SegmentedSizePropsType } from './styles/segmentedSize'
24
24
 
25
25
  interface SegmentedAppearanceProps {
26
26
  borderColor?: BorderColorProps
@@ -36,8 +36,8 @@ interface SegmentedAppearanceProps {
36
36
  labelTextActiveColor?: TextColorProps
37
37
  labelTextColor?: TextColorProps
38
38
  labelTextSize?: TextSizeProps
39
- shape?: segmentedShapePropsType
40
- size?: segmentedSizePropsType
39
+ shape?: SegmentedShapePropsType
40
+ size?: SegmentedSizePropsType
41
41
  width?: WidthProps
42
42
  }
43
43
 
@@ -82,8 +82,8 @@ interface SegmentedProps extends SegmentedAppearanceProps {
82
82
  appearance?: CompositeAppearanceStateDefault
83
83
  before?: ReactNode
84
84
  segments: Segment[]
85
- shape?: segmentedShapePropsType
86
- size?: segmentedSizePropsType
85
+ shape?: SegmentedShapePropsType
86
+ size?: SegmentedSizePropsType
87
87
  style?: StyleProp<ViewStyle>
88
88
  value?: string
89
89
  }
@@ -12,9 +12,9 @@ import type {
12
12
  SegmentedProps,
13
13
  } from './Segmented.interface'
14
14
  import { segmentedShapeList } from './styles/segmentedShape'
15
- import type { segmentedShapePropsType } from './styles/segmentedShape'
15
+ import type { SegmentedShapePropsType } from './styles/segmentedShape'
16
16
  import { segmentedSizeList } from './styles/segmentedSize'
17
- import type { segmentedSizePropsType } from './styles/segmentedSize'
17
+ import type { SegmentedSizePropsType } from './styles/segmentedSize'
18
18
 
19
19
  export {
20
20
  Segmented,
@@ -33,6 +33,6 @@ export type {
33
33
  SegmentedAppearanceStyle,
34
34
  SegmentedConfig,
35
35
  SegmentedProps,
36
- segmentedShapePropsType,
37
- segmentedSizePropsType,
36
+ SegmentedShapePropsType,
37
+ SegmentedSizePropsType,
38
38
  }
@@ -31,7 +31,7 @@ const segmentedShapeList = getVariantsPropsList(
31
31
  'segmented_shape_',
32
32
  )
33
33
 
34
- type segmentedShapePropsType = (typeof segmentedShapeList)[number]
34
+ type SegmentedShapePropsType = (typeof segmentedShapeList)[number]
35
35
 
36
36
  export { segmentedShapeList, segmentedShapeStyles }
37
- export type { segmentedShapePropsType }
37
+ export type { SegmentedShapePropsType }
@@ -59,7 +59,7 @@ const segmentedSizeList = getVariantsPropsList(
59
59
  'segmented__item_size_',
60
60
  )
61
61
 
62
- type segmentedSizePropsType = (typeof segmentedSizeList)[number]
62
+ type SegmentedSizePropsType = (typeof segmentedSizeList)[number]
63
63
 
64
64
  export { segmentedSizeList, segmentedSizeStyles }
65
- export type { segmentedSizePropsType }
65
+ export type { SegmentedSizePropsType }
@@ -18,7 +18,7 @@ import type {
18
18
 
19
19
  import type { ComponentGalleryArgs } from '../../storybook'
20
20
  import type { IconProps } from '../Icon/Icon.interface'
21
- import type { selectSizePropsType } from './styles/selectSize'
21
+ import type { SelectSizePropsType } from './styles/selectSize'
22
22
 
23
23
  interface SelectOptionItem {
24
24
  label: string
@@ -38,7 +38,7 @@ interface SelectAppearanceProps {
38
38
  optionTextColorActive?: TextColorProps
39
39
  placeholderTextColor?: TextColorProps
40
40
  shape?: ShapeProps
41
- size?: selectSizePropsType
41
+ size?: SelectSizePropsType
42
42
  textColor?: TextColorProps
43
43
  textSize?: TextSizeProps
44
44
  }
@@ -13,7 +13,7 @@ import type {
13
13
  SelectProps,
14
14
  } from './Select.interface'
15
15
  import { selectSizeList } from './styles/selectSize'
16
- import type { selectSizePropsType } from './styles/selectSize'
16
+ import type { SelectSizePropsType } from './styles/selectSize'
17
17
 
18
18
  export { Select, selectAppearance, selectConfig, selectSizeList }
19
19
  export type {
@@ -27,5 +27,5 @@ export type {
27
27
  SelectMenu,
28
28
  SelectOptionItem,
29
29
  SelectProps,
30
- selectSizePropsType,
30
+ SelectSizePropsType,
31
31
  }
@@ -12,10 +12,7 @@ import type { SelectAppearanceKey, SelectOptionItem } from '../Select.interface'
12
12
 
13
13
  type SelectSizeKey = keyof typeof selectAppearanceSize
14
14
 
15
- const isSelectSizeKey = (value: string): value is SelectSizeKey =>
16
- value in selectAppearanceSize
17
-
18
- const selectSizeKeys = Object.keys(selectAppearanceSize).filter(isSelectSizeKey)
15
+ const selectSizeKeys = Object.keys(selectAppearanceSize) as SelectSizeKey[]
19
16
 
20
17
  const selectTypeOptions = ['placeholder', 'multi'] as const
21
18
 
@@ -42,7 +42,7 @@ const selectSizeStyles = StyleSheet.create({
42
42
 
43
43
  const selectSizeList = getVariantsPropsList(selectSizeStyles, 'select_size_')
44
44
 
45
- type selectSizePropsType = (typeof selectSizeList)[number]
45
+ type SelectSizePropsType = (typeof selectSizeList)[number]
46
46
 
47
47
  export { selectSizeList, selectSizeStyles }
48
- export type { selectSizePropsType }
48
+ export type { SelectSizePropsType }
@@ -17,8 +17,8 @@ import type {
17
17
  } from '@itcase/types-ui'
18
18
 
19
19
  import type { ComponentGalleryArgs } from '../../storybook'
20
- import type { switchAlignPropsType } from './styles/switchAlign'
21
- import type { switchSizePropsType } from './styles/switchSize'
20
+ import type { SwitchAlignPropsType } from './styles/switchAlign'
21
+ import type { SwitchSizePropsType } from './styles/switchSize'
22
22
 
23
23
  interface SwitchAppearanceProps {
24
24
  borderColor?: BorderColorProps
@@ -28,7 +28,7 @@ interface SwitchAppearanceProps {
28
28
  fillActive?: FillActiveProps
29
29
  fillToggle?: FillProps
30
30
  fillToggleActive?: FillActiveProps
31
- size?: switchSizePropsType
31
+ size?: SwitchSizePropsType
32
32
  titleTextColor?: TextColorProps
33
33
  titleTextSize?: TextSizeProps
34
34
  }
@@ -44,7 +44,7 @@ interface SwitchProps extends SwitchAppearanceProps {
44
44
  isDisabled?: boolean
45
45
  onChange?: (isActive: boolean) => void
46
46
  onPress?: (event: GestureResponderEvent) => void
47
- align?: switchAlignPropsType
47
+ align?: SwitchAlignPropsType
48
48
  appearance?: CompositeAppearanceStateDefault
49
49
  dataTestId?: string
50
50
  defaultIsActive?: boolean
@@ -1,7 +1,7 @@
1
1
  import { switchAlignList } from './styles/switchAlign'
2
- import type { switchAlignPropsType } from './styles/switchAlign'
2
+ import type { SwitchAlignPropsType } from './styles/switchAlign'
3
3
  import { switchSizeList } from './styles/switchSize'
4
- import type { switchSizePropsType } from './styles/switchSize'
4
+ import type { SwitchSizePropsType } from './styles/switchSize'
5
5
  import { Switch, switchConfig } from './Switch'
6
6
  import { switchAppearance } from './Switch.appearance'
7
7
  import type {
@@ -21,12 +21,12 @@ export {
21
21
  switchSizeList,
22
22
  }
23
23
  export type {
24
- switchAlignPropsType,
24
+ SwitchAlignPropsType,
25
25
  SwitchAppearance,
26
26
  SwitchAppearanceKey,
27
27
  SwitchAppearanceSize,
28
28
  SwitchAppearanceStyle,
29
29
  SwitchConfig,
30
30
  SwitchProps,
31
- switchSizePropsType,
31
+ SwitchSizePropsType,
32
32
  }
@@ -10,10 +10,9 @@ import { switchAppearanceStyle } from '../appearance/switchStyle'
10
10
  import { switchAppearanceSuccess } from '../appearance/switchSuccess'
11
11
  import type { SwitchAppearanceKey } from '../Switch.interface'
12
12
 
13
- const switchSizeKeys = Object.keys(switchAppearanceSize).filter(
14
- (value): value is keyof typeof switchAppearanceSize =>
15
- value in switchAppearanceSize,
16
- )
13
+ const switchSizeKeys = Object.keys(switchAppearanceSize) as Array<
14
+ keyof typeof switchAppearanceSize
15
+ >
17
16
 
18
17
  const switchTypeOptions = ['switch', 'title', 'title-desc'] as const
19
18
 
@@ -23,7 +23,7 @@ const switchAlignStyles = StyleSheet.create({
23
23
 
24
24
  const switchAlignList = getVariantsPropsList(switchAlignStyles, 'switch_align_')
25
25
 
26
- type switchAlignPropsType = (typeof switchAlignList)[number]
26
+ type SwitchAlignPropsType = (typeof switchAlignList)[number]
27
27
 
28
28
  export { switchAlignList, switchAlignStyles }
29
- export type { switchAlignPropsType }
29
+ export type { SwitchAlignPropsType }
@@ -34,7 +34,7 @@ const switchSizeList = getVariantsPropsList(
34
34
  'switch__item_size_',
35
35
  )
36
36
 
37
- type switchSizePropsType = (typeof switchSizeList)[number]
37
+ type SwitchSizePropsType = (typeof switchSizeList)[number]
38
38
 
39
39
  export { switchSizeList, switchSizeStyles }
40
- export type { switchSizePropsType }
40
+ export type { SwitchSizePropsType }
@@ -3,7 +3,7 @@ import type { GestureResponderEvent, LayoutChangeEvent } from 'react-native'
3
3
 
4
4
  import type { FillProps, TextColorProps, TextSizeProps } from '@itcase/types-ui'
5
5
 
6
- import type { tabSizePropsType } from './styles/tabSize'
6
+ import type { TabSizePropsType } from './styles/tabSize'
7
7
 
8
8
  interface TabProps {
9
9
  onLayout?: (event: LayoutChangeEvent) => void
@@ -12,7 +12,7 @@ interface TabProps {
12
12
  activeTitleTextColor?: TextColorProps
13
13
  after?: ReactNode
14
14
  fill?: FillProps
15
- size: tabSizePropsType
15
+ size: TabSizePropsType
16
16
  title?: string
17
17
  titleTextColor?: TextColorProps
18
18
  titleTextSize?: TextSizeProps
@@ -1,7 +1,7 @@
1
1
  import { tabSizeList } from './styles/tabSize'
2
- import type { tabSizePropsType } from './styles/tabSize'
2
+ import type { TabSizePropsType } from './styles/tabSize'
3
3
  import { Tab } from './Tab'
4
4
  import type { TabProps } from './Tab.interface'
5
5
 
6
6
  export { Tab, tabSizeList }
7
- export type { TabProps, tabSizePropsType }
7
+ export type { TabProps, TabSizePropsType }
@@ -35,7 +35,7 @@ const tabSizeStyles = StyleSheet.create({
35
35
 
36
36
  const tabSizeList = getVariantsPropsList(tabSizeStyles, 'tab__item_size_')
37
37
 
38
- type tabSizePropsType = (typeof tabSizeList)[number]
38
+ type TabSizePropsType = (typeof tabSizeList)[number]
39
39
 
40
40
  export { tabSizeList, tabSizeStyles }
41
- export type { tabSizePropsType }
41
+ export type { TabSizePropsType }
@@ -17,16 +17,16 @@ import type {
17
17
  WidthProps,
18
18
  } from '@itcase/types-ui'
19
19
 
20
- import type { textareaShapePropsType } from './styles/textareaShape'
21
- import type { textareaSizePropsType } from './styles/textareaSize'
20
+ import type { TextareaShapePropsType } from './styles/textareaShape'
21
+ import type { TextareaSizePropsType } from './styles/textareaSize'
22
22
 
23
23
  interface TextareaAppearanceProps {
24
24
  borderColor?: BorderColorProps
25
25
  caret?: FillProps
26
26
  fill?: FillProps
27
27
  placeholderTextColor?: TextColorProps
28
- shape?: textareaShapePropsType
29
- size?: textareaSizePropsType
28
+ shape?: TextareaShapePropsType
29
+ size?: TextareaSizePropsType
30
30
  textColor?: TextColorProps
31
31
  textSize?: TextSizeProps
32
32
  textWeight?: TextWeightProps
@@ -1,7 +1,7 @@
1
1
  import { textareaShapeList } from './styles/textareaShape'
2
- import type { textareaShapePropsType } from './styles/textareaShape'
2
+ import type { TextareaShapePropsType } from './styles/textareaShape'
3
3
  import { textareaSizeList } from './styles/textareaSize'
4
- import type { textareaSizePropsType } from './styles/textareaSize'
4
+ import type { TextareaSizePropsType } from './styles/textareaSize'
5
5
  import { Textarea, textareaConfig } from './Textarea'
6
6
  import { textareaAppearance } from './Textarea.appearance'
7
7
  import type {
@@ -31,6 +31,6 @@ export type {
31
31
  TextareaAppearanceStyle,
32
32
  TextareaConfig,
33
33
  TextareaProps,
34
- textareaShapePropsType,
35
- textareaSizePropsType,
34
+ TextareaShapePropsType,
35
+ TextareaSizePropsType,
36
36
  }
@@ -28,7 +28,7 @@ const textareaShapeList = getVariantsPropsList(
28
28
  'textarea_shape_',
29
29
  )
30
30
 
31
- type textareaShapePropsType = (typeof textareaShapeList)[number]
31
+ type TextareaShapePropsType = (typeof textareaShapeList)[number]
32
32
 
33
33
  export { textareaShapeList, textareaShapeStyles }
34
- export type { textareaShapePropsType }
34
+ export type { TextareaShapePropsType }
@@ -26,7 +26,7 @@ const textareaSizeList = getVariantsPropsList(
26
26
  'textarea_size_',
27
27
  )
28
28
 
29
- type textareaSizePropsType = (typeof textareaSizeList)[number]
29
+ type TextareaSizePropsType = (typeof textareaSizeList)[number]
30
30
 
31
31
  export { textareaSizeList, textareaSizeStyles }
32
- export type { textareaSizePropsType }
32
+ export type { TextareaSizePropsType }
@@ -26,8 +26,8 @@ import type {
26
26
  import type { ComponentGalleryArgs } from '../../storybook'
27
27
  import type { BadgeProps } from '../Badge/Badge.interface'
28
28
  import type { IconProps, SvgIconComponent } from '../Icon/Icon.interface'
29
- import type { tileShapePropsType } from './styles/tileShape'
30
- import type { tileSizePropsType } from './styles/tileSize'
29
+ import type { TileShapePropsType } from './styles/tileShape'
30
+ import type { TileSizePropsType } from './styles/tileSize'
31
31
 
32
32
  interface TileAppearanceProps {
33
33
  badgeAppearance?: BadgeProps['appearance']
@@ -80,8 +80,8 @@ interface TileProps extends TileAppearanceProps {
80
80
  children?: ReactNode
81
81
  desc?: string
82
82
  icon?: SvgIconComponent
83
- shape?: tileShapePropsType
84
- size?: tileSizePropsType
83
+ shape?: TileShapePropsType
84
+ size?: TileSizePropsType
85
85
  style?: StyleProp<ViewStyle>
86
86
  title?: string
87
87
  }
@@ -1,7 +1,7 @@
1
1
  import { tileShapeList } from './styles/tileShape'
2
- import type { tileShapePropsType } from './styles/tileShape'
2
+ import type { TileShapePropsType } from './styles/tileShape'
3
3
  import { tileSizeList } from './styles/tileSize'
4
- import type { tileSizePropsType } from './styles/tileSize'
4
+ import type { TileSizePropsType } from './styles/tileSize'
5
5
  import { Tile, tileConfig } from './Tile'
6
6
  import { tileAppearance } from './Tile.appearance'
7
7
  import type {
@@ -25,6 +25,6 @@ export type {
25
25
  TileAppearanceStyle,
26
26
  TileConfig,
27
27
  TileProps,
28
- tileShapePropsType,
29
- tileSizePropsType,
28
+ TileShapePropsType,
29
+ TileSizePropsType,
30
30
  }
@@ -28,7 +28,7 @@ const tileShapeStyles = StyleSheet.create({
28
28
 
29
29
  const tileShapeList = getVariantsPropsList(tileShapeStyles, 'tile_shape_')
30
30
 
31
- type tileShapePropsType = (typeof tileShapeList)[number]
31
+ type TileShapePropsType = (typeof tileShapeList)[number]
32
32
 
33
33
  export { tileShapeList, tileShapeStyles }
34
- export type { tileShapePropsType }
34
+ export type { TileShapePropsType }
@@ -56,7 +56,7 @@ const tileSizeStyles = StyleSheet.create({
56
56
 
57
57
  const tileSizeList = getVariantsPropsList(tileSizeStyles, 'tile_size_')
58
58
 
59
- type tileSizePropsType = (typeof tileSizeList)[number]
59
+ type TileSizePropsType = (typeof tileSizeList)[number]
60
60
 
61
61
  export { tileSizeList, tileSizeStyles }
62
- export type { tileSizePropsType }
62
+ export type { TileSizePropsType }
@@ -20,8 +20,8 @@ import type {
20
20
  } from '@itcase/types-ui'
21
21
 
22
22
  import type { IconProps, SvgIconComponent } from '../Icon/Icon.interface'
23
- import type { iconSizePropsType } from '../Icon/styles/iconSize'
24
- import type { warningSizePropsType } from './styles/warningSize'
23
+ import type { IconSizePropsType } from '../Icon/styles/iconSize'
24
+ import type { WarningSizePropsType } from './styles/warningSize'
25
25
 
26
26
  interface WarningAppearanceProps {
27
27
  borderColor?: BorderColorProps
@@ -34,12 +34,12 @@ interface WarningAppearanceProps {
34
34
  iconBefore?: SvgIconComponent
35
35
  iconBeforeAppearance?: IconProps['appearance']
36
36
  iconBeforeFillIcon?: ItemFillActiveProps
37
- iconSize?: iconSizePropsType
37
+ iconSize?: IconSizePropsType
38
38
  labelTextColor?: TextColorProps
39
39
  labelTextSize?: TextSizeProps
40
40
  labelTextWeight?: TextWeightProps
41
41
  shape?: ShapeProps
42
- size?: warningSizePropsType
42
+ size?: WarningSizePropsType
43
43
  }
44
44
 
45
45
  type WarningConfig = AppearanceConfig<
@@ -1,7 +1,7 @@
1
1
  import { warningShapeList } from './styles/warningShape'
2
- import type { warningShapePropsType } from './styles/warningShape'
2
+ import type { WarningShapePropsType } from './styles/warningShape'
3
3
  import { warningSizeList } from './styles/warningSize'
4
- import type { warningSizePropsType } from './styles/warningSize'
4
+ import type { WarningSizePropsType } from './styles/warningSize'
5
5
  import { Warning, warningConfig } from './Warning'
6
6
  import { warningAppearance } from './Warning.appearance'
7
7
  import type {
@@ -23,6 +23,6 @@ export type {
23
23
  WarningAppearanceKey,
24
24
  WarningConfig,
25
25
  WarningProps,
26
- warningShapePropsType,
27
- warningSizePropsType,
26
+ WarningShapePropsType,
27
+ WarningSizePropsType,
28
28
  }
@@ -32,7 +32,7 @@ const warningShapeList = getVariantsPropsList(
32
32
  'warning_shape_',
33
33
  )
34
34
 
35
- type warningShapePropsType = (typeof warningShapeList)[number]
35
+ type WarningShapePropsType = (typeof warningShapeList)[number]
36
36
 
37
37
  export { warningShapeList, warningShapeStyles }
38
- export type { warningShapePropsType }
38
+ export type { WarningShapePropsType }
@@ -25,7 +25,7 @@ const warningSizeStyles = StyleSheet.create({
25
25
 
26
26
  const warningSizeList = getVariantsPropsList(warningSizeStyles, 'warning_size_')
27
27
 
28
- type warningSizePropsType = (typeof warningSizeList)[number]
28
+ type WarningSizePropsType = (typeof warningSizeList)[number]
29
29
 
30
30
  export { warningSizeList, warningSizeStyles }
31
- export type { warningSizePropsType }
31
+ export type { WarningSizePropsType }