@tecsinapse/react-core 1.21.4 → 1.21.6

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.
@@ -1,2 +1,3 @@
1
1
  export { default as Switch } from './Switch';
2
2
  export type { SwitchProps } from './Switch';
3
+ export { SWITCH_BODY_WIDTH, SWITCH_PIN_WIDTH } from './styled';
@@ -30,7 +30,7 @@ export { ProgressBar } from './components/atoms/ProgressBar';
30
30
  export type { ProgressBarProps } from './components/atoms/ProgressBar';
31
31
  export { RadioButton } from './components/atoms/RadioButton';
32
32
  export type { RadioButtonProps } from './components/atoms/RadioButton';
33
- export { Switch } from './components/atoms/Switch';
33
+ export { Switch, SWITCH_PIN_WIDTH, SWITCH_BODY_WIDTH, } from './components/atoms/Switch';
34
34
  export type { SwitchProps } from './components/atoms/Switch';
35
35
  export { Tag } from './components/atoms/Tag';
36
36
  export type { TagProps } from './components/atoms/Tag';
package/dist/cjs/index.js CHANGED
@@ -31,11 +31,12 @@ var PressableSurface = require('./components/atoms/PressableSurface/PressableSur
31
31
  var ProgressBar = require('./components/atoms/ProgressBar/ProgressBar.js');
32
32
  var RadioButton = require('./components/atoms/RadioButton/RadioButton.js');
33
33
  var Switch = require('./components/atoms/Switch/Switch.js');
34
+ var styled$1 = require('./components/atoms/Switch/styled.js');
34
35
  var Tag = require('./components/atoms/Tag/Tag.js');
35
36
  var Text = require('./components/atoms/Text/Text.js');
36
37
  var Calendar = require('./components/molecules/Calendar/Calendar.js');
37
38
  var DatePicker = require('./components/molecules/DatePicker/DatePicker.js');
38
- var styled$1 = require('./components/molecules/DatePicker/styled.js');
39
+ var styled$2 = require('./components/molecules/DatePicker/styled.js');
39
40
  var DateTimePicker = require('./components/molecules/DateTimePicker/DateTimePicker.js');
40
41
  var DateTimeSelector = require('./components/molecules/DateTimeSelector/DateTimeSelector.js');
41
42
  var functions = require('./components/molecules/Grid/functions.js');
@@ -44,7 +45,7 @@ var IconComponent = require('./components/molecules/IconTextButton/IconComponent
44
45
  var InputPasswordIcon = require('./components/molecules/InputPassword/InputPasswordIcon.js');
45
46
  var Snackbar = require('./components/molecules/Snackbar/Snackbar.js');
46
47
  var TextArea = require('./components/molecules/TextArea/TextArea.js');
47
- var styled$2 = require('./components/molecules/TextArea/styled.js');
48
+ var styled$3 = require('./components/molecules/TextArea/styled.js');
48
49
  var useDebouncedState = require('./hooks/useDebouncedState.js');
49
50
  var useTheme = require('./hooks/useTheme.js');
50
51
  var definitions = require('./styles/definitions.js');
@@ -90,11 +91,13 @@ exports.PressableSurface = PressableSurface;
90
91
  exports.ProgressBar = ProgressBar;
91
92
  exports.RadioButton = RadioButton;
92
93
  exports.Switch = Switch;
94
+ exports.SWITCH_BODY_WIDTH = styled$1.SWITCH_BODY_WIDTH;
95
+ exports.SWITCH_PIN_WIDTH = styled$1.SWITCH_PIN_WIDTH;
93
96
  exports.Tag = Tag;
94
97
  exports.Text = Text;
95
98
  exports.Calendar = Calendar;
96
99
  exports.DatePicker = DatePicker;
97
- exports.CalendarIcon = styled$1.CalendarIcon;
100
+ exports.CalendarIcon = styled$2.CalendarIcon;
98
101
  exports.DateTimePicker = DateTimePicker;
99
102
  exports.DateTimeSelector = DateTimeSelector;
100
103
  exports.getGridItemColumSpan = functions.getGridItemColumSpan;
@@ -104,7 +107,7 @@ exports.IconComponent = IconComponent;
104
107
  exports.InputPasswordIcon = InputPasswordIcon;
105
108
  exports.Snackbar = Snackbar;
106
109
  exports.TextArea = TextArea;
107
- exports.TextAreaInputBase = styled$2.TextAreaInputBase;
110
+ exports.TextAreaInputBase = styled$3.TextAreaInputBase;
108
111
  exports.useDebouncedState = useDebouncedState.useDebouncedState;
109
112
  exports.useTheme = useTheme.useTheme;
110
113
  exports.borderRadius = definitions.borderRadius;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,2 +1,3 @@
1
1
  export { default as Switch } from './Switch';
2
2
  export type { SwitchProps } from './Switch';
3
+ export { SWITCH_BODY_WIDTH, SWITCH_PIN_WIDTH } from './styled';
@@ -30,7 +30,7 @@ export { ProgressBar } from './components/atoms/ProgressBar';
30
30
  export type { ProgressBarProps } from './components/atoms/ProgressBar';
31
31
  export { RadioButton } from './components/atoms/RadioButton';
32
32
  export type { RadioButtonProps } from './components/atoms/RadioButton';
33
- export { Switch } from './components/atoms/Switch';
33
+ export { Switch, SWITCH_PIN_WIDTH, SWITCH_BODY_WIDTH, } from './components/atoms/Switch';
34
34
  export type { SwitchProps } from './components/atoms/Switch';
35
35
  export { Tag } from './components/atoms/Tag';
36
36
  export type { TagProps } from './components/atoms/Tag';
package/dist/esm/index.js CHANGED
@@ -27,6 +27,7 @@ export { default as PressableSurface } from './components/atoms/PressableSurface
27
27
  export { default as ProgressBar } from './components/atoms/ProgressBar/ProgressBar.js';
28
28
  export { default as RadioButton } from './components/atoms/RadioButton/RadioButton.js';
29
29
  export { default as Switch } from './components/atoms/Switch/Switch.js';
30
+ export { SWITCH_BODY_WIDTH, SWITCH_PIN_WIDTH } from './components/atoms/Switch/styled.js';
30
31
  export { default as Tag } from './components/atoms/Tag/Tag.js';
31
32
  export { default as Text } from './components/atoms/Text/Text.js';
32
33
  export { default as Calendar } from './components/molecules/Calendar/Calendar.js';
@@ -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,7 +1,7 @@
1
1
  {
2
2
  "name": "@tecsinapse/react-core",
3
3
  "description": "TecSinapse hybrid React components",
4
- "version": "1.21.4",
4
+ "version": "1.21.6",
5
5
  "license": "MIT",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/esm/index.js",
@@ -39,5 +39,5 @@
39
39
  "react-native": "^0.64.0",
40
40
  "react-native-vector-icons": "^8.1.0 || ^9.0.0"
41
41
  },
42
- "gitHead": "93a4f5357ab8ec362e51d8026493651536d056bf"
42
+ "gitHead": "7a2948b71936c6f7dfba2737fb62934618d6e809"
43
43
  }