@ctlyst.id/internal-ui 1.0.1-canary.3 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. package/dist/components/base/stories/button.stories.d.ts +10 -0
  2. package/dist/components/base/stories/checkbox.stories.d.ts +11 -0
  3. package/dist/components/base/stories/input.stories.d.ts +16 -0
  4. package/dist/components/base/stories/radio.stories.d.ts +15 -0
  5. package/dist/components/base/stories/switch.stories.d.ts +11 -0
  6. package/dist/{types/components → components}/breadcrumb/components/BreadCrumb.d.ts +17 -17
  7. package/dist/components/breadcrumb/components/BreadCrumb.stories.d.ts +10 -0
  8. package/dist/{types/components → components}/breadcrumb/index.d.ts +2 -2
  9. package/dist/{types/components → components}/data-table/components/data-table.d.ts +40 -40
  10. package/dist/{types/components → components}/data-table/components/indeterminate-checkbox.d.ts +5 -5
  11. package/dist/{types/components → components}/data-table/index.d.ts +3 -3
  12. package/dist/components/data-table/stories/data-table.stories.d.ts +38 -0
  13. package/dist/{types/components → components}/data-table/types/table-core.d.ts +1 -1
  14. package/dist/{types/components → components}/datepicker/components/datepicker.d.ts +17 -17
  15. package/dist/components/datepicker/components/datepicker.stories.d.ts +13 -0
  16. package/dist/{types/components → components}/datepicker/components/styles.d.ts +2 -2
  17. package/dist/{types/components → components}/datepicker/components/time-input.d.ts +9 -9
  18. package/dist/{types/components → components}/datepicker/index.d.ts +2 -2
  19. package/dist/{types/components → components}/field/components/field.d.ts +11 -11
  20. package/dist/{types/components → components}/field/components/input-field.d.ts +12 -12
  21. package/dist/{types/components → components}/field/components/textarea-field.d.ts +12 -12
  22. package/dist/{types/components → components}/field/index.d.ts +6 -6
  23. package/dist/{types/components → components}/header/components/header.d.ts +10 -10
  24. package/dist/{types/components → components}/header/components/logo.d.ts +2 -2
  25. package/dist/{types/components → components}/header/components/profile.d.ts +8 -8
  26. package/dist/{types/components → components}/header/components/switch-mode.d.ts +3 -3
  27. package/dist/{types/components → components}/header/components/version.d.ts +9 -9
  28. package/dist/{types/components → components}/header/index.d.ts +3 -3
  29. package/dist/components/header/stories/header.stories.d.ts +10 -0
  30. package/dist/{types/components → components}/header/types.d.ts +10 -10
  31. package/dist/{types/components → components}/header/utils/formatter.d.ts +2 -2
  32. package/dist/{types/components → components}/index.d.ts +11 -11
  33. package/dist/{types/components → components}/modal/components/modal-close-button.d.ts +4 -4
  34. package/dist/{types/components → components}/modal/components/modal-footer.d.ts +4 -4
  35. package/dist/{types/components → components}/modal/components/modal-header.d.ts +4 -4
  36. package/dist/{types/components → components}/modal/index.d.ts +4 -4
  37. package/dist/components/modal/stories/modal.stories.d.ts +10 -0
  38. package/dist/{types/components → components}/navigation/components/navigation.d.ts +10 -10
  39. package/dist/{types/components → components}/navigation/index.d.ts +2 -2
  40. package/dist/components/navigation/stories/navigation.stories.d.ts +10 -0
  41. package/dist/{types/components → components}/navigation/types.d.ts +8 -8
  42. package/dist/{types/components → components}/pagination/components/pagination-button-trigger.d.ts +10 -10
  43. package/dist/{types/components → components}/pagination/components/pagination-button.d.ts +6 -6
  44. package/dist/{types/components → components}/pagination/components/pagination-detail.d.ts +10 -10
  45. package/dist/{types/components → components}/pagination/components/pagination-filter.d.ts +13 -13
  46. package/dist/{types/components → components}/pagination/components/pagination.d.ts +16 -16
  47. package/dist/{types/components → components}/pagination/index.d.ts +6 -6
  48. package/dist/components/pagination/stories/pagination.stories.d.ts +13 -0
  49. package/dist/{types/components → components}/select/components/select-async-creatable.d.ts +4 -4
  50. package/dist/{types/components → components}/select/components/select-async.d.ts +5 -5
  51. package/dist/{types/components → components}/select/components/select-creatable.d.ts +4 -4
  52. package/dist/{types/components → components}/select/components/select.d.ts +4 -4
  53. package/dist/{types/components → components}/select/components/utils.d.ts +26 -26
  54. package/dist/{types/components → components}/select/index.d.ts +8 -8
  55. package/dist/components/select/stories/select.stories.d.ts +13 -0
  56. package/dist/{types/components → components}/tabs/components/tab-list.d.ts +3 -3
  57. package/dist/{types/components → components}/tabs/components/tab-panel.d.ts +3 -3
  58. package/dist/{types/components → components}/tabs/components/tab.d.ts +11 -11
  59. package/dist/{types/components → components}/tabs/index.d.ts +4 -4
  60. package/dist/components/tabs/stories/tabs.stories.d.ts +10 -0
  61. package/dist/{types/components → components}/uploader/components/uploader.d.ts +12 -12
  62. package/dist/{types/components → components}/uploader/constants.d.ts +8 -8
  63. package/dist/{types/components → components}/uploader/index.d.ts +2 -2
  64. package/dist/components/uploader/stories/uploader.stories.d.ts +12 -0
  65. package/dist/config/foundations.stories.d.ts +13 -0
  66. package/dist/{types/config → config}/index.d.ts +1 -1
  67. package/dist/{types/config → config}/theme/components/button.d.ts +3 -3
  68. package/dist/{types/config → config}/theme/components/checkbox.d.ts +3 -3
  69. package/dist/{types/config → config}/theme/components/form-label.d.ts +19 -19
  70. package/dist/{types/config → config}/theme/components/index.d.ts +8 -8
  71. package/dist/{types/config → config}/theme/components/input.d.ts +114 -114
  72. package/dist/{types/config → config}/theme/components/popover.d.ts +3 -3
  73. package/dist/{types/config → config}/theme/components/radio.d.ts +3 -3
  74. package/dist/{types/config → config}/theme/components/switch.d.ts +32 -32
  75. package/dist/{types/config → config}/theme/components/textarea.d.ts +3 -3
  76. package/dist/config/theme/foundations/colors.d.ts +158 -0
  77. package/dist/{types/config → config}/theme/foundations/index.d.ts +5 -5
  78. package/dist/{types/config → config}/theme/foundations/radius.d.ts +8 -8
  79. package/dist/{types/config → config}/theme/foundations/sizes.d.ts +66 -66
  80. package/dist/{types/config → config}/theme/foundations/spacing.d.ts +42 -42
  81. package/dist/{types/config → config}/theme/foundations/typography.d.ts +173 -173
  82. package/dist/{types/config → config}/theme/index.d.ts +1 -1
  83. package/dist/{types/config → config}/theme/themeConfiguration.d.ts +4 -4
  84. package/dist/hooks/index.d.ts +1 -0
  85. package/dist/hooks/useFetcher.d.ts +4 -0
  86. package/dist/{types/index.d.ts → index.d.ts} +3 -3
  87. package/dist/index.js +6 -892
  88. package/dist/interfaces/common.d.ts +17 -0
  89. package/dist/internal-ui.cjs.development.js +3279 -0
  90. package/dist/internal-ui.cjs.development.js.map +1 -0
  91. package/dist/internal-ui.cjs.production.min.js +10 -0
  92. package/dist/internal-ui.cjs.production.min.js.map +1 -0
  93. package/dist/internal-ui.esm.js +3008 -0
  94. package/dist/internal-ui.esm.js.map +1 -0
  95. package/dist/{types/provider → provider}/index.d.ts +2 -2
  96. package/dist/{types/provider → provider}/provider.d.ts +6 -6
  97. package/dist/provider/provider.stories.d.ts +5 -0
  98. package/dist/provider/types.d.ts +14 -0
  99. package/package.json +20 -7
  100. package/dist/index.mjs +0 -20509
  101. package/dist/types/config/theme/foundations/colors.d.ts +0 -158
  102. package/dist/types/provider/types.d.ts +0 -14
@@ -1,158 +0,0 @@
1
- declare const colors: {
2
- transparent: string;
3
- black: {
4
- high: string;
5
- medium: string;
6
- low: string;
7
- };
8
- white: {
9
- high: string;
10
- medium: string;
11
- low: string;
12
- };
13
- neutral: {
14
- '50': string;
15
- '100': string;
16
- '200': string;
17
- '300': string;
18
- '400': string;
19
- '500': string;
20
- '600': string;
21
- '700': string;
22
- '800': string;
23
- '900': string;
24
- };
25
- primary: {
26
- '50': string;
27
- '100': string;
28
- '200': string;
29
- '300': string;
30
- '400': string;
31
- '500': string;
32
- '600': string;
33
- '700': string;
34
- '800': string;
35
- '900': string;
36
- };
37
- secondary: {
38
- '50': string;
39
- '100': string;
40
- '200': string;
41
- '300': string;
42
- '400': string;
43
- '500': string;
44
- '600': string;
45
- '700': string;
46
- '800': string;
47
- '900': string;
48
- };
49
- success: {
50
- '50': string;
51
- '100': string;
52
- '200': string;
53
- '300': string;
54
- '400': string;
55
- '500': string;
56
- '600': string;
57
- '700': string;
58
- '800': string;
59
- '900': string;
60
- };
61
- danger: {
62
- '50': string;
63
- '100': string;
64
- '200': string;
65
- '300': string;
66
- '400': string;
67
- '500': string;
68
- '600': string;
69
- '700': string;
70
- '800': string;
71
- '900': string;
72
- };
73
- warning: {
74
- '50': string;
75
- '100': string;
76
- '200': string;
77
- '300': string;
78
- '400': string;
79
- '500': string;
80
- '600': string;
81
- '700': string;
82
- '800': string;
83
- '900': string;
84
- };
85
- info: {
86
- '50': string;
87
- '100': string;
88
- '200': string;
89
- '300': string;
90
- '400': string;
91
- '500': string;
92
- '600': string;
93
- '700': string;
94
- '800': string;
95
- '900': string;
96
- };
97
- dark: {
98
- '50': string;
99
- '100': string;
100
- '200': string;
101
- '300': string;
102
- '400': string;
103
- '500': string;
104
- '600': string;
105
- '700': string;
106
- '800': string;
107
- '900': string;
108
- };
109
- mirage: {
110
- '50': string;
111
- '100': string;
112
- '200': string;
113
- '300': string;
114
- '400': string;
115
- '500': string;
116
- '600': string;
117
- '700': string;
118
- '800': string;
119
- '900': string;
120
- };
121
- 'ebony-clay': {
122
- '50': string;
123
- '100': string;
124
- '200': string;
125
- '300': string;
126
- '400': string;
127
- '500': string;
128
- '600': string;
129
- '700': string;
130
- '800': string;
131
- '900': string;
132
- };
133
- 'bright-gray': {
134
- '50': string;
135
- '100': string;
136
- '200': string;
137
- '300': string;
138
- '400': string;
139
- '500': string;
140
- '600': string;
141
- '700': string;
142
- '800': string;
143
- '900': string;
144
- };
145
- 'dove-gray': {
146
- '50': string;
147
- '100': string;
148
- '200': string;
149
- '300': string;
150
- '400': string;
151
- '500': string;
152
- '600': string;
153
- '700': string;
154
- '800': string;
155
- '900': string;
156
- };
157
- };
158
- export default colors;
@@ -1,14 +0,0 @@
1
- /// <reference types="react" />
2
- import type { AxiosInstance, AxiosRequestConfig, AxiosResponse } from 'axios';
3
- type RequestInterceptors = (value: AxiosRequestConfig<unknown>) => AxiosRequestConfig<unknown> | Promise<AxiosRequestConfig<unknown>>;
4
- type ResponseInterceptors = (value: AxiosResponse<unknown>) => AxiosResponse<unknown> | Promise<AxiosResponse<unknown>>;
5
- export type ProviderProps = {
6
- children?: React.ReactNode;
7
- config?: AxiosRequestConfig<unknown>;
8
- requestInterceptors?: RequestInterceptors[];
9
- responseInterceptors?: ResponseInterceptors[];
10
- };
11
- export type ProviderContextObject = {
12
- instance?: AxiosInstance;
13
- };
14
- export {};