@moda/om 21.0.0-next.1 → 21.0.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 (103) hide show
  1. package/README.md +0 -1
  2. package/dist/index.cjs.js +2194 -1983
  3. package/dist/index.cjs.js.map +1 -1
  4. package/dist/index.esm.js +2193 -1982
  5. package/dist/index.esm.js.map +1 -1
  6. package/dist/src/components/Checkbox/Checkbox.d.ts +1 -1
  7. package/dist/src/components/Clickable/Clickable.d.ts +2 -7
  8. package/dist/src/components/Field/Field.d.ts +1 -1
  9. package/dist/src/components/NavigationPreventer/NavigationPreventer.d.ts +2 -1
  10. package/dist/src/components/PasswordInput/PasswordInput.d.ts +1 -1
  11. package/dist/src/components/Popover/Popover.d.ts +1 -1
  12. package/dist/src/components/PromoBanner/PromoBanner.d.ts +1 -1
  13. package/dist/src/components/RadioButton/RadioButton.d.ts +1 -1
  14. package/dist/src/components/Select/useSelect.d.ts +3 -3
  15. package/dist/src/components/Tabs/Tab.d.ts +1 -1
  16. package/dist/src/components/Text/Text.d.ts +2 -2
  17. package/dist/src/hooks/useClickOutside.d.ts +1 -1
  18. package/dist/src/index.d.ts +10 -1
  19. package/dist/src/utilities/States/State.d.ts +6 -7
  20. package/dist/src/utilities/States/StateProps.d.ts +7 -0
  21. package/dist/src/utilities/States/States.d.ts +6 -7
  22. package/dist/src/utilities/States/Styles.d.ts +14 -0
  23. package/dist/src/utilities/States/index.d.ts +1 -0
  24. package/dist/src/utilities/index.d.ts +7 -0
  25. package/dist/src/utilities/isEmpty.d.ts +1 -0
  26. package/dist/src/utilities/isRenderProps.d.ts +5 -0
  27. package/dist/src/utilities/stringifyProps.d.ts +1 -0
  28. package/dist/src/utilities/truncate.d.ts +1 -0
  29. package/dist/styles.css +1 -1
  30. package/package.json +71 -69
  31. package/src/components/AspectRatioBox/AspectRatioBox.stories.tsx +1 -1
  32. package/src/components/Badge/Badge.stories.tsx +1 -1
  33. package/src/components/Breadcrumbs/Breadcrumbs.stories.tsx +1 -1
  34. package/src/components/Breadcrumbs/Breadcrumbs.tsx +2 -2
  35. package/src/components/Breakpoint/Breakpoint.stories.tsx +3 -6
  36. package/src/components/Button/Button.stories.tsx +10 -7
  37. package/src/components/Checkbox/Checkbox.stories.tsx +1 -1
  38. package/src/components/Checkbox/Checkbox.tsx +1 -1
  39. package/src/components/Clickable/Clickable.stories.tsx +7 -4
  40. package/src/components/Clickable/Clickable.tsx +3 -6
  41. package/src/components/ColorSwatch/ColorSwatch.stories.tsx +1 -1
  42. package/src/components/ControlLink/ControlLink.stories.tsx +12 -7
  43. package/src/components/CreditCardNumberInput/CreditCardNumberInput.stories.tsx +1 -1
  44. package/src/components/CreditCardNumberInput/CreditCardNumberInput.test.tsx +3 -6
  45. package/src/components/CreditCardNumberInput/CreditCardNumberInput.tsx +5 -13
  46. package/src/components/DefinitionList/DefinitionList.stories.tsx +1 -1
  47. package/src/components/Divider/Divider.stories.tsx +1 -1
  48. package/src/components/Expandable/Expandable.stories.tsx +1 -1
  49. package/src/components/Field/Field.stories.tsx +1 -1
  50. package/src/components/Field/Field.tsx +1 -1
  51. package/src/components/Label/Label.stories.tsx +1 -1
  52. package/src/components/LoadingItemsLavenderBlue/LoadingItems.stories.tsx +1 -1
  53. package/src/components/LoadingItemsPinkGreen/LoadingItems.stories.tsx +1 -1
  54. package/src/components/LoadingShapes/LoadingShapes.stories.tsx +1 -1
  55. package/src/components/LoadingShapesLavenderBlue/LoadingShapesLavenderBlue.stories.tsx +1 -1
  56. package/src/components/LoadingShapesPinkGreen/LoadingShapesPinkGreen.stories.tsx +1 -1
  57. package/src/components/NavigationPreventer/NavigationPreventer.tsx +5 -5
  58. package/src/components/Overlay/Overlay.stories.tsx +1 -1
  59. package/src/components/PasswordInput/PasswordInput.stories.tsx +1 -1
  60. package/src/components/Popover/Popover.stories.tsx +1 -1
  61. package/src/components/Popover/Popover.tsx +1 -1
  62. package/src/components/PromoBanner/PromoBanner.stories.tsx +1 -1
  63. package/src/components/PromoBanner/PromoBanner.tsx +1 -1
  64. package/src/components/RadioButton/RadioButton.stories.tsx +1 -1
  65. package/src/components/RadioButton/RadioButton.tsx +1 -1
  66. package/src/components/SearchInput/SearchInput.stories.tsx +1 -1
  67. package/src/components/Select/Select.stories.tsx +2 -3
  68. package/src/components/Select/Select.test.tsx +5 -5
  69. package/src/components/SelectableButton/SelectableButton.stories.tsx +1 -1
  70. package/src/components/Shape/Shape.stories.tsx +1 -1
  71. package/src/components/Stack/Stack.stories.tsx +1 -1
  72. package/src/components/Tabs/Tab.tsx +1 -1
  73. package/src/components/Tabs/Tabs.stories.tsx +1 -1
  74. package/src/components/Tag/Tag.stories.tsx +1 -1
  75. package/src/components/Text/Text.scss +1 -1
  76. package/src/components/Text/Text.stories.tsx +1 -1
  77. package/src/components/Text/Text.tsx +2 -2
  78. package/src/components/TextInput/TextInput.stories.tsx +1 -1
  79. package/src/components/Textarea/Textarea.stories.tsx +1 -1
  80. package/src/components/Toast/Toast.stories.tsx +1 -1
  81. package/src/components/VerticalDivider/VerticalDivider.stories.tsx +1 -1
  82. package/src/hooks/useClickOutside.ts +4 -1
  83. package/src/index.scss +0 -1
  84. package/src/index.ts +2 -0
  85. package/src/utilities/States/State.tsx +13 -13
  86. package/src/utilities/States/StateProps.tsx +28 -0
  87. package/src/utilities/States/States.tsx +9 -11
  88. package/src/utilities/States/Styles.tsx +43 -0
  89. package/src/utilities/States/index.ts +1 -0
  90. package/src/utilities/index.ts +7 -0
  91. package/src/utilities/isEmpty.ts +1 -0
  92. package/src/utilities/isRenderProps.ts +9 -0
  93. package/src/utilities/{States/stringifyProps.tsx → stringifyProps.ts} +2 -7
  94. package/src/utilities/truncate.ts +5 -0
  95. package/dist/src/utilities/States/StatesProps.d.ts +0 -8
  96. package/dist/src/utilities/States/isRenderProps.d.ts +0 -4
  97. package/dist/src/utilities/States/stringifyProps.d.ts +0 -1
  98. package/src/functions/_functions.scss +0 -0
  99. package/src/utilities/States/State.scss +0 -11
  100. package/src/utilities/States/States.scss +0 -5
  101. package/src/utilities/States/StatesProps.scss +0 -24
  102. package/src/utilities/States/StatesProps.tsx +0 -31
  103. package/src/utilities/States/isRenderProps.ts +0 -7
package/README.md CHANGED
@@ -9,7 +9,6 @@ Moda Operandi's design system expressed as React components.
9
9
  - **State**: development
10
10
  - **Point people**: Ecommerce Team
11
11
  - **URLS**:
12
- - **Documentation**: https://moda-om-documentation.netlify.com/
13
12
  - **Storybook**: https://moda-om-storybook.netlify.app/
14
13
 
15
14
  ## Developing