@intellihr/blueberry 1.0.0-alpha.7 → 1.0.0-beta.2

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 (246) hide show
  1. package/README.md +2 -1
  2. package/dist/Avatar/Avatar.css.d.ts +9 -3
  3. package/dist/Avatar/Avatar.css.d.ts.map +1 -1
  4. package/dist/Avatar/Avatar.d.ts +1 -1
  5. package/dist/Avatar/Avatar.d.ts.map +1 -1
  6. package/dist/BlueberryProvider/BlueberryProvider.d.ts +3 -1
  7. package/dist/BlueberryProvider/BlueberryProvider.d.ts.map +1 -1
  8. package/dist/Box/Box.d.ts +62 -62
  9. package/dist/Button/Button.css.d.ts +3 -12
  10. package/dist/Button/Button.css.d.ts.map +1 -1
  11. package/dist/Button/Button.d.ts +9 -3
  12. package/dist/Button/Button.d.ts.map +1 -1
  13. package/dist/ButtonIcon/ButtonIcon.css.d.ts +0 -11
  14. package/dist/ButtonIcon/ButtonIcon.css.d.ts.map +1 -1
  15. package/dist/ButtonIcon/ButtonIcon.d.ts +7 -5
  16. package/dist/ButtonIcon/ButtonIcon.d.ts.map +1 -1
  17. package/dist/ButtonLink/ButtonLink.d.ts +9 -4
  18. package/dist/ButtonLink/ButtonLink.d.ts.map +1 -1
  19. package/dist/ButtonLinkIcon/ButtonLinkIcon.d.ts +6 -56
  20. package/dist/ButtonLinkIcon/ButtonLinkIcon.d.ts.map +1 -1
  21. package/dist/CalendarDate/CalendarDate.d.ts +2 -1
  22. package/dist/CalendarDate/CalendarDate.d.ts.map +1 -1
  23. package/dist/Card/Card.d.ts +6 -0
  24. package/dist/Card/Card.d.ts.map +1 -1
  25. package/dist/Checkbox/Checkbox.css.d.ts +28 -1
  26. package/dist/Checkbox/Checkbox.css.d.ts.map +1 -1
  27. package/dist/CheckboxGroup/CheckboxGroup.css.d.ts +2 -0
  28. package/dist/CheckboxGroup/CheckboxGroup.css.d.ts.map +1 -0
  29. package/dist/CheckboxGroup/CheckboxGroup.d.ts +6 -4
  30. package/dist/CheckboxGroup/CheckboxGroup.d.ts.map +1 -1
  31. package/dist/Combobox/Combobox.css.d.ts +9 -12
  32. package/dist/Combobox/Combobox.css.d.ts.map +1 -1
  33. package/dist/Combobox/Combobox.d.ts +3 -2
  34. package/dist/Combobox/Combobox.d.ts.map +1 -1
  35. package/dist/Currency/Currency.d.ts +16 -0
  36. package/dist/Currency/Currency.d.ts.map +1 -0
  37. package/dist/Currency/hooks.d.ts +13 -0
  38. package/dist/Currency/hooks.d.ts.map +1 -0
  39. package/dist/Currency/index.d.ts +3 -0
  40. package/dist/Currency/index.d.ts.map +1 -0
  41. package/dist/DataTable/DataTable.d.ts.map +1 -1
  42. package/dist/Date/Date.d.ts +5 -7
  43. package/dist/Date/Date.d.ts.map +1 -1
  44. package/dist/Date/hooks.d.ts +10 -1
  45. package/dist/Date/hooks.d.ts.map +1 -1
  46. package/dist/Date/index.d.ts +2 -2
  47. package/dist/Date/index.d.ts.map +1 -1
  48. package/dist/DatePicker/DatePicker.css.d.ts +2 -0
  49. package/dist/DatePicker/DatePicker.css.d.ts.map +1 -0
  50. package/dist/DatePicker/DatePicker.d.ts +38 -0
  51. package/dist/DatePicker/DatePicker.d.ts.map +1 -0
  52. package/dist/DatePicker/index.d.ts +2 -0
  53. package/dist/DatePicker/index.d.ts.map +1 -0
  54. package/dist/DateRange/DateRange.d.ts +4 -5
  55. package/dist/DateRange/DateRange.d.ts.map +1 -1
  56. package/dist/DateRangePicker/DateRangePicker.d.ts +47 -0
  57. package/dist/DateRangePicker/DateRangePicker.d.ts.map +1 -0
  58. package/dist/DateRangePicker/index.d.ts +2 -0
  59. package/dist/DateRangePicker/index.d.ts.map +1 -0
  60. package/dist/DropdownMenu/DropdownMenu.css.d.ts +2 -0
  61. package/dist/DropdownMenu/DropdownMenu.css.d.ts.map +1 -1
  62. package/dist/DropdownMenu/DropdownMenu.d.ts +1 -1
  63. package/dist/DropdownMenu/DropdownMenu.d.ts.map +1 -1
  64. package/dist/Filter/Filter.css.d.ts +45 -0
  65. package/dist/Filter/Filter.css.d.ts.map +1 -0
  66. package/dist/Filter/Filter.d.ts +42 -0
  67. package/dist/Filter/Filter.d.ts.map +1 -0
  68. package/dist/Filter/index.d.ts +2 -0
  69. package/dist/Filter/index.d.ts.map +1 -0
  70. package/dist/Icons/IconMenuAnalytics.d.ts.map +1 -1
  71. package/dist/Icons/{IconMenuAutomation.d.ts → IconMenuEngagement.d.ts} +1 -1
  72. package/dist/Icons/IconMenuEngagement.d.ts.map +1 -0
  73. package/dist/Icons/IconMenuHelpAndSupport.d.ts +5 -0
  74. package/dist/Icons/IconMenuHelpAndSupport.d.ts.map +1 -0
  75. package/dist/Icons/{IconMenuHelp.d.ts → IconMenuHome.d.ts} +1 -1
  76. package/dist/Icons/IconMenuHome.d.ts.map +1 -0
  77. package/dist/Icons/{IconMenuOrgChart.d.ts → IconMenuLearning.d.ts} +1 -1
  78. package/dist/Icons/IconMenuLearning.d.ts.map +1 -0
  79. package/dist/Icons/IconMenuOrganisation.d.ts +5 -0
  80. package/dist/Icons/IconMenuOrganisation.d.ts.map +1 -0
  81. package/dist/Icons/{IconMenuMyProfile.d.ts → IconMenuPayroll.d.ts} +1 -1
  82. package/dist/Icons/IconMenuPayroll.d.ts.map +1 -0
  83. package/dist/Icons/IconMenuPeople.d.ts.map +1 -1
  84. package/dist/Icons/IconMenuPerformance.d.ts +5 -0
  85. package/dist/Icons/IconMenuPerformance.d.ts.map +1 -0
  86. package/dist/Icons/IconMenuSettings.d.ts.map +1 -1
  87. package/dist/Icons/{IconMenuDashboard.d.ts → IconMenuTimezone.d.ts} +1 -1
  88. package/dist/Icons/IconMenuTimezone.d.ts.map +1 -0
  89. package/dist/Icons/IconPageAllSettings.d.ts +5 -0
  90. package/dist/Icons/IconPageAllSettings.d.ts.map +1 -0
  91. package/dist/Icons/IconPageAttritionAnalysis.d.ts +5 -0
  92. package/dist/Icons/IconPageAttritionAnalysis.d.ts.map +1 -0
  93. package/dist/Icons/IconPageCompensationPlanner.d.ts +5 -0
  94. package/dist/Icons/IconPageCompensationPlanner.d.ts.map +1 -0
  95. package/dist/Icons/IconPageContactUs.d.ts +5 -0
  96. package/dist/Icons/IconPageContactUs.d.ts.map +1 -0
  97. package/dist/Icons/IconPageContracts.d.ts +5 -0
  98. package/dist/Icons/IconPageContracts.d.ts.map +1 -0
  99. package/dist/Icons/IconPageDiscover.d.ts +5 -0
  100. package/dist/Icons/IconPageDiscover.d.ts.map +1 -0
  101. package/dist/Icons/IconPageFormDataAnalysis.d.ts +5 -0
  102. package/dist/Icons/IconPageFormDataAnalysis.d.ts.map +1 -0
  103. package/dist/Icons/IconPageFormDesigns.d.ts +5 -0
  104. package/dist/Icons/IconPageFormDesigns.d.ts.map +1 -0
  105. package/dist/Icons/IconPageGoals.d.ts +5 -0
  106. package/dist/Icons/IconPageGoals.d.ts.map +1 -0
  107. package/dist/Icons/IconPageIntegrations.d.ts +5 -0
  108. package/dist/Icons/IconPageIntegrations.d.ts.map +1 -0
  109. package/dist/Icons/IconPageJobRequirements.d.ts +5 -0
  110. package/dist/Icons/IconPageJobRequirements.d.ts.map +1 -0
  111. package/dist/Icons/IconPageKnowledgeBase.d.ts +5 -0
  112. package/dist/Icons/IconPageKnowledgeBase.d.ts.map +1 -0
  113. package/dist/Icons/IconPageMyProfile.d.ts +5 -0
  114. package/dist/Icons/IconPageMyProfile.d.ts.map +1 -0
  115. package/dist/Icons/IconPageMyTasks.d.ts +5 -0
  116. package/dist/Icons/IconPageMyTasks.d.ts.map +1 -0
  117. package/dist/Icons/{IconMenuCompliance.d.ts → IconPageOnboarding.d.ts} +1 -1
  118. package/dist/Icons/IconPageOnboarding.d.ts.map +1 -0
  119. package/dist/Icons/IconPageOrganisationChart.d.ts +5 -0
  120. package/dist/Icons/IconPageOrganisationChart.d.ts.map +1 -0
  121. package/dist/Icons/IconPageOrganisationObjectives.d.ts +5 -0
  122. package/dist/Icons/IconPageOrganisationObjectives.d.ts.map +1 -0
  123. package/dist/Icons/IconPagePayrollAbsences.d.ts +5 -0
  124. package/dist/Icons/IconPagePayrollAbsences.d.ts.map +1 -0
  125. package/dist/Icons/IconPagePayrollCalendar.d.ts +5 -0
  126. package/dist/Icons/IconPagePayrollCalendar.d.ts.map +1 -0
  127. package/dist/Icons/IconPagePayrollHolidays.d.ts +5 -0
  128. package/dist/Icons/IconPagePayrollHolidays.d.ts.map +1 -0
  129. package/dist/Icons/IconPagePayrollPayslips.d.ts +5 -0
  130. package/dist/Icons/IconPagePayrollPayslips.d.ts.map +1 -0
  131. package/dist/Icons/IconPagePayrollTimesheets.d.ts +5 -0
  132. package/dist/Icons/IconPagePayrollTimesheets.d.ts.map +1 -0
  133. package/dist/Icons/IconPagePeopleCalendar.d.ts +5 -0
  134. package/dist/Icons/IconPagePeopleCalendar.d.ts.map +1 -0
  135. package/dist/Icons/IconPagePeopleDirectory.d.ts +5 -0
  136. package/dist/Icons/IconPagePeopleDirectory.d.ts.map +1 -0
  137. package/dist/Icons/IconPagePerformanceImprovement.d.ts +5 -0
  138. package/dist/Icons/IconPagePerformanceImprovement.d.ts.map +1 -0
  139. package/dist/Icons/IconPagePerformanceReport.d.ts +5 -0
  140. package/dist/Icons/IconPagePerformanceReport.d.ts.map +1 -0
  141. package/dist/Icons/IconPagePermissions.d.ts +5 -0
  142. package/dist/Icons/IconPagePermissions.d.ts.map +1 -0
  143. package/dist/Icons/IconPagePrivateNotes.d.ts +5 -0
  144. package/dist/Icons/IconPagePrivateNotes.d.ts.map +1 -0
  145. package/dist/Icons/IconPageProfessionalServices.d.ts +5 -0
  146. package/dist/Icons/IconPageProfessionalServices.d.ts.map +1 -0
  147. package/dist/Icons/IconPagePulses.d.ts +5 -0
  148. package/dist/Icons/IconPagePulses.d.ts.map +1 -0
  149. package/dist/Icons/IconPageQualifications.d.ts +5 -0
  150. package/dist/Icons/IconPageQualifications.d.ts.map +1 -0
  151. package/dist/Icons/IconPageSkills.d.ts +5 -0
  152. package/dist/Icons/IconPageSkills.d.ts.map +1 -0
  153. package/dist/Icons/IconPageSystemSettings.d.ts +5 -0
  154. package/dist/Icons/IconPageSystemSettings.d.ts.map +1 -0
  155. package/dist/Icons/IconPageTasks.d.ts +5 -0
  156. package/dist/Icons/IconPageTasks.d.ts.map +1 -0
  157. package/dist/Icons/IconPageTraining.d.ts +5 -0
  158. package/dist/Icons/IconPageTraining.d.ts.map +1 -0
  159. package/dist/Icons/IconPageWorkflows.d.ts +5 -0
  160. package/dist/Icons/IconPageWorkflows.d.ts.map +1 -0
  161. package/dist/Icons/IconPageWorkforceHeadcount.d.ts +5 -0
  162. package/dist/Icons/IconPageWorkforceHeadcount.d.ts.map +1 -0
  163. package/dist/Icons/IconPageWorkforcePlanner.d.ts +5 -0
  164. package/dist/Icons/IconPageWorkforcePlanner.d.ts.map +1 -0
  165. package/dist/Icons/index.d.ts +46 -6
  166. package/dist/Icons/index.d.ts.map +1 -1
  167. package/dist/Input/Input.css.d.ts +13 -1
  168. package/dist/Input/Input.css.d.ts.map +1 -1
  169. package/dist/KeyValueList/KeyValueList.css.d.ts +0 -1
  170. package/dist/KeyValueList/KeyValueList.css.d.ts.map +1 -1
  171. package/dist/Person/Person.d.ts +2 -0
  172. package/dist/Person/Person.d.ts.map +1 -1
  173. package/dist/PhoneNumber/PhoneNumber.css.d.ts +2 -0
  174. package/dist/PhoneNumber/PhoneNumber.css.d.ts.map +1 -0
  175. package/dist/PhoneNumber/PhoneNumber.d.ts +15 -0
  176. package/dist/PhoneNumber/PhoneNumber.d.ts.map +1 -0
  177. package/dist/PhoneNumber/hooks.d.ts +13 -0
  178. package/dist/PhoneNumber/hooks.d.ts.map +1 -0
  179. package/dist/PhoneNumber/index.d.ts +3 -0
  180. package/dist/PhoneNumber/index.d.ts.map +1 -0
  181. package/dist/Popover/Popover.css.d.ts.map +1 -1
  182. package/dist/RadioGroup/RadioGroup.css.d.ts +11 -1
  183. package/dist/RadioGroup/RadioGroup.css.d.ts.map +1 -1
  184. package/dist/RadioGroup/RadioGroup.d.ts +1 -1
  185. package/dist/RadioGroup/RadioGroup.d.ts.map +1 -1
  186. package/dist/RelativeDate/RelativeDate.d.ts +3 -4
  187. package/dist/RelativeDate/RelativeDate.d.ts.map +1 -1
  188. package/dist/SectionGroup/SectionGroup.d.ts +9 -0
  189. package/dist/SectionGroup/SectionGroup.d.ts.map +1 -0
  190. package/dist/SectionGroup/index.d.ts +2 -0
  191. package/dist/SectionGroup/index.d.ts.map +1 -0
  192. package/dist/Select/Select.css.d.ts +3 -0
  193. package/dist/Select/Select.css.d.ts.map +1 -0
  194. package/dist/Select/Select.d.ts +34 -0
  195. package/dist/Select/Select.d.ts.map +1 -0
  196. package/dist/Select/index.d.ts +2 -0
  197. package/dist/Select/index.d.ts.map +1 -0
  198. package/dist/Separator/Separator.css.d.ts.map +1 -1
  199. package/dist/Stack/Stack.d.ts.map +1 -1
  200. package/dist/TabList/TabList.d.ts.map +1 -1
  201. package/dist/Tag/Tag.css.d.ts +2 -2
  202. package/dist/Text/Text.css.d.ts +0 -12
  203. package/dist/Text/Text.css.d.ts.map +1 -1
  204. package/dist/Time/Time.d.ts +3 -2
  205. package/dist/Time/Time.d.ts.map +1 -1
  206. package/dist/Timeline/Timeline.css.d.ts.map +1 -1
  207. package/dist/_private/BaseButton/BaseButton.d.ts +6 -4
  208. package/dist/_private/BaseButton/BaseButton.d.ts.map +1 -1
  209. package/dist/_private/BlueberryContext/BlueberryContext.d.ts +9 -3
  210. package/dist/_private/BlueberryContext/BlueberryContext.d.ts.map +1 -1
  211. package/dist/_private/BlueberryContext/i18n.d.ts +19 -3
  212. package/dist/_private/BlueberryContext/i18n.d.ts.map +1 -1
  213. package/dist/_private/ButtonContent/ButtonContent.d.ts +3 -1
  214. package/dist/_private/ButtonContent/ButtonContent.d.ts.map +1 -1
  215. package/dist/_private/Flag/Flag.css.d.ts +3 -0
  216. package/dist/_private/Flag/Flag.css.d.ts.map +1 -0
  217. package/dist/_private/Flag/Flag.d.ts +9 -0
  218. package/dist/_private/Flag/Flag.d.ts.map +1 -0
  219. package/dist/_private/Flag/country_flags.png +0 -0
  220. package/dist/_private/Flag/index.d.ts +2 -0
  221. package/dist/_private/Flag/index.d.ts.map +1 -0
  222. package/dist/_private/Icon/Icon.d.ts +4 -1
  223. package/dist/_private/Icon/Icon.d.ts.map +1 -1
  224. package/dist/_private/Label/Label.d.ts.map +1 -1
  225. package/dist/_theme/intelli.css.d.ts +59 -63
  226. package/dist/_theme/intelli.css.d.ts.map +1 -1
  227. package/dist/_theme/palette.css.d.ts +11 -5
  228. package/dist/_theme/palette.css.d.ts.map +1 -1
  229. package/dist/_theme/themeContract.css.d.ts +59 -63
  230. package/dist/_theme/themeContract.css.d.ts.map +1 -1
  231. package/dist/_utils/negativeMargin.css.d.ts +16 -16
  232. package/dist/_utils/sprinkles.css.d.ts +446 -488
  233. package/dist/_utils/sprinkles.css.d.ts.map +1 -1
  234. package/dist/index.cjs.js +4 -4
  235. package/dist/index.cjs.js.map +1 -1
  236. package/dist/index.d.ts +5 -0
  237. package/dist/index.d.ts.map +1 -1
  238. package/dist/index.es.js +2957 -1931
  239. package/dist/index.es.js.map +1 -1
  240. package/package.json +25 -20
  241. package/dist/Icons/IconMenuAutomation.d.ts.map +0 -1
  242. package/dist/Icons/IconMenuCompliance.d.ts.map +0 -1
  243. package/dist/Icons/IconMenuDashboard.d.ts.map +0 -1
  244. package/dist/Icons/IconMenuHelp.d.ts.map +0 -1
  245. package/dist/Icons/IconMenuMyProfile.d.ts.map +0 -1
  246. package/dist/Icons/IconMenuOrgChart.d.ts.map +0 -1
package/README.md CHANGED
@@ -37,7 +37,8 @@ The following props can be used to customize your implementation:
37
37
  - `intelliLight` will be used if no theme is specified.
38
38
  - The theme object cannot be directly configured or passed through from a consumer.
39
39
  - `i18n` takes an object of all the translation strings required for components. Default English translations are located in `_private/BlueberryContext/i18n.ts`
40
- - `i18nLocale` takes a locale for certain require components that require it. Defaults to `en`.
40
+ - `locale` takes a locale for certain require components that require it. Defaults to `en-AU`.
41
+ - `userCurrency` Takes a 3 letter currency for components that require it. Defaults to `AUD`.
41
42
  - `userTimezone` takes a timezone for the Timezone Disclaimer. Defaults to `Brisbane/Australia`.
42
43
  - `utcOffset` takes a UTC offset as a number between `-12` and `14` for date components that require it. Defaults to `10`.
43
44
  - `anchorOnClick` takes a function that gets called when a user interacts with any `a` element rendered by Blueberry.
@@ -2,7 +2,7 @@ import { RecipeVariants } from '@vanilla-extract/recipes';
2
2
  export declare const avatar: import("@vanilla-extract/recipes/dist/declarations/src/types").RuntimeFn<{
3
3
  size: {
4
4
  small: {
5
- fontSize: import("@vanilla-extract/private").CSSVarFunction;
5
+ fontSize: "0.75rem";
6
6
  height: import("@vanilla-extract/private").CSSVarFunction;
7
7
  lineHeight: import("@vanilla-extract/private").CSSVarFunction;
8
8
  width: import("@vanilla-extract/private").CSSVarFunction;
@@ -19,13 +19,19 @@ export declare const avatar: import("@vanilla-extract/recipes/dist/declarations/
19
19
  lineHeight: import("@vanilla-extract/private").CSSVarFunction;
20
20
  width: import("@vanilla-extract/private").CSSVarFunction;
21
21
  };
22
+ xLarge: {
23
+ fontSize: import("@vanilla-extract/private").CSSVarFunction;
24
+ height: import("@vanilla-extract/private").CSSVarFunction;
25
+ lineHeight: import("@vanilla-extract/private").CSSVarFunction;
26
+ width: import("@vanilla-extract/private").CSSVarFunction;
27
+ };
22
28
  };
23
29
  placeholder: {
24
30
  true: {
25
31
  border: `2px dashed var(--${string})` | `2px dashed var(--${string}, ${string})` | `2px dashed var(--${string}, ${number})`;
26
32
  color: import("@vanilla-extract/private").CSSVarFunction;
27
33
  selectors: {
28
- '&:after': {
34
+ '&::after': {
29
35
  display: "none";
30
36
  };
31
37
  };
@@ -38,7 +44,7 @@ export declare const avatar: import("@vanilla-extract/recipes/dist/declarations/
38
44
  borderRadius: import("@vanilla-extract/private").CSSVarFunction;
39
45
  display: "flex";
40
46
  selectors: {
41
- '&:after': {
47
+ '&::after': {
42
48
  display: "none";
43
49
  };
44
50
  };
@@ -1 +1 @@
1
- {"version":3,"file":"Avatar.css.d.ts","sourceRoot":"","sources":["../../src/Avatar/Avatar.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,cAAc,EAAE,MAAM,0BAA0B,CAAA;AA2BjE,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsHjB,CAAA;AAEF,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,CAAA"}
1
+ {"version":3,"file":"Avatar.css.d.ts","sourceRoot":"","sources":["../../src/Avatar/Avatar.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,cAAc,EAAE,MAAM,0BAA0B,CAAA;AA4BjE,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8HjB,CAAA;AAEF,MAAM,MAAM,cAAc,GAAG,WAAW,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,CAAA"}
@@ -14,6 +14,6 @@ interface IAvatar {
14
14
  /** Attach a data-cy prop for Cypress to reference */
15
15
  id?: string;
16
16
  }
17
- declare const Avatar: React.ForwardRefExoticComponent<IAvatar & React.RefAttributes<HTMLHeadingElement>>;
17
+ declare const Avatar: React.ForwardRefExoticComponent<IAvatar & React.RefAttributes<HTMLDivElement>>;
18
18
  export default Avatar;
19
19
  //# sourceMappingURL=Avatar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../src/Avatar/Avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAU,cAAc,EAAE,MAAM,cAAc,CAAA;AAIrD,UAAU,OAAO;IACf,0BAA0B;IAC1B,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;IAC7B,2BAA2B;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,sCAAsC;IACtC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,kEAAkE;IAClE,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,wDAAwD;IACxD,KAAK,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC,CAAA;IAC/B,qDAAqD;IACrD,EAAE,CAAC,EAAE,MAAM,CAAA;CACZ;AAED,QAAA,MAAM,MAAM,oFAuBX,CAAA;AAED,eAAe,MAAM,CAAA"}
1
+ {"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../src/Avatar/Avatar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAU,cAAc,EAAE,MAAM,cAAc,CAAA;AAIrD,UAAU,OAAO;IACf,0BAA0B;IAC1B,IAAI,CAAC,EAAE,cAAc,CAAC,MAAM,CAAC,CAAA;IAC7B,2BAA2B;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,sCAAsC;IACtC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,kEAAkE;IAClE,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,wDAAwD;IACxD,KAAK,CAAC,EAAE,cAAc,CAAC,OAAO,CAAC,CAAA;IAC/B,qDAAqD;IACrD,EAAE,CAAC,EAAE,MAAM,CAAA;CACZ;AASD,QAAA,MAAM,MAAM,gFAuBX,CAAA;AAED,eAAe,MAAM,CAAA"}
@@ -3,9 +3,11 @@ import { IBlueberryContext } from '../_private/BlueberryContext/BlueberryContext
3
3
  interface IBlueberryProvider {
4
4
  theme?: IBlueberryContext['theme'];
5
5
  i18n?: IBlueberryContext['i18n'];
6
- i18nLocale?: IBlueberryContext['i18nLocale'];
6
+ locale?: IBlueberryContext['locale'];
7
+ userCurrency?: IBlueberryContext['userCurrency'];
7
8
  userTimezone?: IBlueberryContext['userTimezone'];
8
9
  utcOffset?: IBlueberryContext['utcOffset'];
10
+ dateFormat?: IBlueberryContext['dateFormat'];
9
11
  anchorOnClick?: IBlueberryContext['anchorOnClick'];
10
12
  children: React.ReactNode;
11
13
  }
@@ -1 +1 @@
1
- {"version":3,"file":"BlueberryProvider.d.ts","sourceRoot":"","sources":["../../src/BlueberryProvider/BlueberryProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAyB,EACvB,iBAAiB,EAElB,MAAM,4CAA4C,CAAA;AAMnD,UAAU,kBAAkB;IAC1B,KAAK,CAAC,EAAE,iBAAiB,CAAC,OAAO,CAAC,CAAA;IAClC,IAAI,CAAC,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAA;IAChC,UAAU,CAAC,EAAE,iBAAiB,CAAC,YAAY,CAAC,CAAA;IAC5C,YAAY,CAAC,EAAE,iBAAiB,CAAC,cAAc,CAAC,CAAA;IAChD,SAAS,CAAC,EAAE,iBAAiB,CAAC,WAAW,CAAC,CAAA;IAC1C,aAAa,CAAC,EAAE,iBAAiB,CAAC,eAAe,CAAC,CAAA;IAClD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC1B;AAED,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA4BnD,CAAA;AAED,eAAe,iBAAiB,CAAA"}
1
+ {"version":3,"file":"BlueberryProvider.d.ts","sourceRoot":"","sources":["../../src/BlueberryProvider/BlueberryProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAyB,EACvB,iBAAiB,EAElB,MAAM,4CAA4C,CAAA;AAMnD,UAAU,kBAAkB;IAC1B,KAAK,CAAC,EAAE,iBAAiB,CAAC,OAAO,CAAC,CAAA;IAClC,IAAI,CAAC,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAA;IAChC,MAAM,CAAC,EAAE,iBAAiB,CAAC,QAAQ,CAAC,CAAA;IACpC,YAAY,CAAC,EAAE,iBAAiB,CAAC,cAAc,CAAC,CAAA;IAChD,YAAY,CAAC,EAAE,iBAAiB,CAAC,cAAc,CAAC,CAAA;IAChD,SAAS,CAAC,EAAE,iBAAiB,CAAC,WAAW,CAAC,CAAA;IAC1C,UAAU,CAAC,EAAE,iBAAiB,CAAC,YAAY,CAAC,CAAA;IAC5C,aAAa,CAAC,EAAE,iBAAiB,CAAC,eAAe,CAAC,CAAA;IAClD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAC1B;AAED,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CAgCnD,CAAA;AAED,eAAe,iBAAiB,CAAA"}
package/dist/Box/Box.d.ts CHANGED
@@ -15,10 +15,10 @@ declare const Box: import("react").ForwardRefExoticComponent<{
15
15
  tablet?: "default" | "sharp" | "smooth" | "round" | "none" | undefined;
16
16
  desktop?: "default" | "sharp" | "smooth" | "round" | "none" | undefined;
17
17
  }) | undefined;
18
- columnGap?: ("small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | {
19
- mobile?: "small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
20
- tablet?: "small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
21
- desktop?: "small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
18
+ columnGap?: ("small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | {
19
+ mobile?: "small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | undefined;
20
+ tablet?: "small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | undefined;
21
+ desktop?: "small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | undefined;
22
22
  }) | undefined;
23
23
  display?: ("none" | "flex" | "block" | "inline" | "inlineBlock" | "inlineFlex" | {
24
24
  mobile?: "none" | "flex" | "block" | "inline" | "inlineBlock" | "inlineFlex" | undefined;
@@ -50,89 +50,89 @@ declare const Box: import("react").ForwardRefExoticComponent<{
50
50
  tablet?: "center" | "stretch" | "flexStart" | "flexEnd" | "spaceBetween" | undefined;
51
51
  desktop?: "center" | "stretch" | "flexStart" | "flexEnd" | "spaceBetween" | undefined;
52
52
  }) | undefined;
53
- lineHeight?: ("small" | "xSmall" | "xxSmall" | "default" | {
54
- mobile?: "small" | "xSmall" | "xxSmall" | "default" | undefined;
55
- tablet?: "small" | "xSmall" | "xxSmall" | "default" | undefined;
56
- desktop?: "small" | "xSmall" | "xxSmall" | "default" | undefined;
53
+ lineHeight?: ("small" | "xxSmall" | "xSmall" | "default" | {
54
+ mobile?: "small" | "xxSmall" | "xSmall" | "default" | undefined;
55
+ tablet?: "small" | "xxSmall" | "xSmall" | "default" | undefined;
56
+ desktop?: "small" | "xxSmall" | "xSmall" | "default" | undefined;
57
57
  }) | undefined;
58
- marginBottom?: ("small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | {
59
- mobile?: "small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
60
- tablet?: "small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
61
- desktop?: "small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
58
+ marginBottom?: ("small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | {
59
+ mobile?: "small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | undefined;
60
+ tablet?: "small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | undefined;
61
+ desktop?: "small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | undefined;
62
62
  }) | undefined;
63
- marginLeft?: ("small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | {
64
- mobile?: "small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
65
- tablet?: "small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
66
- desktop?: "small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
63
+ marginLeft?: ("small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | {
64
+ mobile?: "small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | undefined;
65
+ tablet?: "small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | undefined;
66
+ desktop?: "small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | undefined;
67
67
  }) | undefined;
68
- marginRight?: ("small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | {
69
- mobile?: "small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
70
- tablet?: "small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
71
- desktop?: "small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
68
+ marginRight?: ("small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | {
69
+ mobile?: "small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | undefined;
70
+ tablet?: "small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | undefined;
71
+ desktop?: "small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | undefined;
72
72
  }) | undefined;
73
- marginTop?: ("small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | {
74
- mobile?: "small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
75
- tablet?: "small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
76
- desktop?: "small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
73
+ marginTop?: ("small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | {
74
+ mobile?: "small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | undefined;
75
+ tablet?: "small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | undefined;
76
+ desktop?: "small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | undefined;
77
77
  }) | undefined;
78
- paddingBottom?: ("small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | {
79
- mobile?: "small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
80
- tablet?: "small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
81
- desktop?: "small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
78
+ paddingBottom?: ("small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | {
79
+ mobile?: "small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | undefined;
80
+ tablet?: "small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | undefined;
81
+ desktop?: "small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | undefined;
82
82
  }) | undefined;
83
- paddingLeft?: ("small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | {
84
- mobile?: "small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
85
- tablet?: "small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
86
- desktop?: "small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
83
+ paddingLeft?: ("small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | {
84
+ mobile?: "small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | undefined;
85
+ tablet?: "small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | undefined;
86
+ desktop?: "small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | undefined;
87
87
  }) | undefined;
88
- paddingRight?: ("small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | {
89
- mobile?: "small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
90
- tablet?: "small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
91
- desktop?: "small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
88
+ paddingRight?: ("small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | {
89
+ mobile?: "small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | undefined;
90
+ tablet?: "small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | undefined;
91
+ desktop?: "small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | undefined;
92
92
  }) | undefined;
93
- paddingTop?: ("small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | {
94
- mobile?: "small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
95
- tablet?: "small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
96
- desktop?: "small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
93
+ paddingTop?: ("small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | {
94
+ mobile?: "small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | undefined;
95
+ tablet?: "small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | undefined;
96
+ desktop?: "small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | undefined;
97
97
  }) | undefined;
98
98
  position?: ("fixed" | "absolute" | "relative" | {
99
99
  mobile?: "fixed" | "absolute" | "relative" | undefined;
100
100
  tablet?: "fixed" | "absolute" | "relative" | undefined;
101
101
  desktop?: "fixed" | "absolute" | "relative" | undefined;
102
102
  }) | undefined;
103
- rowGap?: ("small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | {
104
- mobile?: "small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
105
- tablet?: "small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
106
- desktop?: "small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
103
+ rowGap?: ("small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | {
104
+ mobile?: "small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | undefined;
105
+ tablet?: "small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | undefined;
106
+ desktop?: "small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | undefined;
107
107
  }) | undefined;
108
108
  textAlign?: ("left" | "right" | "center" | {
109
109
  mobile?: "left" | "right" | "center" | undefined;
110
110
  tablet?: "left" | "right" | "center" | undefined;
111
111
  desktop?: "left" | "right" | "center" | undefined;
112
112
  }) | undefined;
113
- padding?: ("small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | {
114
- mobile?: "small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
115
- tablet?: "small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
116
- desktop?: "small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
113
+ padding?: ("small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | {
114
+ mobile?: "small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | undefined;
115
+ tablet?: "small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | undefined;
116
+ desktop?: "small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | undefined;
117
117
  }) | undefined;
118
- paddingX?: ("small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | {
119
- mobile?: "small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
120
- tablet?: "small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
121
- desktop?: "small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
118
+ paddingX?: ("small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | {
119
+ mobile?: "small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | undefined;
120
+ tablet?: "small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | undefined;
121
+ desktop?: "small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | undefined;
122
122
  }) | undefined;
123
- paddingY?: ("small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | {
124
- mobile?: "small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
125
- tablet?: "small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
126
- desktop?: "small" | "xSmall" | "xxSmall" | "none" | "xxxSmall" | "medium" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
123
+ paddingY?: ("small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | {
124
+ mobile?: "small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | undefined;
125
+ tablet?: "small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | undefined;
126
+ desktop?: "small" | "large" | "xLarge" | "xxLarge" | "xxSmall" | "xSmall" | "none" | "xxxSmall" | "medium" | "xxxLarge" | undefined;
127
127
  }) | undefined;
128
128
  } & {
129
- color?: ("surfaceLightSemiTransparent" | "surfaceContrast" | "brandAccent" | "brandAccentHover" | "brandAccentActive" | "brandAccentContrastText" | "brandAccentSoft" | "brandAccentSoftHover" | "brandAccentSoftActive" | "brandAccentSoftContrastText" | "highlight" | "highlightHover" | "highlightActive" | "highlightContrastText" | "highlightSoft" | "highlightSoftHover" | "highlightSoftActive" | "highlightSoftContrastText" | "info" | "infoHover" | "infoActive" | "infoContrastText" | "infoSoft" | "infoSoftHover" | "infoSoftActive" | "infoSoftContrastText" | "positive" | "positiveHover" | "positiveActive" | "positiveContrastText" | "positiveSoft" | "positiveSoftHover" | "positiveSoftActive" | "positiveSoftContrastText" | "caution" | "cautionHover" | "cautionActive" | "cautionContrastText" | "cautionSoft" | "cautionSoftHover" | "cautionSoftActive" | "cautionSoftContrastText" | "critical" | "criticalHover" | "criticalActive" | "criticalContrastText" | "criticalSoft" | "criticalSoftHover" | "criticalSoftActive" | "criticalSoftContrastText" | "neutral" | "neutralHover" | "neutralActive" | "neutralContrastText" | "neutralSoft" | "neutralSoftHover" | "neutralSoftActive" | "neutralSoftContrastText" | "surface" | "surfaceLight" | "surfaceDark" | "surfaceContrastText" | "surfaceContrastTextSubdued" | {
130
- lightMode?: "surfaceLightSemiTransparent" | "surfaceContrast" | "brandAccent" | "brandAccentHover" | "brandAccentActive" | "brandAccentContrastText" | "brandAccentSoft" | "brandAccentSoftHover" | "brandAccentSoftActive" | "brandAccentSoftContrastText" | "highlight" | "highlightHover" | "highlightActive" | "highlightContrastText" | "highlightSoft" | "highlightSoftHover" | "highlightSoftActive" | "highlightSoftContrastText" | "info" | "infoHover" | "infoActive" | "infoContrastText" | "infoSoft" | "infoSoftHover" | "infoSoftActive" | "infoSoftContrastText" | "positive" | "positiveHover" | "positiveActive" | "positiveContrastText" | "positiveSoft" | "positiveSoftHover" | "positiveSoftActive" | "positiveSoftContrastText" | "caution" | "cautionHover" | "cautionActive" | "cautionContrastText" | "cautionSoft" | "cautionSoftHover" | "cautionSoftActive" | "cautionSoftContrastText" | "critical" | "criticalHover" | "criticalActive" | "criticalContrastText" | "criticalSoft" | "criticalSoftHover" | "criticalSoftActive" | "criticalSoftContrastText" | "neutral" | "neutralHover" | "neutralActive" | "neutralContrastText" | "neutralSoft" | "neutralSoftHover" | "neutralSoftActive" | "neutralSoftContrastText" | "surface" | "surfaceLight" | "surfaceDark" | "surfaceContrastText" | "surfaceContrastTextSubdued" | undefined;
131
- darkMode?: "surfaceLightSemiTransparent" | "surfaceContrast" | "brandAccent" | "brandAccentHover" | "brandAccentActive" | "brandAccentContrastText" | "brandAccentSoft" | "brandAccentSoftHover" | "brandAccentSoftActive" | "brandAccentSoftContrastText" | "highlight" | "highlightHover" | "highlightActive" | "highlightContrastText" | "highlightSoft" | "highlightSoftHover" | "highlightSoftActive" | "highlightSoftContrastText" | "info" | "infoHover" | "infoActive" | "infoContrastText" | "infoSoft" | "infoSoftHover" | "infoSoftActive" | "infoSoftContrastText" | "positive" | "positiveHover" | "positiveActive" | "positiveContrastText" | "positiveSoft" | "positiveSoftHover" | "positiveSoftActive" | "positiveSoftContrastText" | "caution" | "cautionHover" | "cautionActive" | "cautionContrastText" | "cautionSoft" | "cautionSoftHover" | "cautionSoftActive" | "cautionSoftContrastText" | "critical" | "criticalHover" | "criticalActive" | "criticalContrastText" | "criticalSoft" | "criticalSoftHover" | "criticalSoftActive" | "criticalSoftContrastText" | "neutral" | "neutralHover" | "neutralActive" | "neutralContrastText" | "neutralSoft" | "neutralSoftHover" | "neutralSoftActive" | "neutralSoftContrastText" | "surface" | "surfaceLight" | "surfaceDark" | "surfaceContrastText" | "surfaceContrastTextSubdued" | undefined;
129
+ color?: ("brandBg" | "brandBgDark" | "brandBgDarkest" | "brandLight" | "brand" | "brandDark" | "brandText" | "brandContrast" | "highlightBg" | "highlightBgDark" | "highlightBgDarkest" | "highlightLight" | "highlight" | "highlightDark" | "highlightText" | "highlightContrast" | "infoBg" | "infoBgDark" | "infoBgDarkest" | "infoLight" | "info" | "infoDark" | "infoText" | "infoContrast" | "positiveBg" | "positiveBgDark" | "positiveBgDarkest" | "positiveLight" | "positive" | "positiveDark" | "positiveText" | "positiveContrast" | "cautionBg" | "cautionBgDark" | "cautionBgDarkest" | "cautionLight" | "caution" | "cautionDark" | "cautionText" | "cautionContrast" | "criticalBg" | "criticalBgDark" | "criticalBgDarkest" | "criticalLight" | "critical" | "criticalDark" | "criticalText" | "criticalContrast" | "neutralBg" | "neutralBgDark" | "neutralBgDarkest" | "neutralLight" | "neutral" | "neutralDark" | "neutralText" | "neutralContrast" | "surfaceBg" | "surfaceBgDarkest" | "surfaceText" | "surfaceTextLight" | {
130
+ lightMode?: "brandBg" | "brandBgDark" | "brandBgDarkest" | "brandLight" | "brand" | "brandDark" | "brandText" | "brandContrast" | "highlightBg" | "highlightBgDark" | "highlightBgDarkest" | "highlightLight" | "highlight" | "highlightDark" | "highlightText" | "highlightContrast" | "infoBg" | "infoBgDark" | "infoBgDarkest" | "infoLight" | "info" | "infoDark" | "infoText" | "infoContrast" | "positiveBg" | "positiveBgDark" | "positiveBgDarkest" | "positiveLight" | "positive" | "positiveDark" | "positiveText" | "positiveContrast" | "cautionBg" | "cautionBgDark" | "cautionBgDarkest" | "cautionLight" | "caution" | "cautionDark" | "cautionText" | "cautionContrast" | "criticalBg" | "criticalBgDark" | "criticalBgDarkest" | "criticalLight" | "critical" | "criticalDark" | "criticalText" | "criticalContrast" | "neutralBg" | "neutralBgDark" | "neutralBgDarkest" | "neutralLight" | "neutral" | "neutralDark" | "neutralText" | "neutralContrast" | "surfaceBg" | "surfaceBgDarkest" | "surfaceText" | "surfaceTextLight" | undefined;
131
+ darkMode?: "brandBg" | "brandBgDark" | "brandBgDarkest" | "brandLight" | "brand" | "brandDark" | "brandText" | "brandContrast" | "highlightBg" | "highlightBgDark" | "highlightBgDarkest" | "highlightLight" | "highlight" | "highlightDark" | "highlightText" | "highlightContrast" | "infoBg" | "infoBgDark" | "infoBgDarkest" | "infoLight" | "info" | "infoDark" | "infoText" | "infoContrast" | "positiveBg" | "positiveBgDark" | "positiveBgDarkest" | "positiveLight" | "positive" | "positiveDark" | "positiveText" | "positiveContrast" | "cautionBg" | "cautionBgDark" | "cautionBgDarkest" | "cautionLight" | "caution" | "cautionDark" | "cautionText" | "cautionContrast" | "criticalBg" | "criticalBgDark" | "criticalBgDarkest" | "criticalLight" | "critical" | "criticalDark" | "criticalText" | "criticalContrast" | "neutralBg" | "neutralBgDark" | "neutralBgDarkest" | "neutralLight" | "neutral" | "neutralDark" | "neutralText" | "neutralContrast" | "surfaceBg" | "surfaceBgDarkest" | "surfaceText" | "surfaceTextLight" | undefined;
132
132
  }) | undefined;
133
- background?: ("surfaceLightSemiTransparent" | "surfaceContrast" | "brandAccent" | "brandAccentHover" | "brandAccentActive" | "brandAccentContrastText" | "brandAccentSoft" | "brandAccentSoftHover" | "brandAccentSoftActive" | "brandAccentSoftContrastText" | "highlight" | "highlightHover" | "highlightActive" | "highlightContrastText" | "highlightSoft" | "highlightSoftHover" | "highlightSoftActive" | "highlightSoftContrastText" | "info" | "infoHover" | "infoActive" | "infoContrastText" | "infoSoft" | "infoSoftHover" | "infoSoftActive" | "infoSoftContrastText" | "positive" | "positiveHover" | "positiveActive" | "positiveContrastText" | "positiveSoft" | "positiveSoftHover" | "positiveSoftActive" | "positiveSoftContrastText" | "caution" | "cautionHover" | "cautionActive" | "cautionContrastText" | "cautionSoft" | "cautionSoftHover" | "cautionSoftActive" | "cautionSoftContrastText" | "critical" | "criticalHover" | "criticalActive" | "criticalContrastText" | "criticalSoft" | "criticalSoftHover" | "criticalSoftActive" | "criticalSoftContrastText" | "neutral" | "neutralHover" | "neutralActive" | "neutralContrastText" | "neutralSoft" | "neutralSoftHover" | "neutralSoftActive" | "neutralSoftContrastText" | "surface" | "surfaceLight" | "surfaceDark" | "surfaceContrastText" | "surfaceContrastTextSubdued" | {
134
- lightMode?: "surfaceLightSemiTransparent" | "surfaceContrast" | "brandAccent" | "brandAccentHover" | "brandAccentActive" | "brandAccentContrastText" | "brandAccentSoft" | "brandAccentSoftHover" | "brandAccentSoftActive" | "brandAccentSoftContrastText" | "highlight" | "highlightHover" | "highlightActive" | "highlightContrastText" | "highlightSoft" | "highlightSoftHover" | "highlightSoftActive" | "highlightSoftContrastText" | "info" | "infoHover" | "infoActive" | "infoContrastText" | "infoSoft" | "infoSoftHover" | "infoSoftActive" | "infoSoftContrastText" | "positive" | "positiveHover" | "positiveActive" | "positiveContrastText" | "positiveSoft" | "positiveSoftHover" | "positiveSoftActive" | "positiveSoftContrastText" | "caution" | "cautionHover" | "cautionActive" | "cautionContrastText" | "cautionSoft" | "cautionSoftHover" | "cautionSoftActive" | "cautionSoftContrastText" | "critical" | "criticalHover" | "criticalActive" | "criticalContrastText" | "criticalSoft" | "criticalSoftHover" | "criticalSoftActive" | "criticalSoftContrastText" | "neutral" | "neutralHover" | "neutralActive" | "neutralContrastText" | "neutralSoft" | "neutralSoftHover" | "neutralSoftActive" | "neutralSoftContrastText" | "surface" | "surfaceLight" | "surfaceDark" | "surfaceContrastText" | "surfaceContrastTextSubdued" | undefined;
135
- darkMode?: "surfaceLightSemiTransparent" | "surfaceContrast" | "brandAccent" | "brandAccentHover" | "brandAccentActive" | "brandAccentContrastText" | "brandAccentSoft" | "brandAccentSoftHover" | "brandAccentSoftActive" | "brandAccentSoftContrastText" | "highlight" | "highlightHover" | "highlightActive" | "highlightContrastText" | "highlightSoft" | "highlightSoftHover" | "highlightSoftActive" | "highlightSoftContrastText" | "info" | "infoHover" | "infoActive" | "infoContrastText" | "infoSoft" | "infoSoftHover" | "infoSoftActive" | "infoSoftContrastText" | "positive" | "positiveHover" | "positiveActive" | "positiveContrastText" | "positiveSoft" | "positiveSoftHover" | "positiveSoftActive" | "positiveSoftContrastText" | "caution" | "cautionHover" | "cautionActive" | "cautionContrastText" | "cautionSoft" | "cautionSoftHover" | "cautionSoftActive" | "cautionSoftContrastText" | "critical" | "criticalHover" | "criticalActive" | "criticalContrastText" | "criticalSoft" | "criticalSoftHover" | "criticalSoftActive" | "criticalSoftContrastText" | "neutral" | "neutralHover" | "neutralActive" | "neutralContrastText" | "neutralSoft" | "neutralSoftHover" | "neutralSoftActive" | "neutralSoftContrastText" | "surface" | "surfaceLight" | "surfaceDark" | "surfaceContrastText" | "surfaceContrastTextSubdued" | undefined;
133
+ background?: ("brandBg" | "brandBgDark" | "brandBgDarkest" | "brandLight" | "brand" | "brandDark" | "brandText" | "brandContrast" | "highlightBg" | "highlightBgDark" | "highlightBgDarkest" | "highlightLight" | "highlight" | "highlightDark" | "highlightText" | "highlightContrast" | "infoBg" | "infoBgDark" | "infoBgDarkest" | "infoLight" | "info" | "infoDark" | "infoText" | "infoContrast" | "positiveBg" | "positiveBgDark" | "positiveBgDarkest" | "positiveLight" | "positive" | "positiveDark" | "positiveText" | "positiveContrast" | "cautionBg" | "cautionBgDark" | "cautionBgDarkest" | "cautionLight" | "caution" | "cautionDark" | "cautionText" | "cautionContrast" | "criticalBg" | "criticalBgDark" | "criticalBgDarkest" | "criticalLight" | "critical" | "criticalDark" | "criticalText" | "criticalContrast" | "neutralBg" | "neutralBgDark" | "neutralBgDarkest" | "neutralLight" | "neutral" | "neutralDark" | "neutralText" | "neutralContrast" | "surfaceBg" | "surfaceBgDarkest" | "surfaceText" | "surfaceTextLight" | {
134
+ lightMode?: "brandBg" | "brandBgDark" | "brandBgDarkest" | "brandLight" | "brand" | "brandDark" | "brandText" | "brandContrast" | "highlightBg" | "highlightBgDark" | "highlightBgDarkest" | "highlightLight" | "highlight" | "highlightDark" | "highlightText" | "highlightContrast" | "infoBg" | "infoBgDark" | "infoBgDarkest" | "infoLight" | "info" | "infoDark" | "infoText" | "infoContrast" | "positiveBg" | "positiveBgDark" | "positiveBgDarkest" | "positiveLight" | "positive" | "positiveDark" | "positiveText" | "positiveContrast" | "cautionBg" | "cautionBgDark" | "cautionBgDarkest" | "cautionLight" | "caution" | "cautionDark" | "cautionText" | "cautionContrast" | "criticalBg" | "criticalBgDark" | "criticalBgDarkest" | "criticalLight" | "critical" | "criticalDark" | "criticalText" | "criticalContrast" | "neutralBg" | "neutralBgDark" | "neutralBgDarkest" | "neutralLight" | "neutral" | "neutralDark" | "neutralText" | "neutralContrast" | "surfaceBg" | "surfaceBgDarkest" | "surfaceText" | "surfaceTextLight" | undefined;
135
+ darkMode?: "brandBg" | "brandBgDark" | "brandBgDarkest" | "brandLight" | "brand" | "brandDark" | "brandText" | "brandContrast" | "highlightBg" | "highlightBgDark" | "highlightBgDarkest" | "highlightLight" | "highlight" | "highlightDark" | "highlightText" | "highlightContrast" | "infoBg" | "infoBgDark" | "infoBgDarkest" | "infoLight" | "info" | "infoDark" | "infoText" | "infoContrast" | "positiveBg" | "positiveBgDark" | "positiveBgDarkest" | "positiveLight" | "positive" | "positiveDark" | "positiveText" | "positiveContrast" | "cautionBg" | "cautionBgDark" | "cautionBgDarkest" | "cautionLight" | "caution" | "cautionDark" | "cautionText" | "cautionContrast" | "criticalBg" | "criticalBgDark" | "criticalBgDarkest" | "criticalLight" | "critical" | "criticalDark" | "criticalText" | "criticalContrast" | "neutralBg" | "neutralBgDark" | "neutralBgDarkest" | "neutralLight" | "neutral" | "neutralDark" | "neutralText" | "neutralContrast" | "surfaceBg" | "surfaceBgDarkest" | "surfaceText" | "surfaceTextLight" | undefined;
136
136
  }) | undefined;
137
137
  } & {
138
138
  __alignItems?: any;
@@ -27,21 +27,10 @@ export declare const button: import("@vanilla-extract/recipes/dist/declarations/
27
27
  };
28
28
  };
29
29
  };
30
- subdued: {
31
- backgroundColor: import("@vanilla-extract/private").CSSVarFunction;
32
- color: import("@vanilla-extract/private").CSSVarFunction;
33
- selectors: {
34
- '&:hover, &:focus': {
35
- backgroundColor: import("@vanilla-extract/private").CSSVarFunction;
36
- };
37
- '&:active': {
38
- backgroundColor: import("@vanilla-extract/private").CSSVarFunction;
39
- };
40
- };
41
- };
42
30
  tertiary: {
43
31
  backgroundColor: "transparent";
44
32
  color: import("@vanilla-extract/private").CSSVarFunction;
33
+ textDecoration: "underline";
45
34
  selectors: {
46
35
  '&:hover, &:focus': {
47
36
  backgroundColor: import("@vanilla-extract/private").CSSVarFunction;
@@ -72,6 +61,7 @@ export declare const button: import("@vanilla-extract/recipes/dist/declarations/
72
61
  selectors: {
73
62
  '&:hover, &:focus, &:active': {
74
63
  backgroundColor: import("@vanilla-extract/private").CSSVarFunction;
64
+ color: import("@vanilla-extract/private").CSSVarFunction;
75
65
  };
76
66
  };
77
67
  };
@@ -79,6 +69,7 @@ export declare const button: import("@vanilla-extract/recipes/dist/declarations/
79
69
  loading: {
80
70
  true: {
81
71
  cursor: "default";
72
+ userSelect: "none";
82
73
  };
83
74
  };
84
75
  size: {
@@ -1 +1 @@
1
- {"version":3,"file":"Button.css.d.ts","sourceRoot":"","sources":["../../src/Button/Button.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAIjE,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiOjB,CAAA;AAEF,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,WAAW,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,EAAE,YAAY,CAAC,CAAA"}
1
+ {"version":3,"file":"Button.css.d.ts","sourceRoot":"","sources":["../../src/Button/Button.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAIjE,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsNjB,CAAA;AAEF,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,WAAW,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,EAAE,YAAY,CAAC,CAAA"}
@@ -1,8 +1,14 @@
1
1
  import React from 'react';
2
- import type { IButtonElement } from '../_private/BaseButton';
3
2
  import { ButtonVariants } from './Button.css';
4
3
  import { IButtonContent } from '../_private/ButtonContent';
5
- type IButton = ButtonVariants & IButtonElement & IButtonContent;
6
- declare const Button: React.ForwardRefExoticComponent<Pick<IButton, "size" | "icon" | "variant" | keyof import("../_private/BaseButton/BaseButton").IBaseButton> & React.RefAttributes<HTMLButtonElement>>;
4
+ declare const Button: React.ForwardRefExoticComponent<{
5
+ variant?: ButtonVariants['variant'];
6
+ disabled?: ButtonVariants['disabled'];
7
+ loading?: ButtonVariants['loading'];
8
+ size?: ButtonVariants['size'];
9
+ bleed?: ButtonVariants['bleed'];
10
+ } & import("../_private/BaseButton/BaseButton").IBaseButton & {
11
+ type?: "button" | "reset" | "submit" | undefined;
12
+ } & IButtonContent & React.RefAttributes<HTMLButtonElement>>;
7
13
  export default Button;
8
14
  //# sourceMappingURL=Button.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../src/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAEzB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AACzD,OAAO,EAAU,cAAc,EAAE,MAAM,cAAc,CAAA;AACrD,OAAsB,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAEtE,KAAK,OAAO,GAAG,cAAc,GAAG,cAAc,GAAG,cAAc,CAAA;AAE/D,QAAA,MAAM,MAAM,sLAcX,CAAA;AAED,eAAe,MAAM,CAAA"}
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../src/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAU,cAAc,EAAE,MAAM,cAAc,CAAA;AACrD,OAAsB,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAWtE,QAAA,MAAM,MAAM;cARA,cAAc,CAAC,SAAS,CAAC;eACxB,cAAc,CAAC,UAAU,CAAC;cAC3B,cAAc,CAAC,SAAS,CAAC;WAC5B,cAAc,CAAC,MAAM,CAAC;YACrB,cAAc,CAAC,OAAO,CAAC;;;4DAkBhC,CAAA;AAED,eAAe,MAAM,CAAA"}
@@ -23,17 +23,6 @@ export declare const buttonIcon: import("@vanilla-extract/recipes/dist/declarati
23
23
  };
24
24
  };
25
25
  };
26
- info: {
27
- color: import("@vanilla-extract/private").CSSVarFunction;
28
- selectors: {
29
- '&:hover, &:focus': {
30
- color: import("@vanilla-extract/private").CSSVarFunction;
31
- };
32
- '&:active': {
33
- backgroundColor: "rgba(0,0,0,0.1)";
34
- };
35
- };
36
- };
37
26
  };
38
27
  disabled: {
39
28
  true: {
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonIcon.css.d.ts","sourceRoot":"","sources":["../../src/ButtonIcon/ButtonIcon.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAIjE,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+ErB,CAAA;AAEF,MAAM,MAAM,kBAAkB,GAAG,WAAW,CAAC,cAAc,CAAC,OAAO,UAAU,CAAC,CAAC,CAAA"}
1
+ {"version":3,"file":"ButtonIcon.css.d.ts","sourceRoot":"","sources":["../../src/ButtonIcon/ButtonIcon.css.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,cAAc,EAAE,MAAM,0BAA0B,CAAA;AAIjE,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0DrB,CAAA;AAEF,MAAM,MAAM,kBAAkB,GAAG,WAAW,CAAC,cAAc,CAAC,OAAO,UAAU,CAAC,CAAC,CAAA"}
@@ -2,14 +2,16 @@ import React from 'react';
2
2
  import type { IButtonElement } from '../_private/BaseButton';
3
3
  import { ButtonIconVariants } from '../ButtonIcon/ButtonIcon.css';
4
4
  import { IIcon } from '../_private/Icon';
5
- type IButtonIconContent = {
5
+ declare const ButtonIcon: React.ForwardRefExoticComponent<{
6
6
  /** Label the button. Set an empty string to remove the tooltip */
7
7
  label: string;
8
8
  /** Display an icon to the left of the content */
9
9
  icon: React.FC<IIcon>;
10
- tooltip?: boolean;
11
- };
12
- type IButtonIcon = ButtonIconVariants & Omit<IButtonElement, 'children' | 'loading'> & IButtonIconContent;
13
- declare const ButtonIcon: React.ForwardRefExoticComponent<Pick<IButtonIcon, "disabled" | "className" | "id" | "onClick" | "variant" | "bleed" | keyof IButtonIconContent> & React.RefAttributes<HTMLButtonElement>>;
10
+ /** Display the label in a tooltip when the button is hovered */
11
+ tooltip?: boolean | undefined;
12
+ variant?: ButtonIconVariants['variant'];
13
+ disabled?: ButtonIconVariants['disabled'];
14
+ bleed?: ButtonIconVariants['bleed'];
15
+ } & Omit<IButtonElement, "children" | "loading"> & React.RefAttributes<HTMLButtonElement>>;
14
16
  export default ButtonIcon;
15
17
  //# sourceMappingURL=ButtonIcon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonIcon.d.ts","sourceRoot":"","sources":["../../src/ButtonIcon/ButtonIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AACzD,OAAO,EAAc,kBAAkB,EAAE,MAAM,6BAA6B,CAAA;AAC5E,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AAErC,KAAK,kBAAkB,GAAG;IACxB,kEAAkE;IAClE,KAAK,EAAE,MAAM,CAAA;IACb,iDAAiD;IACjD,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,CAAA;IACrB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,KAAK,WAAW,GAAG,kBAAkB,GAAG,IAAI,CAAC,cAAc,EAAE,UAAU,GAAG,SAAS,CAAC,GAAG,kBAAkB,CAAA;AAEzG,QAAA,MAAM,UAAU,2LA+Bf,CAAA;AAED,eAAe,UAAU,CAAA"}
1
+ {"version":3,"file":"ButtonIcon.d.ts","sourceRoot":"","sources":["../../src/ButtonIcon/ButtonIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AACzD,OAAO,EAAc,kBAAkB,EAAE,MAAM,6BAA6B,CAAA;AAC5E,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AAcrC,QAAA,MAAM,UAAU;IAXd,kEAAkE;WAC3D,MAAM;IACb,iDAAiD;UAC3C,MAAM,EAAE,CAAC,KAAK,CAAC;IACrB,gEAAgE;;cAEtD,kBAAkB,CAAC,SAAS,CAAC;eAC5B,kBAAkB,CAAC,UAAU,CAAC;YACjC,kBAAkB,CAAC,OAAO,CAAC;0FAkCpC,CAAA;AAED,eAAe,UAAU,CAAA"}
@@ -1,13 +1,18 @@
1
1
  import React from 'react';
2
2
  import { ButtonVariants } from '../Button/Button.css';
3
- declare const ButtonLink: React.ForwardRefExoticComponent<ButtonVariants & import("../_private/BaseButton/BaseButton").IBaseButton & {
3
+ import { IButtonContent } from '../_private/ButtonContent';
4
+ declare const ButtonLink: React.ForwardRefExoticComponent<{
5
+ variant?: ButtonVariants['variant'];
6
+ disabled?: ButtonVariants['disabled'];
7
+ loading?: ButtonVariants['loading'];
8
+ size?: ButtonVariants['size'];
9
+ bleed?: ButtonVariants['bleed'];
10
+ } & import("../_private/BaseButton/BaseButton").IBaseButton & {
4
11
  href: string;
5
12
  title?: string | undefined;
6
13
  rel?: string | undefined;
7
14
  newTab?: boolean | undefined;
8
15
  download?: boolean | undefined;
9
- } & Pick<import("../_private/BaseButton/BaseButton").IBaseButton, "children" | "loading"> & {
10
- icon?: React.FC<import("../_private/Icon/Icon").IIcon> | undefined;
11
- } & React.RefAttributes<HTMLAnchorElement>>;
16
+ } & IButtonContent & React.RefAttributes<HTMLAnchorElement>>;
12
17
  export default ButtonLink;
13
18
  //# sourceMappingURL=ButtonLink.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonLink.d.ts","sourceRoot":"","sources":["../../src/ButtonLink/ButtonLink.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAU,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAK5D,QAAA,MAAM,UAAU;;;;;;;;2CAcf,CAAA;AAED,eAAe,UAAU,CAAA"}
1
+ {"version":3,"file":"ButtonLink.d.ts","sourceRoot":"","sources":["../../src/ButtonLink/ButtonLink.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAU,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAC5D,OAAsB,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAWtE,QAAA,MAAM,UAAU;cARJ,cAAc,CAAC,SAAS,CAAC;eACxB,cAAc,CAAC,UAAU,CAAC;cAC3B,cAAc,CAAC,SAAS,CAAC;WAC5B,cAAc,CAAC,MAAM,CAAC;YACrB,cAAc,CAAC,OAAO,CAAC;;;;;;;4DAkBhC,CAAA;AAED,eAAe,UAAU,CAAA"}
@@ -1,65 +1,15 @@
1
1
  import React from 'react';
2
2
  import type { IButtonLinkElement } from '../_private/BaseButton';
3
3
  import { IIcon } from '../_private/Icon';
4
- type IButtonLinkIconContent = {
4
+ import { ButtonIconVariants } from '../ButtonIcon/ButtonIcon.css';
5
+ declare const ButtonLinkIcon: React.ForwardRefExoticComponent<{
5
6
  /** Label the button */
6
7
  label: string;
7
8
  /** Display an icon to the left of the content */
8
9
  icon: React.FC<IIcon>;
9
- };
10
- declare const ButtonLinkIcon: React.ForwardRefExoticComponent<import("@vanilla-extract/recipes/dist/declarations/src/types").VariantSelection<{
11
- variant: {
12
- default: {
13
- color: import("@vanilla-extract/private").CSSVarFunction;
14
- selectors: {
15
- '&:hover, &:focus': {
16
- backgroundColor: import("@vanilla-extract/private").CSSVarFunction;
17
- };
18
- '&:active': {
19
- backgroundColor: import("@vanilla-extract/private").CSSVarFunction;
20
- };
21
- };
22
- };
23
- destructive: {
24
- color: import("@vanilla-extract/private").CSSVarFunction;
25
- selectors: {
26
- '&:hover, &:focus': {
27
- backgroundColor: import("@vanilla-extract/private").CSSVarFunction;
28
- };
29
- '&:active': {
30
- backgroundColor: import("@vanilla-extract/private").CSSVarFunction;
31
- };
32
- };
33
- };
34
- info: {
35
- color: import("@vanilla-extract/private").CSSVarFunction;
36
- selectors: {
37
- '&:hover, &:focus': {
38
- color: import("@vanilla-extract/private").CSSVarFunction;
39
- };
40
- '&:active': {
41
- backgroundColor: "rgba(0,0,0,0.1)";
42
- };
43
- };
44
- };
45
- };
46
- disabled: {
47
- true: {
48
- color: import("@vanilla-extract/private").CSSVarFunction;
49
- cursor: "not-allowed";
50
- selectors: {
51
- '&:hover, &:focus, &:active': {
52
- backgroundColor: "transparent";
53
- };
54
- };
55
- };
56
- };
57
- bleed: {
58
- true: {
59
- marginBottom: string;
60
- marginTop: string;
61
- };
62
- };
63
- }> & Omit<IButtonLinkElement, "children" | "loading"> & IButtonLinkIconContent & React.RefAttributes<HTMLAnchorElement>>;
10
+ variant?: ButtonIconVariants['variant'];
11
+ disabled?: ButtonIconVariants['disabled'];
12
+ bleed?: ButtonIconVariants['bleed'];
13
+ } & Omit<IButtonLinkElement, "children" | "loading"> & React.RefAttributes<HTMLAnchorElement>>;
64
14
  export default ButtonLinkIcon;
65
15
  //# sourceMappingURL=ButtonLinkIcon.d.ts.map