@ctlyst.id/internal-ui 2.0.0-canary.2 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. package/dist/components/alert/__stories__/alert.stories.d.ts +14 -0
  2. package/dist/components/alert/components/alert-action.d.ts +6 -0
  3. package/dist/components/alert/components/alert-close.d.ts +6 -0
  4. package/dist/components/alert/components/alert-context.d.ts +29 -0
  5. package/dist/components/alert/components/alert-description.d.ts +3 -0
  6. package/dist/components/alert/components/alert-icon.d.ts +6 -0
  7. package/dist/components/alert/components/alert-title.d.ts +3 -0
  8. package/dist/components/alert/components/alert.d.ts +25 -0
  9. package/dist/components/alert/components/icons.d.ts +3 -0
  10. package/dist/components/alert/components/index.d.ts +14 -0
  11. package/dist/components/alert/index.d.ts +1 -0
  12. package/dist/components/{base/__stories__/button.stories.d.ts → badge/__stories__/badge.stories.d.ts} +1 -1
  13. package/dist/components/badge/components/badge.d.ts +11 -0
  14. package/dist/components/badge/index.d.ts +2 -0
  15. package/dist/components/button/__stories__/button.stories.d.ts +14 -0
  16. package/dist/components/button/components/button.d.ts +4 -0
  17. package/dist/components/button/index.d.ts +2 -0
  18. package/dist/components/card/__stories__/card.stories.d.ts +11 -0
  19. package/dist/components/card/components/card.d.ts +8 -0
  20. package/dist/components/card/index.d.ts +2 -0
  21. package/dist/components/checkbox/__stories__/checkbox-group.stories.d.ts +13 -0
  22. package/dist/components/checkbox/components/checkbox-group.d.ts +18 -0
  23. package/dist/components/checkbox/index.d.ts +2 -0
  24. package/dist/components/chips/__stories__/chips.stories.d.ts +12 -0
  25. package/dist/components/chips/components/chips.d.ts +19 -0
  26. package/dist/components/chips/index.d.ts +2 -0
  27. package/dist/components/field/components/field.d.ts +0 -1
  28. package/dist/components/field/index.d.ts +0 -2
  29. package/dist/components/form/__stories__/input.stories.d.ts +14 -0
  30. package/dist/components/form/components/input-addon.d.ts +7 -0
  31. package/dist/components/{field → form}/components/input-field.d.ts +4 -1
  32. package/dist/components/form/index.d.ts +2 -0
  33. package/dist/components/form/styles/input-field.d.ts +4 -0
  34. package/dist/components/index.d.ts +7 -0
  35. package/dist/components/layouting/components/box.d.ts +4 -0
  36. package/dist/components/layouting/components/container.d.ts +4 -0
  37. package/dist/components/layouting/components/flex.d.ts +4 -0
  38. package/dist/components/layouting/components/grid.d.ts +4 -0
  39. package/dist/components/layouting/components/stack.d.ts +4 -0
  40. package/dist/components/layouting/components/wrap.d.ts +4 -0
  41. package/dist/components/layouting/index.d.ts +12 -0
  42. package/dist/components/radio/__stories__/radio-group.stories.d.ts +13 -0
  43. package/dist/components/radio/__stories__/radio.stories.d.ts +12 -0
  44. package/dist/components/radio/components/radio-group.d.ts +17 -0
  45. package/dist/components/radio/components/radio.d.ts +16 -0
  46. package/dist/components/radio/index.d.ts +4 -0
  47. package/dist/components/rating/__stories__/rating.stories.d.ts +10 -0
  48. package/dist/components/rating/components/rating.d.ts +6 -0
  49. package/dist/components/rating/index.d.ts +2 -0
  50. package/dist/components/switch/__stories__/switch.stories.d.ts +13 -0
  51. package/dist/components/switch/components/switch.d.ts +18 -0
  52. package/dist/components/switch/index.d.ts +2 -0
  53. package/dist/components/text/components/text.d.ts +4 -0
  54. package/dist/components/text/index.d.ts +2 -0
  55. package/dist/config/theme/components/alert.d.ts +79 -0
  56. package/dist/config/theme/components/card.d.ts +18 -0
  57. package/dist/config/theme/components/checkbox.d.ts +2 -1
  58. package/dist/config/theme/components/chips.d.ts +30 -0
  59. package/dist/config/theme/components/index.d.ts +3 -0
  60. package/dist/config/theme/components/input.d.ts +8 -21
  61. package/dist/config/theme/components/radio.d.ts +98 -2
  62. package/dist/config/theme/components/switch.d.ts +43 -9
  63. package/dist/config/theme/themeConfiguration.d.ts +4 -2
  64. package/dist/internal-ui.cjs.development.js +1088 -316
  65. package/dist/internal-ui.cjs.development.js.map +1 -1
  66. package/dist/internal-ui.cjs.production.min.js +9 -9
  67. package/dist/internal-ui.cjs.production.min.js.map +1 -1
  68. package/dist/internal-ui.esm.js +1073 -316
  69. package/dist/internal-ui.esm.js.map +1 -1
  70. package/dist/provider/components/provider.d.ts +0 -1
  71. package/package.json +12 -11
  72. package/dist/components/base/__stories__/input.stories.d.ts +0 -16
  73. package/dist/components/base/__stories__/radio.stories.d.ts +0 -15
@@ -1,4 +1,3 @@
1
- import '@fontsource/poppins';
2
1
  import type { FC } from 'react';
3
2
  import React from 'react';
4
3
  import type { ProviderContextObject, ProviderProps } from '../types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ctlyst.id/internal-ui",
3
- "version": "2.0.0-canary.2",
3
+ "version": "2.0.1",
4
4
  "description": "Voila Internal UI Component",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/internal-ui.esm.js",
@@ -22,12 +22,20 @@
22
22
  "lint": "eslint \"src/**/*.{js,jsx,ts,tsx}\"",
23
23
  "prepublish": "yarn build",
24
24
  "report-coverage": "codecov -f ./coverage/*.json",
25
- "start": "tsdx watch --tsconfig tsconfig.build.json --verbose",
25
+ "start": "tsdx watch --transpileOnly --tsconfig tsconfig.build.json --verbose",
26
26
  "test": "jest",
27
27
  "test:coverage": "jest --coverage",
28
- "type-check": "tsc --emitDeclarationOnly"
28
+ "type-check": "tsc --noEmit"
29
29
  },
30
30
  "dependencies": {
31
+ "@chakra-ui/anatomy": "^2.0.7",
32
+ "@chakra-ui/icons": "^2.0.11",
33
+ "@chakra-ui/react": "^2.3.6",
34
+ "@chakra-ui/styled-system": "^2.3.4",
35
+ "@chakra-ui/system": "^2.3.0",
36
+ "@chakra-ui/theme-tools": "^2.0.12",
37
+ "@chakra-ui/utils": "^2.0.11",
38
+ "@ctlyst.id/internal-icon": "^1.0.1",
31
39
  "@tanstack/react-table": "^8.5.17",
32
40
  "axios": "^0.27.2",
33
41
  "clsx": "^1.1.1",
@@ -45,13 +53,6 @@
45
53
  "devDependencies": {
46
54
  "@babel/core": "^7.15.0",
47
55
  "@babel/preset-typescript": "^7.18.6",
48
- "@chakra-ui/anatomy": "^2.0.7",
49
- "@chakra-ui/icons": "^2.0.11",
50
- "@chakra-ui/react": "^2.3.6",
51
- "@chakra-ui/styled-system": "^2.3.4",
52
- "@chakra-ui/system": "^2.3.0",
53
- "@chakra-ui/theme-tools": "^2.0.12",
54
- "@chakra-ui/utils": "^2.0.11",
55
56
  "@emotion/core": "^11.0.0",
56
57
  "@emotion/react": "^11.9.3",
57
58
  "@emotion/styled": "^11.9.3",
@@ -65,5 +66,5 @@
65
66
  "framer-motion": "^6.3.13",
66
67
  "jest": "^26.6.3"
67
68
  },
68
- "gitHead": "1d756dbe41108f05608ffd49a6459d394510f968"
69
+ "gitHead": "0d8b3ab991d7b0d5584a357e5f8dd2207f2bed1f"
69
70
  }
@@ -1,16 +0,0 @@
1
- import * as React from 'react';
2
- declare const _default: {
3
- chakra: {
4
- theme: Record<string, any>;
5
- };
6
- title: string;
7
- decorators: ((Story: React.ElementType) => JSX.Element)[];
8
- };
9
- export default _default;
10
- export declare const InputDefault: () => JSX.Element;
11
- export declare const InputSize: () => JSX.Element;
12
- export declare const InputVariant: () => JSX.Element;
13
- export declare const InputAddon: () => JSX.Element;
14
- export declare const InputWithIcon: () => JSX.Element;
15
- export declare const InputCustomize: () => JSX.Element;
16
- export declare const InputField: () => JSX.Element;
@@ -1,15 +0,0 @@
1
- import * as React from 'react';
2
- declare const _default: {
3
- chakra: {
4
- theme: Record<string, any>;
5
- };
6
- title: string;
7
- decorators: ((Story: React.ElementType) => JSX.Element)[];
8
- };
9
- export default _default;
10
- export declare const RadioDefault: () => JSX.Element;
11
- export declare const RadioExample: () => JSX.Element;
12
- export declare const RadioSize: () => JSX.Element;
13
- export declare const RadioCustomColor: () => JSX.Element;
14
- export declare const RadioDisabled: () => JSX.Element;
15
- export declare const RadioHorizontal: () => JSX.Element;