@ctlyst.id/internal-ui 1.0.1-canary.4 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/base/stories/button.stories.d.ts +10 -0
- package/dist/components/base/stories/checkbox.stories.d.ts +11 -0
- package/dist/components/base/stories/input.stories.d.ts +16 -0
- package/dist/components/base/stories/radio.stories.d.ts +15 -0
- package/dist/components/base/stories/switch.stories.d.ts +11 -0
- package/dist/{types/components → components}/breadcrumb/components/BreadCrumb.d.ts +17 -17
- package/dist/components/breadcrumb/components/BreadCrumb.stories.d.ts +10 -0
- package/dist/{types/components → components}/breadcrumb/index.d.ts +2 -2
- package/dist/{types/components → components}/data-table/components/data-table.d.ts +40 -40
- package/dist/{types/components → components}/data-table/components/indeterminate-checkbox.d.ts +5 -5
- package/dist/{types/components → components}/data-table/index.d.ts +3 -3
- package/dist/components/data-table/stories/data-table.stories.d.ts +38 -0
- package/dist/{types/components → components}/data-table/types/table-core.d.ts +1 -1
- package/dist/{types/components → components}/datepicker/components/datepicker.d.ts +17 -17
- package/dist/components/datepicker/components/datepicker.stories.d.ts +13 -0
- package/dist/{types/components → components}/datepicker/components/styles.d.ts +2 -2
- package/dist/{types/components → components}/datepicker/components/time-input.d.ts +9 -9
- package/dist/{types/components → components}/datepicker/index.d.ts +2 -2
- package/dist/{types/components → components}/field/components/field.d.ts +11 -11
- package/dist/{types/components → components}/field/components/input-field.d.ts +12 -12
- package/dist/{types/components → components}/field/components/textarea-field.d.ts +12 -12
- package/dist/{types/components → components}/field/index.d.ts +6 -6
- package/dist/{types/components → components}/header/components/header.d.ts +10 -10
- package/dist/{types/components → components}/header/components/logo.d.ts +2 -2
- package/dist/{types/components → components}/header/components/profile.d.ts +8 -8
- package/dist/{types/components → components}/header/components/switch-mode.d.ts +3 -3
- package/dist/{types/components → components}/header/components/version.d.ts +9 -9
- package/dist/{types/components → components}/header/index.d.ts +3 -3
- package/dist/components/header/stories/header.stories.d.ts +10 -0
- package/dist/{types/components → components}/header/types.d.ts +10 -10
- package/dist/{types/components → components}/header/utils/formatter.d.ts +2 -2
- package/dist/{types/components → components}/index.d.ts +11 -11
- package/dist/{types/components → components}/modal/components/modal-close-button.d.ts +4 -4
- package/dist/{types/components → components}/modal/components/modal-footer.d.ts +4 -4
- package/dist/{types/components → components}/modal/components/modal-header.d.ts +4 -4
- package/dist/{types/components → components}/modal/index.d.ts +4 -4
- package/dist/components/modal/stories/modal.stories.d.ts +10 -0
- package/dist/{types/components → components}/navigation/components/navigation.d.ts +10 -10
- package/dist/{types/components → components}/navigation/index.d.ts +2 -2
- package/dist/components/navigation/stories/navigation.stories.d.ts +10 -0
- package/dist/{types/components → components}/navigation/types.d.ts +8 -8
- package/dist/{types/components → components}/pagination/components/pagination-button-trigger.d.ts +10 -10
- package/dist/{types/components → components}/pagination/components/pagination-button.d.ts +6 -6
- package/dist/{types/components → components}/pagination/components/pagination-detail.d.ts +10 -10
- package/dist/{types/components → components}/pagination/components/pagination-filter.d.ts +13 -13
- package/dist/{types/components → components}/pagination/components/pagination.d.ts +16 -16
- package/dist/{types/components → components}/pagination/index.d.ts +6 -6
- package/dist/components/pagination/stories/pagination.stories.d.ts +13 -0
- package/dist/{types/components → components}/select/components/select-async-creatable.d.ts +4 -4
- package/dist/{types/components → components}/select/components/select-async.d.ts +5 -5
- package/dist/{types/components → components}/select/components/select-creatable.d.ts +4 -4
- package/dist/{types/components → components}/select/components/select.d.ts +4 -4
- package/dist/{types/components → components}/select/components/utils.d.ts +26 -26
- package/dist/{types/components → components}/select/index.d.ts +8 -8
- package/dist/components/select/stories/select.stories.d.ts +13 -0
- package/dist/{types/components → components}/tabs/components/tab-list.d.ts +3 -3
- package/dist/{types/components → components}/tabs/components/tab-panel.d.ts +3 -3
- package/dist/{types/components → components}/tabs/components/tab.d.ts +11 -11
- package/dist/{types/components → components}/tabs/index.d.ts +4 -4
- package/dist/components/tabs/stories/tabs.stories.d.ts +10 -0
- package/dist/{types/components → components}/uploader/components/uploader.d.ts +12 -12
- package/dist/{types/components → components}/uploader/constants.d.ts +8 -8
- package/dist/{types/components → components}/uploader/index.d.ts +2 -2
- package/dist/components/uploader/stories/uploader.stories.d.ts +12 -0
- package/dist/config/foundations.stories.d.ts +13 -0
- package/dist/{types/config → config}/index.d.ts +1 -1
- package/dist/{types/config → config}/theme/components/button.d.ts +3 -3
- package/dist/{types/config → config}/theme/components/checkbox.d.ts +3 -3
- package/dist/{types/config → config}/theme/components/form-label.d.ts +19 -19
- package/dist/{types/config → config}/theme/components/index.d.ts +8 -8
- package/dist/{types/config → config}/theme/components/input.d.ts +114 -114
- package/dist/{types/config → config}/theme/components/popover.d.ts +3 -3
- package/dist/{types/config → config}/theme/components/radio.d.ts +3 -3
- package/dist/{types/config → config}/theme/components/switch.d.ts +32 -32
- package/dist/{types/config → config}/theme/components/textarea.d.ts +3 -3
- package/dist/config/theme/foundations/colors.d.ts +158 -0
- package/dist/{types/config → config}/theme/foundations/index.d.ts +5 -5
- package/dist/{types/config → config}/theme/foundations/radius.d.ts +8 -8
- package/dist/{types/config → config}/theme/foundations/sizes.d.ts +66 -66
- package/dist/{types/config → config}/theme/foundations/spacing.d.ts +42 -42
- package/dist/{types/config → config}/theme/foundations/typography.d.ts +173 -173
- package/dist/{types/config → config}/theme/index.d.ts +1 -1
- package/dist/{types/config → config}/theme/themeConfiguration.d.ts +4 -4
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/useFetcher.d.ts +4 -0
- package/dist/{types/index.d.ts → index.d.ts} +3 -3
- package/dist/index.js +6 -892
- package/dist/interfaces/common.d.ts +17 -0
- package/dist/internal-ui.cjs.development.js +3279 -0
- package/dist/internal-ui.cjs.development.js.map +1 -0
- package/dist/internal-ui.cjs.production.min.js +10 -0
- package/dist/internal-ui.cjs.production.min.js.map +1 -0
- package/dist/internal-ui.esm.js +3008 -0
- package/dist/internal-ui.esm.js.map +1 -0
- package/dist/{types/provider → provider}/index.d.ts +2 -2
- package/dist/{types/provider → provider}/provider.d.ts +6 -6
- package/dist/provider/provider.stories.d.ts +5 -0
- package/dist/provider/types.d.ts +14 -0
- package/package.json +8 -7
- package/dist/index.mjs +0 -20509
- package/dist/types/config/theme/foundations/colors.d.ts +0 -158
- package/dist/types/provider/types.d.ts +0 -14
@@ -0,0 +1,17 @@
|
|
1
|
+
export declare type ActionsPayload<T = unknown> = {
|
2
|
+
method: 'PUT' | 'POST';
|
3
|
+
path: string;
|
4
|
+
body?: T;
|
5
|
+
};
|
6
|
+
export declare type ActionsType = {
|
7
|
+
onCreate?: ActionsPayload;
|
8
|
+
onUpdate?: ActionsPayload;
|
9
|
+
onDelete?: string;
|
10
|
+
onLoad?: string;
|
11
|
+
};
|
12
|
+
export declare type Actions = {
|
13
|
+
actions?: ActionsType;
|
14
|
+
};
|
15
|
+
export declare type Response<T = unknown> = {
|
16
|
+
data: T;
|
17
|
+
};
|