jy-headless 0.0.16 → 0.0.17

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.
@@ -10,6 +10,7 @@ export interface RadioGroupContextProps {
10
10
  export interface ItemComposition {
11
11
  Item?: React.FC<RadioInputProps>;
12
12
  }
13
+ export declare const RadioGroupContext: React.Context<RadioGroupContextProps>;
13
14
  export interface RadioGroupProps {
14
15
  children: ReactNode;
15
16
  value?: string[];
package/dist/index.d.ts CHANGED
@@ -2,6 +2,6 @@ import Button from './components/button/Button';
2
2
  import Input from './components/input/Input';
3
3
  import Spinner from './components/spinner/Spinner';
4
4
  import RadioInput from './components/radio/RadioInput';
5
- import RadioGroup from './components/radio/RadioGroup';
5
+ import RadioGroup, { RadioGroupContext } from './components/radio/RadioGroup';
6
6
  import { CallIcon, CloseIcon, HomeIcon, SearchIcon } from './components/icons';
7
- export { Button, Input, Spinner, CallIcon, CloseIcon, HomeIcon, SearchIcon, RadioInput, RadioGroup, };
7
+ export { Button, Input, Spinner, CallIcon, CloseIcon, HomeIcon, SearchIcon, RadioInput, RadioGroup, RadioGroupContext, };
package/dist/index.esm.js CHANGED
@@ -196,5 +196,5 @@ const SearchIcon = ({ color = '#000', size = '1em', bgColor = 'transparent', fil
196
196
  // AUTHOR: Ankush Syal
197
197
  // https://www.svgrepo.com/svg/520583/call
198
198
 
199
- export { Button, CallIcon, CloseIcon, HomeIcon, Input, RadioGroup, RadioInput, SearchIcon, Spinner };
199
+ export { Button, CallIcon, CloseIcon, HomeIcon, Input, RadioGroup, RadioGroupContext, RadioInput, SearchIcon, Spinner };
200
200
  //# sourceMappingURL=index.esm.js.map
package/dist/index.js CHANGED
@@ -204,6 +204,7 @@ exports.CloseIcon = CloseIcon;
204
204
  exports.HomeIcon = HomeIcon;
205
205
  exports.Input = Input;
206
206
  exports.RadioGroup = RadioGroup;
207
+ exports.RadioGroupContext = RadioGroupContext;
207
208
  exports.RadioInput = RadioInput;
208
209
  exports.SearchIcon = SearchIcon;
209
210
  exports.Spinner = Spinner;
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jy-headless",
3
- "version": "0.0.16",
3
+ "version": "0.0.17",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs",
6
6
  "typings": "dist/index.d.ts",