@purr-react-styled-components/components.typography 0.0.11 → 0.0.12

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/dist/index.cjs CHANGED
@@ -1,4 +1,4 @@
1
- 'use strict';var P=require('clsx'),I=require('react'),utils_helpers$1=require('@purr-core/utils.helpers'),p=require('styled-components'),utils_helpers=require('@purr-react-styled-components/utils.helpers');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var P__default=/*#__PURE__*/_interopDefault(P);var I__default=/*#__PURE__*/_interopDefault(I);var p__default=/*#__PURE__*/_interopDefault(p);var o=({$size:y,$color:e,$bold:r,$font:t,$align:a})=>p.css`
1
+ 'use strict';var P=require('clsx'),I=require('react'),utils_helpers$1=require('@purr-react-core/utils.helpers'),p=require('styled-components'),utils_helpers=require('@purr-react-styled-components/utils.helpers');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var P__default=/*#__PURE__*/_interopDefault(P);var I__default=/*#__PURE__*/_interopDefault(I);var p__default=/*#__PURE__*/_interopDefault(p);var o=({$size:y,$color:e,$bold:r,$font:t,$align:a})=>p.css`
2
2
  transition: inherit;
3
3
  font-size: ${typeof y=="number"?`${y}px`:y};
4
4
  font-weight: ${r};
package/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import React, { JSX, ReactNode, HTMLAttributes } from 'react';
2
2
  import { Property } from 'csstype';
3
- import { IExtendable } from '@purr-core/utils.definitions';
3
+ import { IExtendable } from '@purr-react-core/utils.definitions';
4
4
 
5
5
  interface ITypographyProps {
6
6
  variant?: keyof JSX.IntrinsicElements;
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import React, { JSX, ReactNode, HTMLAttributes } from 'react';
2
2
  import { Property } from 'csstype';
3
- import { IExtendable } from '@purr-core/utils.definitions';
3
+ import { IExtendable } from '@purr-react-core/utils.definitions';
4
4
 
5
5
  interface ITypographyProps {
6
6
  variant?: keyof JSX.IntrinsicElements;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import P from'clsx';import I,{useMemo}from'react';import {capitalize}from'@purr-core/utils.helpers';import p,{css}from'styled-components';import {getInvisibleButton}from'@purr-react-styled-components/utils.helpers';var o=({$size:y,$color:e,$bold:r,$font:t,$align:a})=>css`
1
+ import P from'clsx';import I,{useMemo}from'react';import {capitalize}from'@purr-react-core/utils.helpers';import p,{css}from'styled-components';import {getInvisibleButton}from'@purr-react-styled-components/utils.helpers';var o=({$size:y,$color:e,$bold:r,$font:t,$align:a})=>css`
2
2
  transition: inherit;
3
3
  font-size: ${typeof y=="number"?`${y}px`:y};
4
4
  font-weight: ${r};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purr-react-styled-components/components.typography",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",
@@ -24,9 +24,9 @@
24
24
  "react": "^18.0.0 || ^19.0.0",
25
25
  "styled-components": "^6.0.0",
26
26
  "clsx": "^2.0.0",
27
- "@purr-core/utils.definitions": "*",
28
- "@purr-core/utils.helpers": "*",
29
- "@purr-react-styled-components/utils.helpers": "*"
27
+ "@purr-react-core/utils.definitions": "0.0.14",
28
+ "@purr-react-core/utils.helpers": "0.0.14",
29
+ "@purr-react-styled-components/utils.helpers": "0.0.10"
30
30
  },
31
31
  "author": "@DinhThienPhuc",
32
32
  "license": "ISC",