@hopper-ui/components 0.0.3 → 0.0.5

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @hopper-ui/components
2
2
 
3
+ ## 0.0.5
4
+
5
+ ### Patch Changes
6
+
7
+ - 7f259c1: Changed build target to target ES2019
8
+ - Updated dependencies [7f259c1]
9
+ - Updated dependencies [eb5de30]
10
+ - @hopper-ui/styled-system@0.2.3
11
+
12
+ ## 0.0.4
13
+
14
+ ### Patch Changes
15
+
16
+ - f40a266: Optimized the build output
17
+ - Updated dependencies [f40a266]
18
+ - @hopper-ui/styled-system@0.2.2
19
+
3
20
  ## 0.0.3
4
21
 
5
22
  ### Patch Changes
@@ -1,6 +1 @@
1
- import { StyledSystemProvider } from '@hopper-ui/styled-system';
2
- import { jsx } from 'react/jsx-runtime';
3
-
4
- function s({children:r,withBodyStyle:e=!1,colorScheme:o="light",withCssVariables:t=!0,...p}){return jsx(StyledSystemProvider,{withBodyStyle:e,colorScheme:o,withCssVariables:t,...p,children:r})}
5
-
6
- export { s as HopperProvider };
1
+ export { HopperProvider } from './chunk-LBJUDVVS.js';
@@ -0,0 +1,9 @@
1
+ import { StyledSystemProvider } from '@hopper-ui/styled-system';
2
+ import { jsx } from 'react/jsx-runtime';
3
+
4
+ // src/HopperProvider/src/HopperProvider.tsx
5
+ function HopperProvider({ children, withBodyStyle = false, colorScheme = "light", withCssVariables = true, ...rest }) {
6
+ return /* @__PURE__ */ jsx(StyledSystemProvider, { withBodyStyle, colorScheme, withCssVariables, ...rest, children });
7
+ }
8
+
9
+ export { HopperProvider };
package/dist/index.js CHANGED
@@ -1,6 +1 @@
1
- import { StyledSystemProvider } from '@hopper-ui/styled-system';
2
- import { jsx } from 'react/jsx-runtime';
3
-
4
- function s({children:r,withBodyStyle:e=!1,colorScheme:o="light",withCssVariables:t=!0,...p}){return jsx(StyledSystemProvider,{withBodyStyle:e,colorScheme:o,withCssVariables:t,...p,children:r})}
5
-
6
- export { s as HopperProvider };
1
+ export { HopperProvider } from './chunk-LBJUDVVS.js';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hopper-ui/components",
3
3
  "author": "Workleap",
4
- "version": "0.0.3",
4
+ "version": "0.0.5",
5
5
  "description": "The components package.",
6
6
  "license": "Apache-2.0",
7
7
  "repository": {
@@ -36,7 +36,7 @@
36
36
  "react-dom": "*"
37
37
  },
38
38
  "dependencies": {
39
- "@hopper-ui/styled-system": "0.2.1"
39
+ "@hopper-ui/styled-system": "0.2.3"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@swc/core": "1.3.96",