reshaped 2.4.4 → 2.4.7

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 (68) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/bundle.css +1 -1
  3. package/bundle.js +9 -9
  4. package/cli/theming/index.js +2 -2
  5. package/cli/theming/reshaped.config.js +3 -3
  6. package/components/Accordion/AccordionContent.js +3 -1
  7. package/components/Accordion/tests/Accordion.stories.js +3 -2
  8. package/components/Actionable/Actionable.js +4 -4
  9. package/components/Actionable/Actionable.module.css +1 -1
  10. package/components/Autocomplete/Autocomplete.js +8 -2
  11. package/components/Button/Button.js +1 -1
  12. package/components/Button/Button.module.css +1 -1
  13. package/components/Button/ButtonAligner.d.ts +4 -2
  14. package/components/Button/ButtonAligner.js +2 -8
  15. package/components/Checkbox/tests/Checkbox.stories.js +1 -1
  16. package/components/FormControl/FormControl.context.d.ts +53 -53
  17. package/components/MenuItem/MenuItem.js +1 -1
  18. package/components/MenuItem/MenuItem.module.css +1 -1
  19. package/components/MenuItem/MenuItemAligner.d.ts +2 -2
  20. package/components/MenuItem/MenuItemAligner.js +2 -4
  21. package/components/MenuItem/tests/MenuItem.stories.js +1 -1
  22. package/components/TextArea/TextArea.d.ts +5 -1
  23. package/components/TextArea/TextArea.js +3 -1
  24. package/components/TextArea/TextArea.module.css +1 -1
  25. package/components/TextArea/tests/TextArea.stories.d.ts +1 -0
  26. package/components/TextArea/tests/TextArea.stories.js +16 -0
  27. package/components/TextField/TextField.d.ts +5 -1
  28. package/components/TextField/TextField.js +3 -1
  29. package/components/TextField/TextField.module.css +1 -1
  30. package/components/TextField/tests/TextField.stories.d.ts +1 -0
  31. package/components/TextField/tests/TextField.stories.js +16 -0
  32. package/components/Toast/tests/Toast.stories.js +0 -1
  33. package/components/View/tests/View.stories.js +1 -1
  34. package/components/_private/Aligner/Aligner.d.ts +12 -0
  35. package/components/_private/Aligner/Aligner.js +18 -0
  36. package/components/_private/Aligner/Aligner.module.css +1 -0
  37. package/components/_private/Aligner/Aligner.types.d.ts +9 -0
  38. package/components/_private/Aligner/Aligner.types.js +1 -0
  39. package/components/_private/Aligner/index.d.ts +2 -0
  40. package/components/_private/Aligner/index.js +1 -0
  41. package/components/_private/Flyout/FlyoutTrigger.js +3 -12
  42. package/components/_private/Portal/Portal.d.ts +1 -1
  43. package/config/tailwind.js +2 -2
  44. package/package.json +26 -21
  45. package/themes/_generator/definitions/base.d.ts +3 -0
  46. package/themes/_generator/definitions/figma.d.ts +3 -0
  47. package/themes/_generator/definitions/reshaped.d.ts +3 -0
  48. package/{cli/theming → themes/_generator}/definitions/reshaped.js +5 -38
  49. package/themes/_generator/definitions/slate.d.ts +3 -0
  50. package/themes/_generator/tests/themes.stories.d.ts +2 -1
  51. package/themes/_generator/tests/themes.stories.js +75 -2
  52. package/themes/_generator/utilities/generateColors.d.ts +20 -0
  53. package/themes/_generator/utilities/generateColors.js +422 -0
  54. package/themes/figma/theme.css +1 -1
  55. package/themes/index.d.ts +11 -0
  56. package/themes/index.js +8 -0
  57. package/themes/reshaped/theme.css +1 -1
  58. package/themes/slate/theme.css +1 -1
  59. package/types/global.d.ts +1 -1
  60. package/cli/theming/definitions/base.d.ts +0 -3
  61. package/cli/theming/definitions/figma.d.ts +0 -3
  62. package/cli/theming/definitions/reshaped.d.ts +0 -3
  63. package/cli/theming/definitions/slate.d.ts +0 -3
  64. package/config/next.d.ts +0 -4
  65. package/config/next.js +0 -22
  66. /package/{cli/theming → themes/_generator}/definitions/base.js +0 -0
  67. /package/{cli/theming → themes/_generator}/definitions/figma.js +0 -0
  68. /package/{cli/theming → themes/_generator}/definitions/slate.js +0 -0
package/config/next.js DELETED
@@ -1,22 +0,0 @@
1
- "use strict";
2
- /**
3
- * TODO: Work in progress
4
- * Needs named exports support before we can use it
5
- */
6
- // export const config = {
7
- // modularizeImports: {
8
- // reshaped: {
9
- // transform: {
10
- // // Utilities
11
- // // classNames: "reshaped/utilities/classNames",
12
- // // Hooks
13
- // useToast: "reshaped/components/Toast",
14
- // useFormControl: "reshaped/components/FormControl",
15
- // useTheme: "reshaped/components/Theme",
16
- // "use.*": "reshaped/hooks/{{ member }}",
17
- // // Components
18
- // "*": "reshaped/components/{{ member }}",
19
- // },
20
- // },
21
- // },
22
- // };