@jsonui/components-web-example 0.3.4 → 0.6.0

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.
Files changed (64) hide show
  1. package/dist/assets/fontawesome/css/all.css +4586 -0
  2. package/dist/assets/fontawesome/css/all.min.css +5 -0
  3. package/dist/assets/fontawesome/css/brands.css +15 -0
  4. package/dist/assets/fontawesome/css/brands.min.css +5 -0
  5. package/dist/assets/fontawesome/css/fontawesome.css +4552 -0
  6. package/dist/assets/fontawesome/css/fontawesome.min.css +5 -0
  7. package/dist/assets/fontawesome/css/regular.css +15 -0
  8. package/dist/assets/fontawesome/css/regular.min.css +5 -0
  9. package/dist/assets/fontawesome/css/solid.css +16 -0
  10. package/dist/assets/fontawesome/css/solid.min.css +5 -0
  11. package/dist/assets/fontawesome/css/svg-with-js.css +371 -0
  12. package/dist/assets/fontawesome/css/svg-with-js.min.css +5 -0
  13. package/dist/assets/fontawesome/css/v4-shims.css +2172 -0
  14. package/dist/assets/fontawesome/css/v4-shims.min.css +5 -0
  15. package/dist/assets/fontawesome/webfonts/fa-brands-400.eot +0 -0
  16. package/dist/assets/fontawesome/webfonts/fa-brands-400.svg +3633 -0
  17. package/dist/assets/fontawesome/webfonts/fa-brands-400.ttf +0 -0
  18. package/dist/assets/fontawesome/webfonts/fa-brands-400.woff +0 -0
  19. package/dist/assets/fontawesome/webfonts/fa-brands-400.woff2 +0 -0
  20. package/dist/assets/fontawesome/webfonts/fa-regular-400.eot +0 -0
  21. package/dist/assets/fontawesome/webfonts/fa-regular-400.svg +803 -0
  22. package/dist/assets/fontawesome/webfonts/fa-regular-400.ttf +0 -0
  23. package/dist/assets/fontawesome/webfonts/fa-regular-400.woff +0 -0
  24. package/dist/assets/fontawesome/webfonts/fa-regular-400.woff2 +0 -0
  25. package/dist/assets/fontawesome/webfonts/fa-solid-900.eot +0 -0
  26. package/dist/assets/fontawesome/webfonts/fa-solid-900.svg +5000 -0
  27. package/dist/assets/fontawesome/webfonts/fa-solid-900.ttf +0 -0
  28. package/dist/assets/fontawesome/webfonts/fa-solid-900.woff +0 -0
  29. package/dist/assets/fontawesome/webfonts/fa-solid-900.woff2 +0 -0
  30. package/dist/assets/material-icons/MaterialIcons-Regular.eot +0 -0
  31. package/dist/assets/material-icons/MaterialIcons-Regular.ijmap +1 -0
  32. package/dist/assets/material-icons/MaterialIcons-Regular.svg +2373 -0
  33. package/dist/assets/material-icons/MaterialIcons-Regular.ttf +0 -0
  34. package/dist/assets/material-icons/MaterialIcons-Regular.woff +0 -0
  35. package/dist/assets/material-icons/MaterialIcons-Regular.woff2 +0 -0
  36. package/dist/assets/material-icons/codepoints +932 -0
  37. package/dist/assets/material-icons/material-icons.css +40 -0
  38. package/dist/cjs/index.js +27714 -0
  39. package/dist/cjs/index.js.map +1 -0
  40. package/dist/cjs/types/components/Button.d.ts +5 -0
  41. package/dist/cjs/types/components/Checkbox.d.ts +7 -0
  42. package/dist/cjs/types/components/Icon.d.ts +8 -0
  43. package/dist/cjs/types/components/Radio.d.ts +5 -0
  44. package/dist/cjs/types/components/Select.d.ts +13 -0
  45. package/dist/cjs/types/components/Slider.d.ts +7 -0
  46. package/dist/cjs/types/components/Switch.d.ts +5 -0
  47. package/dist/cjs/types/components/TextField.d.ts +7 -0
  48. package/dist/cjs/types/components/Tooltip.d.ts +5 -0
  49. package/dist/cjs/types/index.d.ts +11 -0
  50. package/dist/esm/index.js +27679 -0
  51. package/dist/esm/index.js.map +1 -0
  52. package/dist/esm/types/components/Button.d.ts +5 -0
  53. package/dist/esm/types/components/Checkbox.d.ts +7 -0
  54. package/dist/esm/types/components/Icon.d.ts +8 -0
  55. package/dist/esm/types/components/Radio.d.ts +5 -0
  56. package/dist/esm/types/components/Select.d.ts +13 -0
  57. package/dist/esm/types/components/Slider.d.ts +7 -0
  58. package/dist/esm/types/components/Switch.d.ts +5 -0
  59. package/dist/esm/types/components/TextField.d.ts +7 -0
  60. package/dist/esm/types/components/Tooltip.d.ts +5 -0
  61. package/dist/esm/types/index.d.ts +11 -0
  62. package/dist/index.d.ts +55 -0
  63. package/dist/style.css +6 -0
  64. package/package.json +2 -2
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { ButtonProps as MUIButtonProps } from '@mui/material/Button';
3
+ export declare type ButtonProps = MUIButtonProps;
4
+ declare const Button: (props: ButtonProps) => JSX.Element;
5
+ export default Button;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { CheckboxProps as MUICheckboxProps } from '@mui/material/Checkbox';
3
+ export declare type CheckboxProps = MUICheckboxProps;
4
+ declare const Checkbox: ({ onChange, ...props }: MUICheckboxProps & {
5
+ onChange: any;
6
+ }) => JSX.Element;
7
+ export default Checkbox;
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import { IconProps as MUIIconProps } from '@mui/material/Icon';
3
+ export declare type IconProps = MUIIconProps & {
4
+ type: 'MaterialIcons' | 'FontAwesome';
5
+ name: string;
6
+ };
7
+ declare const Icon: (props: IconProps) => JSX.Element;
8
+ export default Icon;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { RadioProps as MUIRadioProps } from '@mui/material/Radio';
3
+ export declare type RadioProps = MUIRadioProps;
4
+ declare const Radio: (props: RadioProps) => JSX.Element;
5
+ export default Radio;
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ import { TextFieldProps as MUITextFieldProps } from '@mui/material/TextField';
3
+ interface SelectOptions {
4
+ label?: string;
5
+ value: string;
6
+ disabled?: boolean;
7
+ }
8
+ export declare type SelectProps = MUITextFieldProps & {
9
+ options: SelectOptions[];
10
+ onChange: (value: any) => void;
11
+ };
12
+ declare const Select: ({ options, onChange, ...props }: SelectProps) => JSX.Element;
13
+ export default Select;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { SliderProps as MUISliderPropsProps } from '@mui/material/Slider';
3
+ export declare type SliderProps = MUISliderPropsProps & {
4
+ onChange: (value: any) => void;
5
+ };
6
+ declare const Slider: (props: SliderProps) => JSX.Element;
7
+ export default Slider;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { SwitchProps as MUISwitchProps } from '@mui/material/Switch';
3
+ export declare type SwitchProps = MUISwitchProps;
4
+ declare const Switch: (props: SwitchProps) => JSX.Element;
5
+ export default Switch;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { TextFieldProps as MUITextFieldProps } from '@mui/material/TextField';
3
+ export declare type TextFieldProps = MUITextFieldProps & {
4
+ onChange: (value: any) => void;
5
+ };
6
+ declare const TextField: (props: TextFieldProps) => JSX.Element;
7
+ export default TextField;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { TooltipProps as MUITooltipProps } from '@mui/material/Tooltip';
3
+ export declare type TooltipProps = MUITooltipProps;
4
+ declare const Tooltip: (props: TooltipProps) => JSX.Element;
5
+ export default Tooltip;
@@ -0,0 +1,11 @@
1
+ import Button, { ButtonProps } from './components/Button';
2
+ import TextField, { TextFieldProps } from './components/TextField';
3
+ import Radio, { RadioProps } from './components/Radio';
4
+ import Select, { SelectProps } from './components/Select';
5
+ import Icon, { IconProps } from './components/Icon';
6
+ import Checkbox, { CheckboxProps } from './components/Checkbox';
7
+ import Slider, { SliderProps } from './components/Slider';
8
+ import Switch, { SwitchProps } from './components/Switch';
9
+ import Tooltip, { TooltipProps } from './components/Tooltip';
10
+ export { Button, TextField, Checkbox, Radio, Select, Icon, Slider, Switch, Tooltip };
11
+ export type { ButtonProps, TextFieldProps, CheckboxProps, RadioProps, SelectProps, IconProps, SliderProps, SwitchProps, TooltipProps };
@@ -0,0 +1,55 @@
1
+ /// <reference types="react" />
2
+ import { ButtonProps as ButtonProps$1 } from '@mui/material/Button';
3
+ import { TextFieldProps as TextFieldProps$1 } from '@mui/material/TextField';
4
+ import { RadioProps as RadioProps$1 } from '@mui/material/Radio';
5
+ import { IconProps as IconProps$1 } from '@mui/material/Icon';
6
+ import { CheckboxProps as CheckboxProps$1 } from '@mui/material/Checkbox';
7
+ import { SliderProps as SliderProps$1 } from '@mui/material/Slider';
8
+ import { SwitchProps as SwitchProps$1 } from '@mui/material/Switch';
9
+ import { TooltipProps as TooltipProps$1 } from '@mui/material/Tooltip';
10
+
11
+ declare type ButtonProps = ButtonProps$1;
12
+ declare const Button: (props: ButtonProps) => JSX.Element;
13
+
14
+ declare type TextFieldProps = TextFieldProps$1 & {
15
+ onChange: (value: any) => void;
16
+ };
17
+ declare const TextField: (props: TextFieldProps) => JSX.Element;
18
+
19
+ declare type RadioProps = RadioProps$1;
20
+ declare const Radio: (props: RadioProps) => JSX.Element;
21
+
22
+ interface SelectOptions {
23
+ label?: string;
24
+ value: string;
25
+ disabled?: boolean;
26
+ }
27
+ declare type SelectProps = TextFieldProps$1 & {
28
+ options: SelectOptions[];
29
+ onChange: (value: any) => void;
30
+ };
31
+ declare const Select: ({ options, onChange, ...props }: SelectProps) => JSX.Element;
32
+
33
+ declare type IconProps = IconProps$1 & {
34
+ type: 'MaterialIcons' | 'FontAwesome';
35
+ name: string;
36
+ };
37
+ declare const Icon: (props: IconProps) => JSX.Element;
38
+
39
+ declare type CheckboxProps = CheckboxProps$1;
40
+ declare const Checkbox: ({ onChange, ...props }: CheckboxProps$1 & {
41
+ onChange: any;
42
+ }) => JSX.Element;
43
+
44
+ declare type SliderProps = SliderProps$1 & {
45
+ onChange: (value: any) => void;
46
+ };
47
+ declare const Slider: (props: SliderProps) => JSX.Element;
48
+
49
+ declare type SwitchProps = SwitchProps$1;
50
+ declare const Switch: (props: SwitchProps) => JSX.Element;
51
+
52
+ declare type TooltipProps = TooltipProps$1;
53
+ declare const Tooltip: (props: TooltipProps) => JSX.Element;
54
+
55
+ export { Button, ButtonProps, Checkbox, CheckboxProps, Icon, IconProps, Radio, RadioProps, Select, SelectProps, Slider, SliderProps, Switch, SwitchProps, TextField, TextFieldProps, Tooltip, TooltipProps };
package/dist/style.css ADDED
@@ -0,0 +1,6 @@
1
+ @import url('assets/material-icons/material-icons.css');
2
+ @import url('assets/fontawesome/css/all.min.css');
3
+ @import url('assets/fontawesome/css/brands.min.css');
4
+ @import url('assets/fontawesome/css/regular.min.css');
5
+ @import url('assets/fontawesome/css/solid.min.css');
6
+ @import url('assets/fontawesome/css/v4-shims.min.css');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsonui/components-web-example",
3
- "version": "0.3.4",
3
+ "version": "0.6.0",
4
4
  "author": "Istvan Fodor <fodori@jsonui.org>",
5
5
  "contributors": [],
6
6
  "bugs": {
@@ -113,5 +113,5 @@
113
113
  "last 1 safari version"
114
114
  ]
115
115
  },
116
- "gitHead": "bd8d7759fb0c8bec66cdc73d87585832f07ae894"
116
+ "gitHead": "8cb10d757549ac50a7d2d1e7285b26015a0867eb"
117
117
  }