@pikas-ui/text
Advanced tools
Comparing version 4.1.6 to 4.1.7
@@ -1,10 +0,10 @@ | ||
import { CSS } from '@pikas-ui/styles'; | ||
import { PikasConfig } from '@pikas-ui/styles'; | ||
import React from 'react'; | ||
interface DescriptionProps { | ||
interface DescriptionProps<Config extends PikasConfig = PikasConfig> { | ||
children?: React.ReactNode; | ||
css?: CSS; | ||
css?: Config['css']; | ||
} | ||
declare const Description: React.FC<DescriptionProps>; | ||
declare const Description: <Config extends PikasConfig = PikasConfig>({ children, css, }: DescriptionProps<Config>) => JSX.Element; | ||
export { Description, DescriptionProps }; |
@@ -1,2 +0,2 @@ | ||
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _jsxruntime = require('react/jsx-runtime');var _styles = require('@pikas-ui/styles');const i=_styles.styled.call(void 0, "p",{fontSize:"$EM-SMALL",fontWeight:"$NORMAL",display:"block",margin:0,color:"$BLACK"}),n= exports.Description =({children:t,css:o})=>_jsxruntime.jsx.call(void 0, i,{css:o,children:t});exports.Description = n; | ||
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _jsxruntime = require('react/jsx-runtime');var _styles = require('@pikas-ui/styles');const s=_styles.styled.call(void 0, "p",{fontSize:"$EM-SMALL",fontWeight:"$NORMAL",display:"block",margin:0,color:"$BLACK"}),p= exports.Description =({children:i,css:o})=>_jsxruntime.jsx.call(void 0, s,{css:o,children:i});exports.Description = p; | ||
//# sourceMappingURL=Description.js.map |
@@ -1,11 +0,11 @@ | ||
import { CSS } from '@pikas-ui/styles'; | ||
import { PikasConfig } from '@pikas-ui/styles'; | ||
import React from 'react'; | ||
interface LabelProps { | ||
interface LabelProps<Config extends PikasConfig = PikasConfig> { | ||
children?: React.ReactNode; | ||
css?: CSS; | ||
css?: Config['css']; | ||
htmlFor?: string; | ||
} | ||
declare const Label: React.FC<LabelProps>; | ||
declare const Label: <Config extends PikasConfig = PikasConfig>({ children, css, htmlFor, }: LabelProps<Config>) => JSX.Element; | ||
export { Label, LabelProps }; |
@@ -1,2 +0,2 @@ | ||
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _jsxruntime = require('react/jsx-runtime');var _styles = require('@pikas-ui/styles');var _reactlabel = require('@radix-ui/react-label'); var l = _interopRequireWildcard(_reactlabel);const i=_styles.styled.call(void 0, l.Label,{fontSize:"$EM-SMALL",fontWeight:"$BOLD",display:"block",color:"$BLACK"}),L= exports.Label =({children:t,css:o,htmlFor:e})=>_jsxruntime.jsx.call(void 0, i,{css:{...e&&{cursor:"pointer"},...o},htmlFor:e,children:t});exports.Label = L; | ||
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }var _jsxruntime = require('react/jsx-runtime');var _styles = require('@pikas-ui/styles');var _reactlabel = require('@radix-ui/react-label'); var s = _interopRequireWildcard(_reactlabel);const r=_styles.styled.call(void 0, s.Label,{fontSize:"$EM-SMALL",fontWeight:"$BOLD",display:"block",color:"$BLACK"}),c= exports.Label =({children:e,css:i,htmlFor:o})=>_jsxruntime.jsx.call(void 0, r,{css:{...o&&{cursor:"pointer"},...i},htmlFor:o,children:e});exports.Label = c; | ||
//# sourceMappingURL=Label.js.map |
@@ -1,10 +0,10 @@ | ||
import { CSS } from '@pikas-ui/styles'; | ||
import { PikasConfig } from '@pikas-ui/styles'; | ||
import React from 'react'; | ||
interface TextErrorProps { | ||
interface TextErrorProps<Config extends PikasConfig = PikasConfig> { | ||
children?: React.ReactNode; | ||
css?: CSS; | ||
css?: Config['css']; | ||
} | ||
declare const TextError: React.FC<TextErrorProps>; | ||
declare const TextError: <Config extends PikasConfig = PikasConfig>({ children, css, }: TextErrorProps<Config>) => JSX.Element; | ||
export { TextError, TextErrorProps }; |
@@ -1,2 +0,2 @@ | ||
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _jsxruntime = require('react/jsx-runtime');var _styles = require('@pikas-ui/styles');const e=_styles.styled.call(void 0, "p",{color:"$DANGER",fontSize:"$EM-X-SMALL"}),i= exports.TextError =({children:r,css:t})=>_jsxruntime.jsx.call(void 0, e,{css:t,children:r});exports.TextError = i; | ||
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _jsxruntime = require('react/jsx-runtime');var _styles = require('@pikas-ui/styles');const t=_styles.styled.call(void 0, "p",{color:"$DANGER",fontSize:"$EM-X-SMALL"}),c= exports.TextError =({children:o,css:r})=>_jsxruntime.jsx.call(void 0, t,{css:r,children:o});exports.TextError = c; | ||
//# sourceMappingURL=TextError.js.map |
{ | ||
"name": "@pikas-ui/text", | ||
"version": "4.1.6", | ||
"version": "4.1.7", | ||
"private": false, | ||
@@ -42,4 +42,4 @@ "keywords": [ | ||
"dependencies": { | ||
"@pikas-ui/styles": "3.3.4", | ||
"@radix-ui/react-label": "1.0.0" | ||
"@pikas-ui/styles": "3.4.0", | ||
"@radix-ui/react-label": "2.0.0" | ||
}, | ||
@@ -53,8 +53,8 @@ "peerDependencies": { | ||
"@pikas/tsconfig": "1.0.0", | ||
"@types/node": "18.8.3", | ||
"@types/node": "18.11.2", | ||
"@types/react": "18.0.21", | ||
"@types/react-dom": "18.0.6", | ||
"cross-env": "7.0.3", | ||
"eslint": "8.24.0", | ||
"tsup": "6.2.3", | ||
"eslint": "8.25.0", | ||
"tsup": "6.3.0", | ||
"typescript": "4.8.4" | ||
@@ -61,0 +61,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
17546
+ Added@pikas-ui/styles@3.4.0(transitive)
+ Added@radix-ui/react-label@2.0.0(transitive)
+ Added@radix-ui/react-primitive@1.0.1(transitive)
+ Added@radix-ui/react-slot@1.0.1(transitive)
+ Addedusehooks-ts@2.9.1(transitive)
- Removed@pikas-ui/styles@3.3.4(transitive)
- Removed@radix-ui/react-context@1.0.0(transitive)
- Removed@radix-ui/react-id@1.0.0(transitive)
- Removed@radix-ui/react-label@1.0.0(transitive)
- Removed@radix-ui/react-primitive@1.0.0(transitive)
- Removed@radix-ui/react-slot@1.0.0(transitive)
- Removed@radix-ui/react-use-layout-effect@1.0.0(transitive)
- Removedusehooks-ts@2.7.2(transitive)
Updated@pikas-ui/styles@3.4.0
Updated@radix-ui/react-label@2.0.0