@purr-react-styled-components/components.radio-group 0.0.11 → 0.0.13

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 y=require('clsx'),h=require('react'),G=require('@purr-core/hooks.sync-state-with-props'),m=require('styled-components'),utils_helpers=require('@purr-core/utils.helpers');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var y__default=/*#__PURE__*/_interopDefault(y);var h__default=/*#__PURE__*/_interopDefault(h);var G__default=/*#__PURE__*/_interopDefault(G);var m__default=/*#__PURE__*/_interopDefault(m);var i={Container:m__default.default.div`
1
+ 'use strict';var y=require('clsx'),h=require('react'),G=require('@purr-react-core/hooks.sync-state-with-props'),m=require('styled-components'),utils_helpers=require('@purr-react-core/utils.helpers');function _interopDefault(e){return e&&e.__esModule?e:{default:e}}var y__default=/*#__PURE__*/_interopDefault(y);var h__default=/*#__PURE__*/_interopDefault(h);var G__default=/*#__PURE__*/_interopDefault(G);var m__default=/*#__PURE__*/_interopDefault(m);var i={Container:m__default.default.div`
2
2
  display: flex;
3
3
  flex-direction: ${({$direction:o})=>o};
4
4
  align-items: ${({$direction:o})=>o==="column"?"flex-start":"inherit"};
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
1
  import React, { ReactNode, LabelHTMLAttributes, HTMLAttributes, ChangeEvent } from 'react';
2
- import { IExtendable } from '@purr-core/utils.definitions';
2
+ import { IExtendable } from '@purr-react-core/utils.definitions';
3
3
 
4
4
  type TRadioGroupDirection = "column" | "row";
5
5
  interface IRadioGroupOption {
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import React, { ReactNode, LabelHTMLAttributes, HTMLAttributes, ChangeEvent } from 'react';
2
- import { IExtendable } from '@purr-core/utils.definitions';
2
+ import { IExtendable } from '@purr-react-core/utils.definitions';
3
3
 
4
4
  type TRadioGroupDirection = "column" | "row";
5
5
  interface IRadioGroupOption {
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import y from'clsx';import h,{memo,useCallback,forwardRef}from'react';import G from'@purr-core/hooks.sync-state-with-props';import m from'styled-components';import {arePropsShallowEqual}from'@purr-core/utils.helpers';var i={Container:m.div`
1
+ import y from'clsx';import h,{memo,useCallback,forwardRef}from'react';import G from'@purr-react-core/hooks.sync-state-with-props';import m from'styled-components';import {arePropsShallowEqual}from'@purr-react-core/utils.helpers';var i={Container:m.div`
2
2
  display: flex;
3
3
  flex-direction: ${({$direction:o})=>o};
4
4
  align-items: ${({$direction:o})=>o==="column"?"flex-start":"inherit"};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purr-react-styled-components/components.radio-group",
3
- "version": "0.0.11",
3
+ "version": "0.0.13",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",
@@ -24,12 +24,12 @@
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-core/hooks.sync-state-with-props": "*"
27
+ "@purr-react-core/utils.definitions": "*",
28
+ "@purr-react-core/utils.helpers": "*",
29
+ "@purr-react-core/hooks.sync-state-with-props": "*"
30
30
  },
31
31
  "devDependencies": {
32
- "@purr-react-styled-components/components.form-field": "0.0.4"
32
+ "@purr-react-styled-components/components.form-field": "*"
33
33
  },
34
34
  "author": "@DinhThienPhuc",
35
35
  "license": "ISC",