@utilitywarehouse/hearth-react-native 0.16.0 → 0.16.1

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 (90) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/.turbo/turbo-lint.log +67 -4
  3. package/CHANGELOG.md +6 -0
  4. package/build/components/Avatar/Avatar.js +0 -2
  5. package/build/components/Banner/Banner.d.ts +1 -1
  6. package/build/components/Banner/Banner.js +3 -1
  7. package/build/components/Carousel/Carousel.js +1 -1
  8. package/build/components/DateInput/DateInput.js +1 -0
  9. package/build/components/DateInput/DateInputSegment.js +2 -2
  10. package/build/components/DatePicker/DatePicker.js +8 -4
  11. package/build/components/DatePicker/DatePickerHeader/DatePickerHeader.props.d.ts +0 -1
  12. package/build/components/DatePicker/DatePickerHeader/index.js +1 -1
  13. package/build/components/DatePicker/index.d.ts +1 -0
  14. package/build/components/DatePicker/polyfill.js +3 -3
  15. package/build/components/DatePicker/time-picker/wheel-web.js +1 -3
  16. package/build/components/DatePickerInput/DatePickerInput.js +1 -2
  17. package/build/components/DescriptionList/DescriptionList.d.ts +1 -1
  18. package/build/components/DescriptionList/DescriptionList.js +2 -2
  19. package/build/components/DescriptionList/DescriptionList.props.d.ts +1 -0
  20. package/build/components/DescriptionList/DescriptionListItem.d.ts +1 -1
  21. package/build/components/DescriptionList/DescriptionListItem.js +3 -2
  22. package/build/components/DescriptionList/DescriptionListItem.props.d.ts +1 -0
  23. package/build/components/Input/Input.js +1 -1
  24. package/build/components/Switch/Switch.js +1 -1
  25. package/build/components/Tabs/Tabs.d.ts +1 -1
  26. package/build/components/Tabs/Tabs.js +1 -1
  27. package/build/components/Textarea/Textarea.js +3 -0
  28. package/build/components/Toast/ToastItem.js +1 -1
  29. package/build/components/ToggleButton/ToggleButtonIcon.js +1 -1
  30. package/build/components/ToggleButton/ToggleButtonRoot.js +0 -2
  31. package/build/components/UnstyledIconButton/UnstyledIconButtonIcon.js +1 -1
  32. package/build/utils/coloursAsArray.js +1 -1
  33. package/docs/components/AllComponents.web.tsx +16 -18
  34. package/docs/components/UsageWrap.tsx +17 -20
  35. package/eslint.config.js +5 -1
  36. package/package.json +10 -10
  37. package/src/components/Accordion/Accordion.figma.tsx +15 -17
  38. package/src/components/Accordion/AccordionItem.figma.tsx +27 -0
  39. package/src/components/Avatar/Avatar.figma.tsx +11 -21
  40. package/src/components/Avatar/Avatar.tsx +0 -2
  41. package/src/components/Badge/Badge.figma.tsx +45 -54
  42. package/src/components/Banner/Banner.figma.tsx +21 -13
  43. package/src/components/Banner/Banner.stories.tsx +4 -4
  44. package/src/components/Banner/Banner.tsx +2 -1
  45. package/src/components/Button/Button.figma.tsx +118 -46
  46. package/src/components/Card/Card.figma.tsx +27 -43
  47. package/src/components/Card/Card.stories.tsx +1 -1
  48. package/src/components/Carousel/Carousel.figma.tsx +20 -17
  49. package/src/components/Carousel/Carousel.tsx +1 -1
  50. package/src/components/Checkbox/Checkbox.figma.tsx +15 -18
  51. package/src/components/Checkbox/Checkbox.stories.tsx +2 -2
  52. package/src/components/Checkbox/CheckboxGroup.figma.tsx +48 -15
  53. package/src/components/Checkbox/CheckboxTileRoot.figma.tsx +24 -27
  54. package/src/components/CurrencyInput/CurrencyInput.figma.tsx +65 -49
  55. package/src/components/DateInput/DateInput.figma.tsx +58 -45
  56. package/src/components/DateInput/DateInput.tsx +1 -0
  57. package/src/components/DateInput/DateInputSegment.tsx +2 -2
  58. package/src/components/DatePicker/DatePicker.figma.tsx +47 -0
  59. package/src/components/DatePicker/DatePicker.tsx +8 -4
  60. package/src/components/DatePicker/DatePickerHeader/DatePickerHeader.props.ts +0 -2
  61. package/src/components/DatePicker/DatePickerHeader/index.tsx +2 -2
  62. package/src/components/DatePicker/index.ts +2 -0
  63. package/src/components/DatePicker/polyfill.ts +3 -3
  64. package/src/components/DatePicker/time-picker/wheel-web.tsx +0 -1
  65. package/src/components/DatePickerInput/DatePickerInput.figma.tsx +18 -46
  66. package/src/components/DatePickerInput/DatePickerInput.tsx +0 -2
  67. package/src/components/DescriptionList/DescriptionList.docs.mdx +16 -14
  68. package/src/components/DescriptionList/DescriptionList.figma.tsx +41 -17
  69. package/src/components/DescriptionList/DescriptionList.props.ts +1 -0
  70. package/src/components/DescriptionList/DescriptionList.stories.tsx +24 -0
  71. package/src/components/DescriptionList/DescriptionList.tsx +2 -0
  72. package/src/components/DescriptionList/DescriptionListItem.figma.tsx +42 -0
  73. package/src/components/DescriptionList/DescriptionListItem.props.ts +1 -0
  74. package/src/components/DescriptionList/DescriptionListItem.tsx +7 -0
  75. package/src/components/Divider/Divider.figma.tsx +10 -23
  76. package/src/components/Input/Input.tsx +0 -1
  77. package/src/components/List/List.stories.tsx +1 -4
  78. package/src/components/Radio/Radio.stories.tsx +1 -1
  79. package/src/components/Switch/Switch.tsx +1 -1
  80. package/src/components/Tabs/Tabs.tsx +0 -1
  81. package/src/components/Textarea/Textarea.tsx +3 -0
  82. package/src/components/ThemedImage/ThemedImage.stories.tsx +14 -14
  83. package/src/components/Toast/ToastItem.tsx +1 -1
  84. package/src/components/ToggleButton/ToggleButtonIcon.tsx +1 -1
  85. package/src/components/ToggleButton/ToggleButtonRoot.tsx +0 -2
  86. package/src/components/UnstyledIconButton/UnstyledIconButtonIcon.tsx +1 -1
  87. package/src/utils/coloursAsArray.ts +1 -1
  88. package/tsconfig.eslint.json +13 -0
  89. package/src/components/Accordion/AccordionItemRoot.figma.tsx +0 -47
  90. package/src/components/DatePicker/DatePickerCalendar.figma.tsx +0 -34
@@ -1,47 +0,0 @@
1
- import React from "react"
2
- import AccordionItemRoot from "./AccordionItemRoot"
3
- import figma from "@figma/code-connect"
4
-
5
- /**
6
- * -- This file was auto-generated by Code Connect --
7
- * `props` includes a mapping from your code props to Figma properties.
8
- * You should check this is correct, and update the `example` function
9
- * to return the code example you'd like to see in Figma
10
- */
11
-
12
- figma.connect(
13
- AccordionItemRoot,
14
- "https://www.figma.com/design/6NKZXZhFSExXrcbBgc6zTR?node-id=3390%3A6160",
15
- {
16
- props: {
17
- // These props were automatically mapped based on your linked code:
18
- disabled: figma.enum("State", {
19
- Active: true,
20
- }),
21
- title: figma.string("Title"),
22
- expanded: figma.boolean("Expand?"),
23
- triggerContent: figma.instance("Trigger custom content"),
24
- collapsable: figma.boolean("Expand?"),
25
- focusable: figma.enum("State", {
26
- Focus: true,
27
- }),
28
- // No matching props could be found for these Figma properties:
29
- // "customContent": figma.boolean('Custom content?'),
30
- // "title": figma.string('Title'),
31
- // "description": figma.string('Description'),
32
- // "customContent": figma.instance('Custom content'),
33
- // "triggerCustomContent": figma.instance('Trigger custom content'),
34
- // "triggerCustomContent": figma.boolean('Trigger custom content?')
35
- },
36
- example: (props) => (
37
- <AccordionItemRoot
38
- disabled={props.disabled}
39
- title={props.title}
40
- expanded={props.expanded}
41
- triggerContent={props.triggerContent}
42
- collapsable={props.collapsable}
43
- focusable={props.focusable}
44
- />
45
- ),
46
- },
47
- )
@@ -1,34 +0,0 @@
1
- import React from "react"
2
- import DatePickerCalendar from "./DatePickerCalendar"
3
- import figma from "@figma/code-connect"
4
-
5
- /**
6
- * -- This file was auto-generated by Code Connect --
7
- * None of your props could be automatically mapped to Figma properties.
8
- * You should update the `props` object to include a mapping from your
9
- * code props to Figma properties, and update the `example` function to
10
- * return the code example you'd like to see in Figma
11
- */
12
-
13
- figma.connect(
14
- DatePickerCalendar,
15
- "https://www.figma.com/design/6NKZXZhFSExXrcbBgc6zTR?node-id=3797%3A6383",
16
- {
17
- props: {
18
- // No matching props could be found for these Figma properties:
19
- // "grabber": figma.boolean('Grabber?'),
20
- // "header": figma.boolean('Header?'),
21
- // "footer": figma.boolean('Footer?'),
22
- // "deviceType": figma.enum('Device type', {
23
- // "Desktop": "desktop",
24
- // "Mobile": "mobile"
25
- // }),
26
- // "type": figma.enum('Type', {
27
- // "Day": "day",
28
- // "Month": "month",
29
- // "Year": "year"
30
- // })
31
- },
32
- example: (props) => <DatePickerCalendar />,
33
- },
34
- )