@ctlyst.id/internal-ui 1.0.4-canary.9 → 1.1.0-canary.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (100) hide show
  1. package/README.md +1 -1
  2. package/dist/components/alert/__stories__/alert.stories.d.ts +14 -0
  3. package/dist/components/alert/components/alert-action.d.ts +6 -0
  4. package/dist/components/alert/components/alert-close.d.ts +6 -0
  5. package/dist/components/alert/components/alert-context.d.ts +29 -0
  6. package/dist/components/alert/components/alert-description.d.ts +3 -0
  7. package/dist/components/alert/components/alert-icon.d.ts +6 -0
  8. package/dist/components/alert/components/alert-title.d.ts +3 -0
  9. package/dist/components/alert/components/alert.d.ts +25 -0
  10. package/dist/components/alert/components/icons.d.ts +3 -0
  11. package/dist/components/alert/components/index.d.ts +14 -0
  12. package/dist/components/alert/index.d.ts +1 -0
  13. package/dist/components/{base/stories/button.stories.d.ts → badge/__stories__/badge.stories.d.ts} +1 -1
  14. package/dist/components/badge/components/badge.d.ts +11 -0
  15. package/dist/components/badge/index.d.ts +2 -0
  16. package/dist/components/button/__stories__/button.stories.d.ts +14 -0
  17. package/dist/components/button/components/button.d.ts +4 -0
  18. package/dist/components/button/index.d.ts +2 -0
  19. package/dist/components/card/__stories__/card.stories.d.ts +11 -0
  20. package/dist/components/card/components/card.d.ts +8 -0
  21. package/dist/components/card/index.d.ts +2 -0
  22. package/dist/components/checkbox/__stories__/checkbox-group.stories.d.ts +13 -0
  23. package/dist/components/checkbox/__stories__/checkbox.stories.d.ts +12 -0
  24. package/dist/components/checkbox/components/checkbox-group.d.ts +18 -0
  25. package/dist/components/checkbox/components/checkbox.d.ts +16 -0
  26. package/dist/components/checkbox/index.d.ts +4 -0
  27. package/dist/components/chips/__stories__/chips.stories.d.ts +12 -0
  28. package/dist/components/chips/components/chips.d.ts +19 -0
  29. package/dist/components/chips/index.d.ts +2 -0
  30. package/dist/components/field/components/field.d.ts +4 -2
  31. package/dist/components/field/index.d.ts +0 -4
  32. package/dist/components/form/__stories__/input.stories.d.ts +14 -0
  33. package/dist/components/form/__stories__/textarea.stories.d.ts +10 -0
  34. package/dist/components/form/components/input-addon.d.ts +7 -0
  35. package/dist/components/{field → form}/components/input-field.d.ts +4 -1
  36. package/dist/components/{field/components/textarea-field.d.ts → form/components/textarea.d.ts} +2 -6
  37. package/dist/components/form/index.d.ts +4 -0
  38. package/dist/components/form/styles/input-field.d.ts +4 -0
  39. package/dist/components/index.d.ts +9 -0
  40. package/dist/components/layouting/components/box.d.ts +4 -0
  41. package/dist/components/layouting/components/container.d.ts +4 -0
  42. package/dist/components/layouting/components/flex.d.ts +4 -0
  43. package/dist/components/layouting/components/grid.d.ts +4 -0
  44. package/dist/components/layouting/components/stack.d.ts +4 -0
  45. package/dist/components/layouting/components/wrap.d.ts +4 -0
  46. package/dist/components/layouting/index.d.ts +12 -0
  47. package/dist/components/{base/stories/checkbox.stories.d.ts → loader/__stories__/loader.stories.d.ts} +3 -2
  48. package/dist/components/loader/components/loader.d.ts +9 -0
  49. package/dist/components/loader/index.d.ts +2 -0
  50. package/dist/components/radio/__stories__/radio-group.stories.d.ts +13 -0
  51. package/dist/components/radio/__stories__/radio.stories.d.ts +12 -0
  52. package/dist/components/radio/components/radio-group.d.ts +17 -0
  53. package/dist/components/radio/components/radio.d.ts +16 -0
  54. package/dist/components/radio/index.d.ts +4 -0
  55. package/dist/components/rating/__stories__/rating.stories.d.ts +10 -0
  56. package/dist/components/rating/components/rating.d.ts +6 -0
  57. package/dist/components/rating/index.d.ts +2 -0
  58. package/dist/components/switch/__stories__/switch.stories.d.ts +13 -0
  59. package/dist/components/switch/components/switch.d.ts +18 -0
  60. package/dist/components/switch/index.d.ts +2 -0
  61. package/dist/components/text/components/text.d.ts +4 -0
  62. package/dist/components/text/index.d.ts +2 -0
  63. package/dist/config/{foundations.stories.d.ts → __stories__/foundations.stories.d.ts} +1 -0
  64. package/dist/config/theme/components/alert.d.ts +79 -0
  65. package/dist/config/theme/components/card.d.ts +18 -0
  66. package/dist/config/theme/components/checkbox.d.ts +87 -2
  67. package/dist/config/theme/components/chips.d.ts +30 -0
  68. package/dist/config/theme/components/index.d.ts +5 -1
  69. package/dist/config/theme/components/input.d.ts +8 -21
  70. package/dist/config/theme/components/loader.d.ts +85 -0
  71. package/dist/config/theme/components/radio.d.ts +98 -2
  72. package/dist/config/theme/components/switch.d.ts +43 -9
  73. package/dist/config/theme/components/textarea.d.ts +54 -2
  74. package/dist/config/theme/foundations/index.d.ts +3 -2
  75. package/dist/config/theme/foundations/shadows.d.ts +15 -0
  76. package/dist/config/theme/foundations/typography.d.ts +25 -7
  77. package/dist/config/theme/themeConfiguration.d.ts +4 -2
  78. package/dist/internal-ui.cjs.development.js +1411 -377
  79. package/dist/internal-ui.cjs.development.js.map +1 -1
  80. package/dist/internal-ui.cjs.production.min.js +10 -10
  81. package/dist/internal-ui.cjs.production.min.js.map +1 -1
  82. package/dist/internal-ui.esm.js +1413 -395
  83. package/dist/internal-ui.esm.js.map +1 -1
  84. package/dist/provider/{provider.d.ts → components/provider.d.ts} +1 -1
  85. package/dist/provider/index.d.ts +2 -2
  86. package/package.json +12 -11
  87. package/dist/components/base/stories/input.stories.d.ts +0 -16
  88. package/dist/components/base/stories/radio.stories.d.ts +0 -15
  89. /package/dist/components/base/{stories → __stories__}/switch.stories.d.ts +0 -0
  90. /package/dist/components/breadcrumb/{components/BreadCrumb.stories.d.ts → __stories__/breadcrumb.stories.d.ts} +0 -0
  91. /package/dist/components/data-table/{stories/data-table.stories.d.ts → __stories__/datatable.stories.d.ts} +0 -0
  92. /package/dist/components/datepicker/{components → __stories__}/datepicker.stories.d.ts +0 -0
  93. /package/dist/components/header/{stories → __stories__}/header.stories.d.ts +0 -0
  94. /package/dist/components/modal/{stories → __stories__}/modal.stories.d.ts +0 -0
  95. /package/dist/components/navigation/{stories → __stories__}/navigation.stories.d.ts +0 -0
  96. /package/dist/components/pagination/{stories → __stories__}/pagination.stories.d.ts +0 -0
  97. /package/dist/components/select/{stories → __stories__}/select.stories.d.ts +0 -0
  98. /package/dist/components/tabs/{stories → __stories__}/tabs.stories.d.ts +0 -0
  99. /package/dist/components/uploader/{stories → __stories__}/uploader.stories.d.ts +0 -0
  100. /package/dist/provider/{provider.stories.d.ts → __stories__/provider.stories.d.ts} +0 -0
@@ -1,6 +1,6 @@
1
1
  import type { FC } from 'react';
2
2
  import React from 'react';
3
- import type { ProviderContextObject, ProviderProps } from './types';
3
+ import type { ProviderContextObject, ProviderProps } from '../types';
4
4
  export declare const ProviderContext: React.Context<ProviderContextObject>;
5
5
  export declare const useInternalUI: () => ProviderContextObject;
6
6
  declare const Provider: FC<ProviderProps>;
@@ -1,2 +1,2 @@
1
- export { default as Provider } from './provider';
2
- export * from './provider';
1
+ export { default as Provider } from './components/provider';
2
+ export * from './components/provider';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ctlyst.id/internal-ui",
3
- "version": "1.0.4-canary.9",
3
+ "version": "1.1.0-canary.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": "^0.1.0",
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": "6e20425b1a7faf5a8838c940c57d73889db8c6bf"
69
+ "gitHead": "78039ea2028b98e76df956827cdd4be76a943bff"
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;