@mygodcorp/baseui
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -1,5 +0,6 @@ | ||
import { ReactNode } from "react"; | ||
declare const Text: ({ children }: { | ||
children: ReactNode; | ||
}) => JSX.Element; | ||
/// <reference types="react" /> | ||
declare const Text: import("@emotion/styled").StyledComponent<{ | ||
theme?: import("@emotion/react").Theme | undefined; | ||
as?: import("react").ElementType<any> | undefined; | ||
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>; | ||
export default Text; |
@@ -0,7 +1,7 @@ | ||
import styled from '@emotion/styled'; | ||
import { jsx } from 'react/jsx-runtime'; | ||
var Text = function (_a) { | ||
var children = _a.children; | ||
return jsx("span", { children: children }, void 0); | ||
}; | ||
var Text = styled.p({ | ||
color: "red", | ||
}); | ||
@@ -8,0 +8,0 @@ var Button = function (_a) { |
@@ -5,9 +5,13 @@ 'use strict'; | ||
var styled = require('@emotion/styled'); | ||
var jsxRuntime = require('react/jsx-runtime'); | ||
var Text = function (_a) { | ||
var children = _a.children; | ||
return jsxRuntime.jsx("span", { children: children }, void 0); | ||
}; | ||
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } | ||
var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled); | ||
var Text = styled__default["default"].p({ | ||
color: "red", | ||
}); | ||
var Button = function (_a) { | ||
@@ -14,0 +18,0 @@ var children = _a.children; |
{ | ||
"name": "@mygodcorp/baseui", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"main": "lib/index.js", | ||
@@ -15,4 +15,7 @@ "module": "lib/index.esm.js", | ||
"peerDependencies": { | ||
"@emotion/react": "^11.5.0", | ||
"@emotion/styled": "^11.3.0", | ||
"react": "^17.0.2", | ||
"react-dom": "^17.0.2" | ||
"react-dom": "^17.0.2", | ||
"styled-system": "^5.1.5" | ||
}, | ||
@@ -32,3 +35,8 @@ "scripts": { | ||
}, | ||
"gitHead": "5622f151f027275e03019fdef51802b4f72cfeb1" | ||
"gitHead": "302170723bc5a5594a9510b272e47a896ce8fcb7", | ||
"dependencies": { | ||
"@emotion/react": "latest", | ||
"@emotion/styled": "latest", | ||
"styled-system": "latest" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
3424
62
8
+ Added@emotion/react@latest
+ Added@emotion/styled@latest
+ Addedstyled-system@latest
+ Added@babel/code-frame@7.26.2(transitive)
+ Added@babel/generator@7.26.5(transitive)
+ Added@babel/helper-module-imports@7.25.9(transitive)
+ Added@babel/helper-string-parser@7.25.9(transitive)
+ Added@babel/helper-validator-identifier@7.25.9(transitive)
+ Added@babel/parser@7.26.7(transitive)
+ Added@babel/runtime@7.26.7(transitive)
+ Added@babel/template@7.25.9(transitive)
+ Added@babel/traverse@7.26.7(transitive)
+ Added@babel/types@7.26.7(transitive)
+ Added@emotion/babel-plugin@11.13.5(transitive)
+ Added@emotion/cache@11.14.0(transitive)
+ Added@emotion/hash@0.9.2(transitive)
+ Added@emotion/is-prop-valid@1.3.1(transitive)
+ Added@emotion/memoize@0.9.0(transitive)
+ Added@emotion/react@11.14.0(transitive)
+ Added@emotion/serialize@1.3.3(transitive)
+ Added@emotion/sheet@1.4.0(transitive)
+ Added@emotion/styled@11.14.0(transitive)
+ Added@emotion/unitless@0.10.0(transitive)
+ Added@emotion/use-insertion-effect-with-fallbacks@1.2.0(transitive)
+ Added@emotion/utils@1.4.2(transitive)
+ Added@emotion/weak-memoize@0.4.0(transitive)
+ Added@jridgewell/gen-mapping@0.3.8(transitive)
+ Added@jridgewell/resolve-uri@3.1.2(transitive)
+ Added@jridgewell/set-array@1.2.1(transitive)
+ Added@jridgewell/sourcemap-codec@1.5.0(transitive)
+ Added@jridgewell/trace-mapping@0.3.25(transitive)
+ Added@styled-system/background@5.1.2(transitive)
+ Added@styled-system/border@5.1.5(transitive)
+ Added@styled-system/color@5.1.2(transitive)
+ Added@styled-system/core@5.1.2(transitive)
+ Added@styled-system/css@5.1.5(transitive)
+ Added@styled-system/flexbox@5.1.2(transitive)
+ Added@styled-system/grid@5.1.2(transitive)
+ Added@styled-system/layout@5.1.2(transitive)
+ Added@styled-system/position@5.1.2(transitive)
+ Added@styled-system/shadow@5.1.2(transitive)
+ Added@styled-system/space@5.1.2(transitive)
+ Added@styled-system/typography@5.1.2(transitive)
+ Added@styled-system/variant@5.1.5(transitive)
+ Added@types/parse-json@4.0.2(transitive)
+ Addedbabel-plugin-macros@3.1.0(transitive)
+ Addedcallsites@3.1.0(transitive)
+ Addedconvert-source-map@1.9.0(transitive)
+ Addedcosmiconfig@7.1.0(transitive)
+ Addedcsstype@3.1.3(transitive)
+ Addeddebug@4.4.0(transitive)
+ Addederror-ex@1.3.2(transitive)
+ Addedescape-string-regexp@4.0.0(transitive)
+ Addedfind-root@1.1.0(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedglobals@11.12.0(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedhoist-non-react-statics@3.3.2(transitive)
+ Addedimport-fresh@3.3.0(transitive)
+ Addedis-arrayish@0.2.1(transitive)
+ Addedis-core-module@2.16.1(transitive)
+ Addedjsesc@3.1.0(transitive)
+ Addedjson-parse-even-better-errors@2.3.1(transitive)
+ Addedlines-and-columns@1.2.4(transitive)
+ Addedms@2.1.3(transitive)
+ Addedparent-module@1.0.1(transitive)
+ Addedparse-json@5.2.0(transitive)
+ Addedpath-parse@1.0.7(transitive)
+ Addedpath-type@4.0.0(transitive)
+ Addedpicocolors@1.1.1(transitive)
+ Addedreact-is@16.13.1(transitive)
+ Addedregenerator-runtime@0.14.1(transitive)
+ Addedresolve@1.22.10(transitive)
+ Addedresolve-from@4.0.0(transitive)
+ Addedsource-map@0.5.7(transitive)
+ Addedstyled-system@5.1.5(transitive)
+ Addedstylis@4.2.0(transitive)
+ Addedsupports-preserve-symlinks-flag@1.0.0(transitive)
+ Addedyaml@1.10.2(transitive)