@itcase/ui 1.8.19 → 1.8.22

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 (287) hide show
  1. package/dist/Avatar_cjs_DSXs1Yrg.js +221 -0
  2. package/dist/Avatar_es_DByUaJL6.js +217 -0
  3. package/dist/{Button_cjs_DjCsrrlr.js → Button_cjs_CukkOE-v.js} +15 -6
  4. package/dist/{Button_es_CHDT0-8K.js → Button_es_DXcCJuNX.js} +15 -6
  5. package/dist/{ChipsGroup_cjs_CTpMiyQb.js → ChipsGroup_cjs_9wrMZrzL.js} +2 -2
  6. package/dist/{ChipsGroup_es_CP_xm25C.js → ChipsGroup_es_CjGZ-ulT.js} +2 -2
  7. package/dist/{DatePicker_cjs_DPtOL1eW.js → DatePicker_cjs_BriuTQqj.js} +4 -4
  8. package/dist/{DatePicker_es_DCuzMD0T.js → DatePicker_es_DzY_fVii.js} +4 -4
  9. package/dist/{DropdownItem_cjs_DW0UXopm.js → DropdownItem_cjs_DY61IdLK.js} +15 -15
  10. package/dist/{DropdownItem_es_vuNthDPa.js → DropdownItem_es_D8mY9vFZ.js} +15 -15
  11. package/dist/{Group_cjs_B0oM0pjF.js → Group_cjs_Cwt0gWk4.js} +9 -2
  12. package/dist/{Group_es_B8pQHYsC.js → Group_es_CYW2Hquh.js} +9 -2
  13. package/dist/{Image_cjs_DuIBtUq5.js → Image_cjs_CCWqbNn4.js} +11 -3
  14. package/dist/{Image_es_CSzHhlA1.js → Image_es_DZUVp0FS.js} +11 -3
  15. package/dist/{Label_cjs_mw4pHZR1.js → Label_cjs_CnwET26s.js} +12 -4
  16. package/dist/{Label_es_CiPEDFcR.js → Label_es_Dc18d1gY.js} +12 -4
  17. package/dist/Link_cjs_DbRGq2Yk.js +303 -0
  18. package/dist/Link_es_DxtZLeKY.js +298 -0
  19. package/dist/{Loader_cjs_DZbIy6Ko.js → Loader_cjs_3VRzFLI2.js} +14 -2
  20. package/dist/{Loader_es_SHdP0IkA.js → Loader_es_DEYowVdU.js} +14 -2
  21. package/dist/Text_cjs_DPhKj3wf.js +68 -0
  22. package/dist/{Text_es_D012qJ8s.js → Text_es_BRb3qqKM.js} +8 -3
  23. package/dist/{Tooltip_cjs_BKOjNMkt.js → Tooltip_cjs_PkuRdzzy.js} +480 -17
  24. package/dist/{Tooltip_es_C7zstTA2.js → Tooltip_es_BaGfb-qC.js} +480 -17
  25. package/dist/cjs/components/Accordion.js +3 -3
  26. package/dist/cjs/components/Avatar.js +13 -236
  27. package/dist/cjs/components/AvatarStack.js +35 -0
  28. package/dist/cjs/components/Badge.js +3 -3
  29. package/dist/cjs/components/Breadcrumbs.js +4 -4
  30. package/dist/cjs/components/Button.js +5 -5
  31. package/dist/cjs/components/Cell.js +16 -150
  32. package/dist/cjs/components/Checkbox.js +1 -1
  33. package/dist/cjs/components/Chips.js +4 -4
  34. package/dist/cjs/components/Choice.js +6 -6
  35. package/dist/cjs/components/Code.js +2 -8
  36. package/dist/cjs/components/CookiesWarning.js +13 -6
  37. package/dist/cjs/components/DatePeriod.js +8 -8
  38. package/dist/cjs/components/DatePicker.js +7 -7
  39. package/dist/cjs/components/Drawer.js +26 -2
  40. package/dist/cjs/components/Dropdown.js +5 -2
  41. package/dist/cjs/components/Group.js +1 -1
  42. package/dist/cjs/components/Icon.js +3 -3
  43. package/dist/cjs/components/Image.js +2 -2
  44. package/dist/cjs/components/InputPassword.js +166 -44
  45. package/dist/cjs/components/Label.js +4 -4
  46. package/dist/cjs/components/Link.js +1 -1
  47. package/dist/cjs/components/List.js +1 -1
  48. package/dist/cjs/components/Loader.js +2 -2
  49. package/dist/cjs/components/Logo.js +1 -1
  50. package/dist/cjs/components/MenuItem.js +30 -10
  51. package/dist/cjs/components/Modal.js +4 -4
  52. package/dist/cjs/components/ModalSheetBottom.js +7 -0
  53. package/dist/cjs/components/Notification.js +1 -1
  54. package/dist/cjs/components/Pagination.js +11 -9
  55. package/dist/cjs/components/Radio.js +1 -1
  56. package/dist/cjs/components/Response/img.js +33 -0
  57. package/dist/cjs/components/Response.js +96 -184
  58. package/dist/cjs/components/Search.js +126 -13
  59. package/dist/cjs/components/Segmented.js +1 -1
  60. package/dist/cjs/components/Select.js +4 -4
  61. package/dist/cjs/components/Swiper.js +3 -3
  62. package/dist/cjs/components/Switch.js +238 -3
  63. package/dist/cjs/components/Tab.js +3 -3
  64. package/dist/cjs/components/Text.js +1 -1
  65. package/dist/cjs/components/Tile.js +81 -8
  66. package/dist/cjs/components/Title.js +3 -3
  67. package/dist/cjs/components/Tooltip.js +3 -3
  68. package/dist/components/Accordion.js +3 -3
  69. package/dist/components/Avatar.js +10 -237
  70. package/dist/components/AvatarStack.js +33 -0
  71. package/dist/components/Badge.js +3 -3
  72. package/dist/components/Breadcrumbs.js +4 -4
  73. package/dist/components/Button.js +5 -5
  74. package/dist/components/Cell.js +16 -150
  75. package/dist/components/Checkbox.js +1 -1
  76. package/dist/components/Chips.js +4 -4
  77. package/dist/components/Choice.js +6 -6
  78. package/dist/components/Code.js +2 -8
  79. package/dist/components/CookiesWarning.js +13 -7
  80. package/dist/components/DatePeriod.js +8 -8
  81. package/dist/components/DatePicker.js +7 -7
  82. package/dist/components/Drawer.js +26 -2
  83. package/dist/components/Dropdown.js +5 -2
  84. package/dist/components/Group.js +1 -1
  85. package/dist/components/Icon.js +3 -3
  86. package/dist/components/Image.js +2 -2
  87. package/dist/components/InputPassword.js +166 -43
  88. package/dist/components/Label.js +4 -4
  89. package/dist/components/Link.js +1 -1
  90. package/dist/components/List.js +1 -1
  91. package/dist/components/Loader.js +2 -2
  92. package/dist/components/Logo.js +1 -1
  93. package/dist/components/MenuItem.js +30 -10
  94. package/dist/components/Modal.js +4 -4
  95. package/dist/components/ModalSheetBottom.js +7 -1
  96. package/dist/components/Notification.js +1 -1
  97. package/dist/components/Pagination.js +11 -9
  98. package/dist/components/Radio.js +1 -1
  99. package/dist/components/Response/img.js +31 -0
  100. package/dist/components/Response.js +96 -184
  101. package/dist/components/Search.js +126 -13
  102. package/dist/components/Segmented.js +1 -1
  103. package/dist/components/Select.js +4 -4
  104. package/dist/components/Swiper.js +3 -3
  105. package/dist/components/Switch.js +238 -3
  106. package/dist/components/Tab.js +3 -3
  107. package/dist/components/Text.js +1 -1
  108. package/dist/components/Tile.js +81 -8
  109. package/dist/components/Title.js +3 -3
  110. package/dist/components/Tooltip.js +3 -3
  111. package/dist/css/components/AvatarStack/AvatarStack.css +54 -0
  112. package/dist/css/components/Code/Code.css +3 -6
  113. package/dist/css/components/Icon/Icon.css +128 -4
  114. package/dist/css/components/Label/Label.css +4 -4
  115. package/dist/css/components/MenuItem/MenuItem.css +19 -43
  116. package/dist/css/components/Response/Response.css +6 -3
  117. package/dist/css/components/Tab/Tab.css +14 -31
  118. package/dist/css/components/Text/Text.css +0 -9
  119. package/dist/css/components/Tile/Tile.css +7 -5
  120. package/dist/css/styles/border-color/border-color_hover.css +6 -8
  121. package/dist/css/styles/fill/fill_active.css +19 -9
  122. package/dist/css/styles/fill/fill_active_hover.css +19 -0
  123. package/dist/css/styles/fill/fill_hover.css +19 -0
  124. package/dist/css/styles/svg-color/svg_fill.css +5 -5
  125. package/dist/css/styles/text-color/text-color_active.css +17 -0
  126. package/dist/css/styles/text-color/text-color_active_hover.css +40 -0
  127. package/dist/stories/Plsyground.mdx +0 -1
  128. package/dist/stories/index.stories.js +46 -0
  129. package/dist/stories/useDevicePropsGenerator.mdx +76 -102
  130. package/dist/stories/useMediaQueries.mdx +32 -7
  131. package/dist/stories/useStyles.mdx +50 -2
  132. package/dist/types/components/Avatar/appearance/avatarAccent.d.ts +0 -4
  133. package/dist/types/components/Avatar/appearance/avatarDanger.d.ts +0 -1
  134. package/dist/types/components/Avatar/appearance/avatarInfo.d.ts +0 -4
  135. package/dist/types/components/Avatar/appearance/avatarPrimary.d.ts +0 -1
  136. package/dist/types/components/Avatar/appearance/avatarSecondary.d.ts +0 -1
  137. package/dist/types/components/Avatar/appearance/avatarSuccess.d.ts +1 -3
  138. package/dist/types/components/Avatar/appearance/avatarSurface.d.ts +0 -6
  139. package/dist/types/components/AvatarStack/AvatarStack.d.ts +3 -0
  140. package/dist/types/components/AvatarStack/AvatarStack.interface.d.ts +9 -0
  141. package/dist/types/components/AvatarStack/index.d.ts +2 -0
  142. package/dist/types/components/Button/appearance/buttonAccent.d.ts +1 -0
  143. package/dist/types/components/Button/appearance/buttonDanger.d.ts +8 -0
  144. package/dist/types/components/Cell/appearance/cellSize.d.ts +8 -44
  145. package/dist/types/components/Code/appearance/codeSize.d.ts +2 -8
  146. package/dist/types/components/CookiesWarning/CookiesWarning.appearance.d.ts +5 -0
  147. package/dist/types/components/CookiesWarning/index.d.ts +2 -1
  148. package/dist/types/components/Drawer/appearance/drawerSurface.d.ts +25 -0
  149. package/dist/types/components/Dropdown/appearance/dropdownAccent.d.ts +0 -6
  150. package/dist/types/components/Dropdown/appearance/dropdownSurface.d.ts +5 -0
  151. package/dist/types/components/InputPassword/InputPassword.appearance.d.ts +2 -3
  152. package/dist/types/components/InputPassword/InputPassword.interface.d.ts +4 -11
  153. package/dist/types/components/InputPassword/appearance/inputPasswordDefault.d.ts +24 -0
  154. package/dist/types/components/InputPassword/appearance/inputPasswordDisabled.d.ts +20 -0
  155. package/dist/types/components/InputPassword/appearance/inputPasswordError.d.ts +20 -0
  156. package/dist/types/components/InputPassword/appearance/inputPasswordRequire.d.ts +20 -0
  157. package/dist/types/components/InputPassword/appearance/inputPasswordSize.d.ts +59 -0
  158. package/dist/types/components/InputPassword/appearance/inputPasswordStyle.d.ts +16 -0
  159. package/dist/types/components/InputPassword/appearance/inputPasswordSuccess.d.ts +20 -0
  160. package/dist/types/components/InputPassword/index.d.ts +1 -1
  161. package/dist/types/components/Label/appearance/labelAccent.d.ts +7 -0
  162. package/dist/types/components/Label/appearance/labelSize.d.ts +1 -0
  163. package/dist/types/components/Link/Link.interface.d.ts +1 -1
  164. package/dist/types/components/{Cell/appearance/cellAccent.d.ts → Link/appearance/linkAccent.d.ts} +2 -3
  165. package/dist/types/components/{Cell/appearance/cellDanger.d.ts → Link/appearance/linkDanger.d.ts} +2 -2
  166. package/dist/types/components/Link/appearance/linkDisabled.d.ts +20 -0
  167. package/dist/types/components/{Cell/appearance/cellError.d.ts → Link/appearance/linkError.d.ts} +2 -2
  168. package/dist/types/components/{Cell/appearance/cellInfo.d.ts → Link/appearance/linkInfo.d.ts} +2 -2
  169. package/dist/types/components/{Cell/appearance/cellPrimary.d.ts → Link/appearance/linkPrimary.d.ts} +2 -2
  170. package/dist/types/components/Link/appearance/linkRequire.d.ts +20 -0
  171. package/dist/types/components/{Cell/appearance/cellSecondary.d.ts → Link/appearance/linkSecondary.d.ts} +2 -2
  172. package/dist/types/components/Link/appearance/linkSize.d.ts +59 -0
  173. package/dist/types/components/Link/appearance/linkStyle.d.ts +16 -0
  174. package/dist/types/components/{Cell/appearance/cellSuccess.d.ts → Link/appearance/linkSuccess.d.ts} +2 -2
  175. package/dist/types/components/Link/appearance/linkSurface.d.ts +25 -0
  176. package/dist/types/components/{Cell/appearance/cellWarning.d.ts → Link/appearance/linkWarning.d.ts} +2 -2
  177. package/dist/types/components/Loader/Loader.appearance.d.ts +3 -2
  178. package/dist/types/components/Loader/Loader.interface.d.ts +16 -17
  179. package/dist/types/components/Loader/appearance/loaderSize.d.ts +12 -0
  180. package/dist/types/components/MenuItem/appearance/menuItemSize.d.ts +1 -0
  181. package/dist/types/components/MenuItem/appearance/menuItemSurface.d.ts +4 -2
  182. package/dist/types/components/ModalSheetBottom/ModalSheetBottom.appearance.d.ts +5 -0
  183. package/dist/types/components/ModalSheetBottom/index.d.ts +1 -0
  184. package/dist/types/components/Pagination/appearance/paginationSize.d.ts +8 -0
  185. package/dist/types/components/Pagination/appearance/paginationSurface.d.ts +2 -0
  186. package/dist/types/components/Response/Response.appearance.d.ts +2 -2
  187. package/dist/types/components/Response/appearance/responceConfirm.d.ts +13 -0
  188. package/dist/types/components/Response/appearance/responceFail.d.ts +13 -0
  189. package/dist/types/components/Response/appearance/responceNothingFound.d.ts +13 -0
  190. package/dist/types/components/Response/appearance/responceRefresh.d.ts +13 -0
  191. package/dist/types/components/Response/appearance/responseError.d.ts +13 -0
  192. package/dist/types/components/Response/appearance/responseSuccess.d.ts +13 -0
  193. package/dist/types/components/Response/appearance/responseUnableLoadData.d.ts +13 -0
  194. package/dist/types/components/Response/appearance/responseWarning.d.ts +13 -0
  195. package/dist/types/components/Response/img/index.d.ts +12 -0
  196. package/dist/types/components/Search/appearance/searchDefault.d.ts +24 -0
  197. package/dist/types/components/Search/appearance/searchDisabled.d.ts +20 -0
  198. package/dist/types/components/Search/appearance/searchError.d.ts +20 -0
  199. package/dist/types/components/Search/appearance/searchRequire.d.ts +20 -0
  200. package/dist/types/components/Search/appearance/searchSize.d.ts +18 -8
  201. package/dist/types/components/Search/appearance/searchSuccess.d.ts +20 -0
  202. package/dist/types/components/Switch/Switch.appearance.d.ts +1 -1
  203. package/dist/types/components/Switch/appearance/switchAccent.d.ts +20 -0
  204. package/dist/types/components/Switch/appearance/switchDanger.d.ts +7 -0
  205. package/dist/types/components/Switch/appearance/switchDisabled.d.ts +20 -0
  206. package/dist/types/components/Switch/appearance/switchError.d.ts +11 -0
  207. package/dist/types/components/Switch/appearance/switchInfo.d.ts +21 -0
  208. package/dist/types/components/Switch/appearance/switchPrimary.d.ts +8 -0
  209. package/dist/types/components/Switch/appearance/switchRequire.d.ts +20 -0
  210. package/dist/types/components/Switch/appearance/switchSecondary.d.ts +8 -0
  211. package/dist/types/components/Switch/appearance/switchSize.d.ts +59 -0
  212. package/dist/types/components/Switch/appearance/switchStyle.d.ts +16 -0
  213. package/dist/types/components/Switch/appearance/switchSuccess.d.ts +11 -0
  214. package/dist/types/components/Switch/appearance/switchSurface.d.ts +25 -0
  215. package/dist/types/components/Switch/appearance/switchWarning.d.ts +11 -0
  216. package/dist/types/components/Tile/appearance/tileSize.d.ts +51 -0
  217. package/dist/types/components/Tile/appearance/tileSurface.d.ts +24 -0
  218. package/dist/types/components/Title/Title.appearance.d.ts +2 -2
  219. package/dist/types/components/Title/Title.interface.d.ts +3 -3
  220. package/dist/types/components/Title/appearance/titleAccent.d.ts +20 -0
  221. package/dist/types/components/Title/appearance/titleDanger.d.ts +7 -0
  222. package/dist/types/components/Title/appearance/titleDisabled.d.ts +20 -0
  223. package/dist/types/components/Title/appearance/titleError.d.ts +11 -0
  224. package/dist/types/components/Title/appearance/titleInfo.d.ts +21 -0
  225. package/dist/types/components/Title/appearance/titlePrimary.d.ts +8 -0
  226. package/dist/types/components/Title/appearance/titleRequire.d.ts +20 -0
  227. package/dist/types/components/Title/appearance/titleSecondary.d.ts +8 -0
  228. package/dist/types/components/Title/appearance/titleSize.d.ts +59 -0
  229. package/dist/types/components/Title/appearance/titleStyle.d.ts +16 -0
  230. package/dist/types/components/Title/appearance/titleSuccess.d.ts +11 -0
  231. package/dist/types/components/Title/appearance/titleSurface.d.ts +25 -0
  232. package/dist/types/components/Title/appearance/titleWarning.d.ts +11 -0
  233. package/dist/types/components/Tooltip/Tooltip.appearance.d.ts +1 -1
  234. package/dist/types/components/Tooltip/appearance/tooltipAccent.d.ts +20 -0
  235. package/dist/types/components/Tooltip/appearance/tooltipDanger.d.ts +7 -0
  236. package/dist/types/components/Tooltip/appearance/tooltipDisabled.d.ts +20 -0
  237. package/dist/types/components/Tooltip/appearance/tooltipError.d.ts +11 -0
  238. package/dist/types/components/Tooltip/appearance/tooltipInfo.d.ts +21 -0
  239. package/dist/types/components/Tooltip/appearance/tooltipPrimary.d.ts +8 -0
  240. package/dist/types/components/Tooltip/appearance/tooltipRequire.d.ts +20 -0
  241. package/dist/types/components/Tooltip/appearance/tooltipSecondary.d.ts +8 -0
  242. package/dist/types/components/Tooltip/appearance/tooltipSize.d.ts +59 -0
  243. package/dist/types/components/Tooltip/appearance/tooltipStyle.d.ts +16 -0
  244. package/dist/types/components/Tooltip/appearance/tooltipSuccess.d.ts +11 -0
  245. package/dist/types/components/Tooltip/appearance/tooltipSurface.d.ts +25 -0
  246. package/dist/types/components/Tooltip/appearance/tooltipWarning.d.ts +11 -0
  247. package/package.json +7 -7
  248. package/dist/Link_cjs_yht44xJv.js +0 -68
  249. package/dist/Link_es_DkW06IM-.js +0 -63
  250. package/dist/Text_cjs_iL1l_7V1.js +0 -63
  251. package/dist/cjs/components/InputMask.js +0 -65
  252. package/dist/cjs/components/Panel.js +0 -44
  253. package/dist/components/InputMask.js +0 -62
  254. package/dist/components/Panel.js +0 -41
  255. package/dist/css/components/InputMask/InputMask.css +0 -77
  256. package/dist/css/components/Panel/Panel.css +0 -107
  257. package/dist/stories/Accordion.mdx +0 -11
  258. package/dist/stories/AccordionItem.mdx +0 -15
  259. package/dist/stories/Breadcrumbs.mdx +0 -15
  260. package/dist/stories/BreadcrumbsItem.mdx +0 -17
  261. package/dist/stories/Dot.mdx +0 -19
  262. package/dist/stories/Drawer.mdx +0 -11
  263. package/dist/stories/Dropdown.mdx +0 -12
  264. package/dist/stories/DropdownItem.mdx +0 -19
  265. package/dist/stories/Image.mdx +0 -15
  266. package/dist/stories/Input.mdx +0 -31
  267. package/dist/stories/InputPassword.mdx +0 -15
  268. package/dist/stories/Label.mdx +0 -11
  269. package/dist/stories/ListItem.mdx +0 -11
  270. package/dist/stories/Logo.mdx +0 -24
  271. package/dist/stories/MenuItem.mdx +0 -15
  272. package/dist/stories/Modal.mdx +0 -15
  273. package/dist/stories/Notification.mdx +0 -23
  274. package/dist/stories/Pagination.mdx +0 -11
  275. package/dist/stories/Radio.mdx +0 -28
  276. package/dist/stories/Response.mdx +0 -11
  277. package/dist/stories/SearchInput.mdx +0 -19
  278. package/dist/stories/Switch.mdx +0 -23
  279. package/dist/stories/Tab.mdx +0 -27
  280. package/dist/stories/Text.mdx +0 -35
  281. package/dist/stories/Tile.mdx +0 -11
  282. package/dist/types/components/InputMask/InputMask.d.ts +0 -5
  283. package/dist/types/components/InputMask/InputMask.interface.d.ts +0 -54
  284. package/dist/types/components/InputMask/index.d.ts +0 -1
  285. package/dist/types/components/Panel/Panel.d.ts +0 -5
  286. package/dist/types/components/Panel/Panel.interface.d.ts +0 -58
  287. package/dist/types/components/Panel/index.d.ts +0 -1
@@ -1,4 +1,4 @@
1
- declare const cellAppearanceWarning: {
1
+ declare const linkAppearanceWarning: {
2
2
  warning: {
3
3
  fill: string;
4
4
  fillHover: string;
@@ -8,4 +8,4 @@ declare const cellAppearanceWarning: {
8
8
  loaderItemFill: string;
9
9
  };
10
10
  };
11
- export { cellAppearanceWarning };
11
+ export { linkAppearanceWarning };
@@ -1,2 +1,3 @@
1
- import { loaderAppearanceType } from './Loader.interface';
2
- export declare const loaderAppearance: loaderAppearanceType;
1
+ import { LoaderAppearance } from './Loader.interface';
2
+ declare const loaderAppearance: LoaderAppearance;
3
+ export { loaderAppearance };
@@ -1,32 +1,31 @@
1
1
  import { CSSProperties, ReactNode } from 'react';
2
- import { AppearanceKeysDefault, FillProps, HeightProps, ItemColorProps, PositionProps, TextColorProps, TextSizeProps, WidthProps } from '@itcase/types';
2
+ import { AppearanceKeysDefault, FillProps, HeightProps, ItemColorProps, SizeProps, TextColorProps, TextSizeProps, WidthProps } from '@itcase/types';
3
3
  import { StyleAttributes } from 'src/hooks/useStyles/styleAttributes.interface';
4
- export interface LoaderThemeColor {
4
+ type LoaderConfig = {
5
5
  [key: number | string | symbol]: any;
6
+ appearance: LoaderAppearance | undefined;
7
+ setAppearance: (newComponent: LoaderAppearance) => void;
8
+ };
9
+ type LoaderAppearanceProps = {
6
10
  fill?: FillProps;
7
11
  height?: HeightProps;
8
12
  itemFill?: ItemColorProps;
13
+ size?: SizeProps;
9
14
  textColor?: TextColorProps;
10
15
  textSize?: TextSizeProps;
11
16
  width?: WidthProps;
12
- }
13
- type AppearanceKeys = AppearanceKeysDefault & {};
14
- export type LoaderAppearanceType = {
15
- [key in AppearanceKeys]?: LoaderThemeColor;
16
17
  };
17
- export interface LoaderConfig {
18
- [key: number | string | symbol]: any;
19
- appearance: LoaderAppearanceType | undefined;
20
- setAppearance: (newComponent: LoaderAppearanceType) => void;
21
- }
22
- export interface LoaderProps extends LoaderThemeColor, StyleAttributes {
18
+ type LoaderAppearance = {
19
+ [key in AppearanceKeysDefault]?: LoaderAppearanceProps;
20
+ };
21
+ type LoaderProps = LoaderAppearanceProps & StyleAttributes & {
23
22
  [key: number | string | symbol]: any;
24
- appearance?: AppearanceKeys;
23
+ appearance?: AppearanceKeysDefault;
25
24
  children?: ReactNode;
26
25
  className?: string;
27
- position?: PositionProps;
26
+ height?: string | HeightProps;
28
27
  style?: CSSProperties;
29
28
  text?: string;
30
- set?: string;
31
- }
32
- export {};
29
+ width?: string | WidthProps;
30
+ };
31
+ export type { LoaderAppearance, LoaderConfig, LoaderProps };
@@ -0,0 +1,12 @@
1
+ declare const loaderAppearanceSize: {
2
+ sizeL: {
3
+ size: string;
4
+ };
5
+ sizeM: {
6
+ size: string;
7
+ };
8
+ sizeS: {
9
+ size: string;
10
+ };
11
+ };
12
+ export { loaderAppearanceSize };
@@ -18,6 +18,7 @@ declare const menuItemAppearanceSize: {
18
18
  sizeL: {
19
19
  size: string;
20
20
  labelTextSize: string;
21
+ descTextSize: string;
21
22
  iconAfterFillSize: string;
22
23
  iconAfterSize: string;
23
24
  iconBeforeFillSize: string;
@@ -1,8 +1,12 @@
1
1
  declare const menuItemAppearanceSurface: {
2
2
  surfacePrimary: {
3
3
  fill: string;
4
+ fillActive: string;
5
+ fillActiveHover: string;
4
6
  fillHover: string;
5
7
  labelTextColor: string;
8
+ iconAfterFillIcon: string;
9
+ iconBeforeFillIcon: string;
6
10
  };
7
11
  surfaceQuaternary: {
8
12
  fill: string;
@@ -13,8 +17,6 @@ declare const menuItemAppearanceSurface: {
13
17
  fill: string;
14
18
  fillHover: string;
15
19
  labelTextColor: string;
16
- loaderFill: string;
17
- loaderItemFill: string;
18
20
  };
19
21
  surfaceTertiary: {
20
22
  fill: string;
@@ -0,0 +1,5 @@
1
+ export declare const modalSheetBottomAppearance: {
2
+ dev: {
3
+ fill: string;
4
+ };
5
+ };
@@ -1 +1,2 @@
1
+ export { modalSheetBottomAppearance } from './ModalSheetBottom.appearance';
1
2
  export { ModalSheetBottom } from './ModalSheetBottom';
@@ -30,6 +30,14 @@ declare const paginationAppearanceSize: {
30
30
  iconAfterSize: string;
31
31
  iconBeforeFillSize: string;
32
32
  iconBeforeSize: string;
33
+ gap: string;
34
+ marginPagesDisplayed: number;
35
+ pageCountDescTextSize: string;
36
+ pageCountDropdownItemDividerSize: string;
37
+ pageCountDropdownItemLabelSize: string;
38
+ pageCountDropdownItemSize: string;
39
+ pageCountInputIconFillSize: string;
40
+ pageCountInputTextSize: string;
33
41
  };
34
42
  sizeS: {
35
43
  size: string;
@@ -20,6 +20,8 @@ declare const paginationAppearanceSurface: {
20
20
  pageCountDropdownItemLabelAlign: string;
21
21
  pageCountDropdownItemLabelColor: string;
22
22
  pageCountDropdownItemLabelColorActive: string;
23
+ pageCountDropdownItemLabelColorActiveHover: string;
24
+ pageCountDropdownItemLabelColorHover: string;
23
25
  pageCountDropdownItemLabelSize: string;
24
26
  pageCountDropdownItemShowDivider: boolean;
25
27
  pageCountDropdownItemSize: string;
@@ -1,2 +1,2 @@
1
- import { responseAppearanceType } from './Response.interface';
2
- export declare const responseAppearance: responseAppearanceType;
1
+ import { ResponseAppearanceType } from './Response.interface';
2
+ export declare const responseAppearance: ResponseAppearanceType;
@@ -0,0 +1,13 @@
1
+ declare const responseAppearanceConfirm: {
2
+ confirm: {
3
+ fill: string;
4
+ titleTextColor: string;
5
+ labelTextColor: string;
6
+ primaryButtonAppearance: string;
7
+ secondaryButtonAppearance: string;
8
+ svgFill: string;
9
+ SvgImage: any;
10
+ svgPathFill: string;
11
+ };
12
+ };
13
+ export { responseAppearanceConfirm };
@@ -0,0 +1,13 @@
1
+ declare const responseAppearanceFail: {
2
+ fail: {
3
+ fill: string;
4
+ titleTextColor: string;
5
+ labelTextColor: string;
6
+ primaryButtonAppearance: string;
7
+ secondaryButtonAppearance: string;
8
+ svgFill: string;
9
+ SvgImage: any;
10
+ svgPathFill: string;
11
+ };
12
+ };
13
+ export { responseAppearanceFail };
@@ -0,0 +1,13 @@
1
+ declare const responseAppearanceNothingFound: {
2
+ nothingFound: {
3
+ fill: string;
4
+ titleTextColor: string;
5
+ labelTextColor: string;
6
+ primaryButtonAppearance: string;
7
+ secondaryButtonAppearance: string;
8
+ svgFill: string;
9
+ SvgImage: any;
10
+ svgPathFill: string;
11
+ };
12
+ };
13
+ export { responseAppearanceNothingFound };
@@ -0,0 +1,13 @@
1
+ declare const responseAppearanceRefresh: {
2
+ refresh: {
3
+ fill: string;
4
+ titleTextColor: string;
5
+ labelTextColor: string;
6
+ primaryButtonAppearance: string;
7
+ secondaryButtonAppearance: string;
8
+ svgFill: string;
9
+ SvgImage: any;
10
+ svgPathFill: string;
11
+ };
12
+ };
13
+ export { responseAppearanceRefresh };
@@ -0,0 +1,13 @@
1
+ declare const responseAppearanceError: {
2
+ error: {
3
+ fill: string;
4
+ titleTextColor: string;
5
+ labelTextColor: string;
6
+ primaryButtonAppearance: string;
7
+ secondaryButtonAppearance: string;
8
+ svgFill: string;
9
+ SvgImage: any;
10
+ svgPathFill: string;
11
+ };
12
+ };
13
+ export { responseAppearanceError };
@@ -0,0 +1,13 @@
1
+ declare const responseAppearanceSuccess: {
2
+ success: {
3
+ fill: string;
4
+ titleTextColor: string;
5
+ labelTextColor: string;
6
+ primaryButtonAppearance: string;
7
+ secondaryButtonAppearance: string;
8
+ svgFill: string;
9
+ SvgImage: any;
10
+ svgPathFill: string;
11
+ };
12
+ };
13
+ export { responseAppearanceSuccess };
@@ -0,0 +1,13 @@
1
+ declare const responseAppearanceUnableLoadData: {
2
+ unableLoadData: {
3
+ fill: string;
4
+ titleTextColor: string;
5
+ labelTextColor: string;
6
+ primaryButtonAppearance: string;
7
+ secondaryButtonAppearance: string;
8
+ svgFill: string;
9
+ SvgImage: any;
10
+ svgPathFill: string;
11
+ };
12
+ };
13
+ export { responseAppearanceUnableLoadData };
@@ -0,0 +1,13 @@
1
+ declare const responseAppearanceWarning: {
2
+ warning: {
3
+ fill: string;
4
+ titleTextColor: string;
5
+ labelTextColor: string;
6
+ primaryButtonAppearance: string;
7
+ secondaryButtonAppearance: string;
8
+ svgFill: string;
9
+ SvgImage: any;
10
+ svgPathFill: string;
11
+ };
12
+ };
13
+ export { responseAppearanceWarning };
@@ -0,0 +1,12 @@
1
+ declare const resposeIcon: {
2
+ Warning: any;
3
+ Success: any;
4
+ Confirm: any;
5
+ Search: any;
6
+ Error: any;
7
+ Fail: any;
8
+ NothingFound: any;
9
+ Refresh: any;
10
+ UnableLoadData: any;
11
+ };
12
+ export { resposeIcon };
@@ -0,0 +1,24 @@
1
+ declare const searchAppearanceDefault: {
2
+ defaultPrimary: {
3
+ fill: string;
4
+ borderColor: string;
5
+ borderHover: string;
6
+ textColor: string;
7
+ textColorDisabled: string;
8
+ caret: string;
9
+ iconBeforeFill: string;
10
+ iconClearFill: string;
11
+ };
12
+ defaultSecondary: {
13
+ fill: string;
14
+ borderColor: string;
15
+ borderHover: string;
16
+ textColor: string;
17
+ textColorDisabled: string;
18
+ caret: string;
19
+ iconBeforeFill: string;
20
+ iconClearFill: string;
21
+ placeholderTextColor: string;
22
+ };
23
+ };
24
+ export { searchAppearanceDefault };
@@ -0,0 +1,20 @@
1
+ declare const searchAppearanceDisabled: {
2
+ disabledPrimary: {
3
+ fill: string;
4
+ borderColor: string;
5
+ borderHover: string;
6
+ textColor: string;
7
+ iconBeforeFill: string;
8
+ iconClearFill: string;
9
+ placeholderTextColor: string;
10
+ };
11
+ disabledSecondary: {
12
+ fill: string;
13
+ borderColor: string;
14
+ borderHover: string;
15
+ iconBeforeFill: string;
16
+ iconClearFill: string;
17
+ placeholderTextColor: string;
18
+ };
19
+ };
20
+ export { searchAppearanceDisabled };
@@ -0,0 +1,20 @@
1
+ declare const searchAppearanceError: {
2
+ errorPrimary: {
3
+ fill: string;
4
+ borderColor: string;
5
+ borderHover: string;
6
+ textColor: string;
7
+ iconBeforeFill: string;
8
+ iconClearFill: string;
9
+ placeholderTextColor: string;
10
+ };
11
+ errorSecondary: {
12
+ fill: string;
13
+ borderColor: string;
14
+ borderHover: string;
15
+ iconBeforeFill: string;
16
+ iconClearFill: string;
17
+ placeholderTextColor: string;
18
+ };
19
+ };
20
+ export { searchAppearanceError };
@@ -0,0 +1,20 @@
1
+ declare const searchAppearanceRequire: {
2
+ requirePrimary: {
3
+ fill: string;
4
+ borderColor: string;
5
+ borderHover: string;
6
+ textColor: string;
7
+ iconBeforeFill: string;
8
+ iconClearFill: string;
9
+ placeholderTextColor: string;
10
+ };
11
+ requireSecondary: {
12
+ fill: string;
13
+ borderColor: string;
14
+ borderHover: string;
15
+ iconBeforeFill: string;
16
+ iconClearFill: string;
17
+ placeholderTextColor: string;
18
+ };
19
+ };
20
+ export { searchAppearanceRequire };
@@ -1,17 +1,27 @@
1
1
  declare const searchAppearanceSize: {
2
+ sizeXXL: {
3
+ size: string;
4
+ textSize: string;
5
+ };
6
+ sizeXL: {
7
+ size: string;
8
+ textSize: string;
9
+ };
10
+ sizeL: {
11
+ size: string;
12
+ textSize: string;
13
+ };
14
+ sizeM: {
15
+ size: string;
16
+ textSize: string;
17
+ };
2
18
  sizeS: {
3
19
  size: string;
4
- iconBefore: string;
5
- iconBeforeSize: string;
6
- iconClear: string;
7
- iconClearSize: string;
20
+ textSize: string;
8
21
  };
9
22
  sizeXS: {
10
23
  size: string;
11
- iconBefore: string;
12
- iconBeforeSize: string;
13
- iconClear: string;
14
- iconClearSize: string;
24
+ textSize: string;
15
25
  };
16
26
  };
17
27
  export { searchAppearanceSize };
@@ -0,0 +1,20 @@
1
+ declare const searchAppearanceSuccess: {
2
+ successPrimary: {
3
+ fill: string;
4
+ borderColor: string;
5
+ borderHover: string;
6
+ textColor: string;
7
+ iconBeforeFill: string;
8
+ iconClearFill: string;
9
+ placeholderTextColor: string;
10
+ };
11
+ successSecondary: {
12
+ fill: string;
13
+ borderColor: string;
14
+ borderHover: string;
15
+ iconBeforeFill: string;
16
+ iconClearFill: string;
17
+ placeholderTextColor: string;
18
+ };
19
+ };
20
+ export { searchAppearanceSuccess };
@@ -1,2 +1,2 @@
1
- import { SwitchAppearanceType } from 'src/components/Switch/Switch.interface';
1
+ import { SwitchAppearanceType } from './Switch.interface';
2
2
  export declare const switchAppearance: SwitchAppearanceType;
@@ -0,0 +1,20 @@
1
+ declare const switchAppearanceAccent: {
2
+ accent: {
3
+ fill: string;
4
+ fillHover: string;
5
+ };
6
+ accentPrimary: {
7
+ fill: string;
8
+ fillHover: string;
9
+ borderColor: string;
10
+ };
11
+ accentSecondary: {
12
+ fill: string;
13
+ fillHover: string;
14
+ labelTextColor: string;
15
+ labelTextColorHover: string;
16
+ borderColor: string;
17
+ loaderItemFill: string;
18
+ };
19
+ };
20
+ export { switchAppearanceAccent };
@@ -0,0 +1,7 @@
1
+ declare const switchAppearanceDanger: {
2
+ danger: {
3
+ fill: string;
4
+ fillHover: string;
5
+ };
6
+ };
7
+ export { switchAppearanceDanger };
@@ -0,0 +1,20 @@
1
+ declare const switchAppearanceDisabled: {
2
+ disabledPrimary: {
3
+ fill: string;
4
+ borderColor: string;
5
+ borderHover: string;
6
+ textColor: string;
7
+ iconBeforeFill: string;
8
+ iconClearFill: string;
9
+ placeholderTextColor: string;
10
+ };
11
+ disabledSecondary: {
12
+ fill: string;
13
+ borderColor: string;
14
+ borderHover: string;
15
+ iconBeforeFill: string;
16
+ iconClearFill: string;
17
+ placeholderTextColor: string;
18
+ };
19
+ };
20
+ export { switchAppearanceDisabled };
@@ -0,0 +1,11 @@
1
+ declare const switchAppearanceError: {
2
+ error: {
3
+ fill: string;
4
+ fillHover: string;
5
+ labelTextColor: string;
6
+ labelTextColorHover: string;
7
+ loaderFill: string;
8
+ loaderItemFill: string;
9
+ };
10
+ };
11
+ export { switchAppearanceError };
@@ -0,0 +1,21 @@
1
+ declare const switchAppearanceInfo: {
2
+ info: {
3
+ fill: string;
4
+ fillHover: string;
5
+ labelTextColor: string;
6
+ labelTextColorHover: string;
7
+ borderColor: string;
8
+ loaderFill: string;
9
+ loaderItemFill: string;
10
+ };
11
+ infoSecondary: {
12
+ fill: string;
13
+ fillHover: string;
14
+ labelTextColor: string;
15
+ labelTextColorHover: string;
16
+ borderColor: string;
17
+ loaderFill: string;
18
+ loaderItemFill: string;
19
+ };
20
+ };
21
+ export { switchAppearanceInfo };
@@ -0,0 +1,8 @@
1
+ declare const switchAppearancePrimary: {
2
+ primary: {
3
+ fill: string;
4
+ fillHover: string;
5
+ labelTextColor: string;
6
+ };
7
+ };
8
+ export { switchAppearancePrimary };
@@ -0,0 +1,20 @@
1
+ declare const switchAppearanceRequire: {
2
+ requirePrimary: {
3
+ fill: string;
4
+ borderColor: string;
5
+ borderHover: string;
6
+ textColor: string;
7
+ iconBeforeFill: string;
8
+ iconClearFill: string;
9
+ placeholderTextColor: string;
10
+ };
11
+ requireSecondary: {
12
+ fill: string;
13
+ borderColor: string;
14
+ borderHover: string;
15
+ iconBeforeFill: string;
16
+ iconClearFill: string;
17
+ placeholderTextColor: string;
18
+ };
19
+ };
20
+ export { switchAppearanceRequire };
@@ -0,0 +1,8 @@
1
+ declare const switchAppearanceSecondary: {
2
+ secondary: {
3
+ fill: string;
4
+ fillHover: string;
5
+ labelTextColor: string;
6
+ };
7
+ };
8
+ export { switchAppearanceSecondary };
@@ -0,0 +1,59 @@
1
+ declare const switchAppearanceSize: {
2
+ sizeXXL: {
3
+ size: string;
4
+ labelTextSize: string;
5
+ iconAfterFillSize: string;
6
+ iconAfterSize: string;
7
+ iconBeforeFillSize: string;
8
+ iconBeforeSize: string;
9
+ };
10
+ sizeXL: {
11
+ size: string;
12
+ labelTextSize: string;
13
+ iconAfterFillSize: string;
14
+ iconAfterSize: string;
15
+ iconBeforeFillSize: string;
16
+ iconBeforeSize: string;
17
+ };
18
+ sizeL: {
19
+ size: string;
20
+ labelTextSize: string;
21
+ iconAfterFillSize: string;
22
+ iconAfterSize: string;
23
+ iconBeforeFillSize: string;
24
+ iconBeforeSize: string;
25
+ };
26
+ sizeM: {
27
+ size: string;
28
+ labelTextSize: string;
29
+ iconAfterFillSize: string;
30
+ iconAfterSize: string;
31
+ iconBeforeFillSize: string;
32
+ iconBeforeSize: string;
33
+ };
34
+ sizeS: {
35
+ size: string;
36
+ labelTextSize: string;
37
+ iconAfterFillSize: string;
38
+ iconAfterSize: string;
39
+ iconBeforeFillSize: string;
40
+ iconBeforeSize: string;
41
+ };
42
+ sizeXS: {
43
+ size: string;
44
+ labelTextSize: string;
45
+ iconAfterFillSize: string;
46
+ iconAfterSize: string;
47
+ iconBeforeFillSize: string;
48
+ iconBeforeSize: string;
49
+ };
50
+ sizeXXS: {
51
+ size: string;
52
+ labelTextSize: string;
53
+ iconAfterFillSize: string;
54
+ iconAfterSize: string;
55
+ iconBeforeFillSize: string;
56
+ iconBeforeSize: string;
57
+ };
58
+ };
59
+ export { switchAppearanceSize };
@@ -0,0 +1,16 @@
1
+ declare const switchAppearanceStyle: {
2
+ full: {
3
+ borderColor: string;
4
+ };
5
+ ghost: {
6
+ fill: string;
7
+ borderColor: string;
8
+ };
9
+ outlined: {
10
+ fill: string;
11
+ };
12
+ solid: {
13
+ borderColor: string;
14
+ };
15
+ };
16
+ export { switchAppearanceStyle };
@@ -0,0 +1,11 @@
1
+ declare const switchAppearanceSuccess: {
2
+ success: {
3
+ fill: string;
4
+ fillHover: string;
5
+ labelTextColor: string;
6
+ labelTextColorHover: string;
7
+ loaderFill: string;
8
+ loaderItemFill: string;
9
+ };
10
+ };
11
+ export { switchAppearanceSuccess };