1mpacto-react-ui 2.0.8 → 2.0.9-1ms

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.
@@ -1,7 +1,7 @@
1
1
  declare const _default: {
2
2
  "name": "1mpacto-react-ui",
3
3
  "private": false,
4
- "version": "2.0.8",
4
+ "version": "2.0.9-1ms",
5
5
  "type": "module",
6
6
  "engines": {
7
7
  "node": ">=20.19.4",
@@ -16,7 +16,7 @@ declare const _default: {
16
16
  "process:transformStyle": "npm run postProcess:fontfamily && npm run transform:style",
17
17
  "process:copyStyle": "npm run copy:mixin-scss && npm run copy:toastify-css",
18
18
  "build": "tsc -b && vite build && npm run build:css && npm run build:fontfamily && npm run process:copyStyle && npm run process:transformStyle",
19
- "build:css": "tailwindcss -i ./src/styles/index.scss -o ./dist/assets/core.css --minify",
19
+ "build:css": "sass --load-path=node_modules ./src/styles/index.scss ./dist/assets/core.css --no-source-map --style=compressed",
20
20
  "build:fontfamily": "sass ./src/styles/fontfamily.scss ./dist/assets/fontfamily.css --no-source-map --style=compressed",
21
21
  "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
22
22
  "preview": "vite preview",
@@ -44,7 +44,7 @@ declare const _default: {
44
44
  "@typescript-eslint/eslint-plugin": "^8.48.1",
45
45
  "@typescript-eslint/parser": "^8.48.1",
46
46
  "@vitejs/plugin-react-swc": "^3.9.0",
47
- "autoprefixer": "^10.4.19",
47
+ "1mpacto-sass": "^0.0.6",
48
48
  "eslint": "^9.32.0",
49
49
  "eslint-config-prettier": "^10.1.8",
50
50
  "eslint-plugin-import": "^2.32.0",
@@ -57,13 +57,11 @@ declare const _default: {
57
57
  "globals": "^16.3.0",
58
58
  "husky": "^9.1.7",
59
59
  "lint-staged": "^16.2.7",
60
- "postcss": "^8.5.2",
61
60
  "prettier": "^3.7.4",
62
61
  "react": "^19.1.1",
63
62
  "react-dom": "^19.1.1",
64
63
  "sass": "^1.94.2",
65
64
  "storybook": "^10.1.4",
66
- "tailwindcss": "^3.4.4",
67
65
  "ts-node": "^10.9.2",
68
66
  "typescript": "~5.9.3",
69
67
  "vite": "^6.3.5",
@@ -129,6 +127,7 @@ declare const _default: {
129
127
  "react-virtuoso": "^4.16.1",
130
128
  "tinymce": "^8.2.2"
131
129
  }
132
- };
130
+ }
131
+ ;
133
132
 
134
133
  export default _default;
@@ -1,7 +1,7 @@
1
1
  import { StoryObj } from '@storybook/react-vite';
2
2
  declare const meta: {
3
3
  title: string;
4
- component: import('react').ForwardRefExoticComponent<import('../../interfaces/components/Button').IButton & import('react').RefAttributes<HTMLButtonElement>>;
4
+ component: import('react').ForwardRefExoticComponent<import('..').IButton & import('react').RefAttributes<HTMLButtonElement>>;
5
5
  parameters: {
6
6
  layout: string;
7
7
  };
@@ -149,7 +149,7 @@ declare const meta: {
149
149
  loading: false;
150
150
  disabled: false;
151
151
  };
152
- render: (args: import('../../interfaces/components/Button').IButton & import('react').RefAttributes<HTMLButtonElement>) => import("react/jsx-runtime").JSX.Element;
152
+ render: (args: import('..').IButton & import('react').RefAttributes<HTMLButtonElement>) => import("react/jsx-runtime").JSX.Element;
153
153
  };
154
154
  export default meta;
155
155
  type Story = StoryObj<typeof meta>;
@@ -1,7 +1,7 @@
1
1
  import { StoryObj } from '@storybook/react-vite';
2
2
  declare const meta: {
3
3
  title: string;
4
- component: import('react').ForwardRefExoticComponent<import('../../interfaces/components/ButtonIcon').IButtonIcon & import('react').RefAttributes<HTMLButtonElement>>;
4
+ component: import('react').ForwardRefExoticComponent<import('..').IButtonIcon & import('react').RefAttributes<HTMLButtonElement>>;
5
5
  parameters: {
6
6
  layout: string;
7
7
  };
@@ -21,6 +21,8 @@ export declare const configRadioCheckboxLabel: {
21
21
  'laba-blue-01': string;
22
22
  'blue-50': string;
23
23
  'bill-secondary-50': string;
24
+ 'transparent-text_orange-700': string;
25
+ 'transparent-text_green-700': string;
24
26
  };
25
27
  };
26
28
  export declare const keysConfigRadioCheckboxLabelVariant: string[];
@@ -2,13 +2,15 @@ export declare const configItemSidebar: {
2
2
  variant: {
3
3
  'payhere-brand-base-white': string;
4
4
  'payhere-brand-base-transparent': string;
5
+ 'payhere-brand-indigo-900-transparent': string;
6
+ 'payhere-brand-blue-gray-900-transparent': string;
5
7
  'laba-white': string;
6
8
  'lpd-brand-base-white': string;
7
9
  'lpd-brand-base-transparent': string;
8
10
  'lpd-brand-base-white-responsive': string;
9
11
  'lpd-brand-base-transparent-responsive': string;
10
- 'bill-brand-base-white': string;
11
- 'bill-brand-base-white-responsive': string;
12
+ 'bill-brand-base': string;
13
+ 'bill-brand-base-responsive': string;
12
14
  };
13
15
  parent: {
14
16
  '1': string;
@@ -23,12 +25,14 @@ export declare const configItemSidebar: {
23
25
  divider: {
24
26
  'payhere-brand-base-white': string;
25
27
  'payhere-brand-base-transparent': string;
28
+ 'payhere-brand-indigo-900-transparent': string;
29
+ 'payhere-brand-blue-gray-900-transparent': string;
26
30
  'laba-white': string;
27
31
  'lpd-brand-base-white': string;
28
32
  'lpd-brand-base-transparent': string;
29
33
  'lpd-brand-base-white-responsive': string;
30
34
  'lpd-brand-base-transparent-responsive': string;
31
- 'bill-brand-base-white': string;
32
- 'bill-brand-base-white-responsive': string;
35
+ 'bill-brand-base': string;
36
+ 'bill-brand-base-responsive': string;
33
37
  };
34
38
  };
@@ -3,13 +3,15 @@ export declare const configSidebar: {
3
3
  variants: {
4
4
  'payhere-brand-base-white': string;
5
5
  'payhere-brand-base-transparent': string;
6
+ 'payhere-brand-indigo-900-transparent': string;
7
+ 'payhere-brand-blue-gray-900-transparent': string;
6
8
  'laba-white': string;
7
9
  'lpd-brand-base-white': string;
8
10
  'lpd-brand-base-transparent': string;
9
11
  'lpd-brand-base-white-responsive': string;
10
12
  'lpd-brand-base-transparent-responsive': string;
11
- 'bill-brand-base-white': string;
12
- 'bill-brand-base-white-responsive': string;
13
+ 'bill-brand-base': string;
14
+ 'bill-brand-base-responsive': string;
13
15
  };
14
16
  mobileSupport: string[];
15
17
  };
@@ -2,7 +2,7 @@ import { StoryObj } from '@storybook/react-vite';
2
2
  import { IRefSidebar } from '../../interfaces/components/Sidebar';
3
3
  declare const meta: {
4
4
  title: string;
5
- component: <T extends React.ElementType = "div">(props: import('../../interfaces/components/Sidebar').ISidebar<T> & {
5
+ component: <T extends React.ElementType = "div">(props: import('..').ISidebar<T> & {
6
6
  ref?: React.ForwardedRef<IRefSidebar>;
7
7
  }) => React.ReactNode;
8
8
  parameters: {
@@ -186,7 +186,7 @@ declare const meta: {
186
186
  args: {
187
187
  onChange: import('@vitest/spy').Mock<(...args: any[]) => any>;
188
188
  };
189
- render: (args: import('../../interfaces/components/Sidebar').ISidebar<import('react').ElementType<any, keyof import("react").JSX.IntrinsicElements>> & {
189
+ render: (args: import('..').ISidebar<import('react').ElementType<any, keyof import("react").JSX.IntrinsicElements>> & {
190
190
  ref?: React.ForwardedRef<IRefSidebar>;
191
191
  }) => import("react/jsx-runtime").JSX.Element;
192
192
  };
@@ -8,6 +8,7 @@ export declare const configTabs: {
8
8
  'container-laba-blue-10-bg_blue-01': string;
9
9
  'original-bill-secondary-800': string;
10
10
  'container-bill-secondary-800': string;
11
+ 'original-payhere-primary-700': string;
11
12
  };
12
13
  size: {
13
14
  'tabs-m': string;
@@ -33,7 +33,7 @@ import { default as RadioCheckbox, DefaultCheckedChecboxIcon, DefaultRadioChecbo
33
33
  import { default as RadioCheckboxLabel } from './RadioCheckbox/RadioCheckboxLabel';
34
34
  import { default as Breadcrumbs } from './Breadcrumbs/Breadcrumbs';
35
35
  import { default as Sidebar } from './Sidebar/Sidebar';
36
- import { ISidebarModule, IRefSidebar, IChildrenIconCompany, ICloneElementSidebar } from '../interfaces/components/Sidebar';
36
+ import { ISidebarModule, ISidebar, IRefSidebar, IChildrenIconCompany, ICloneElementSidebar } from '../interfaces/components/Sidebar';
37
37
  import { default as Collapse } from './Collapse/Collapse';
38
38
  import { default as ModalDialog } from './Modal/ModalDialog';
39
39
  import { components as SelectDropdownContainerComponents } from 'react-select';
@@ -45,7 +45,8 @@ import { IInputReguler, IInputFloatingInner, IInputNative } from '../interfaces/
45
45
  import { ConfigTable } from './Table/Table.config';
46
46
  import { default as PortalComponent } from './PortalComponent/PortalComponent';
47
47
  import { ToastContainer as AlertContainer } from 'react-toastify';
48
- import { TButtonVariants, TButtonSize } from '../interfaces/components/Button';
48
+ import { TButtonVariants, TButtonSize, IButton } from '../interfaces/components/Button';
49
+ import { TButtonIconVariants, TButtonIconSize, IButtonIcon } from '../interfaces/components/ButtonIcon';
49
50
  import { default as UploadFile } from './Upload/UploadFile';
50
51
  import { ITabsList, TTypeEventTabs } from '../interfaces/components/Tabs';
51
52
  import { default as TruncateComponent } from './TruncateComponent/TruncateComponent';
@@ -83,4 +84,4 @@ import * as utilTable from '@tanstack/react-table';
83
84
  import type * as SelectDropdownContainerType from 'react-select';
84
85
  import type * as FilterContainerType from '../interfaces/components/FilterContainer';
85
86
  export { TPublish, Button, Popover, Calendar, CalendarRange, DatePicker, DateRangePicker, FilterDate, InputFloatingInner, InputReguler, Pagination, Tabs, TabPanel, Table, TableVirtualization, ListVirtualization, SelectDropdownContainer, utilTable, Switch, ButtonIcon, Badges, Chips, RadioCheckbox, RadioCheckboxLabel, Breadcrumbs, Sidebar, Collapse, ModalDialog, SelectDropdownContainerComponents, Timeline, FilterContainer, NumberFormat, PatternFormat, DefaultCheckedChecboxIcon, DefaultRadioChecboxIcon, ConfigTable, PortalComponent, AlertContainer, UploadFile, TruncateComponent, UploadImage, Textarea, DoughnutChart, MonthYearPicker, CheckboxTable, InputNative, UploadMultipleFile, ErrorMessage, TextareaFloatingInner, Step, LineChart, Tooltip, ButtonPopover, GradientLineChart, GradientBarChart, StepIndicator, TextEditor, CollapseV2, TableSubComponent, TimeRange, TextareaInnerLabel, InputInnerLabel, };
86
- export type { ITableColumnDef, IRefPopover, IRefTableVirtualization, IRefListVirtualization, IRefSelectDropdownContainer, IChildrenSelectDropdownContainer, ISidebarModule, SelectDropdownContainerType, FilterContainerType, IInputReguler, IInputFloatingInner, ITableConfig, TButtonVariants, TButtonSize, ITabsList, TTypeEventTabs, ITextarea, IListVirtualization, ITableVirtualization, IRefSidebar, IChildrenIconCompany, ICloneElementSidebar, IDataDoughnutChart, IDataInnerLabelDoughnutChart, ISelectDropdownContainer, IDatePicker, IPopover, IInputNative, IUploadMultipleFileValue, IDataStepList, IDataLineChart, IChips, IRefButtonPopover, TGradientLineChartCustomTooltip, IGradientLineChart, IGradientLineChartDataSet, IGradientLineChartData, TGradientBarChartCustomTooltip, IGradientBarChart, IGradientBarChartDataSet, IGradientBarChartData, IFilterDateButtonList, TKeyFilterDateButtonListType, IDataGradientBarChartCustomTooltip, IDataGradientLineChartCustomTooltip, ITextEditorProps, ICollapse, ITableColumnBreakpoint, TTableRenderSubComponent, TTableHandlerRowClick, TKeyLocale, ITimeRangeListTime, ITimeRange, TTimeRangeValue, };
87
+ export type { ITableColumnDef, IRefPopover, IRefTableVirtualization, IRefListVirtualization, IRefSelectDropdownContainer, IChildrenSelectDropdownContainer, ISidebarModule, SelectDropdownContainerType, FilterContainerType, IInputReguler, IInputFloatingInner, ITableConfig, TButtonVariants, TButtonSize, ITabsList, TTypeEventTabs, ITextarea, IListVirtualization, ITableVirtualization, IRefSidebar, IChildrenIconCompany, ICloneElementSidebar, IDataDoughnutChart, IDataInnerLabelDoughnutChart, ISelectDropdownContainer, IDatePicker, IPopover, IInputNative, IUploadMultipleFileValue, IDataStepList, IDataLineChart, IChips, IRefButtonPopover, TGradientLineChartCustomTooltip, IGradientLineChart, IGradientLineChartDataSet, IGradientLineChartData, TGradientBarChartCustomTooltip, IGradientBarChart, IGradientBarChartDataSet, IGradientBarChartData, IFilterDateButtonList, TKeyFilterDateButtonListType, IDataGradientBarChartCustomTooltip, IDataGradientLineChartCustomTooltip, ITextEditorProps, ICollapse, ITableColumnBreakpoint, TTableRenderSubComponent, TTableHandlerRowClick, TKeyLocale, ITimeRangeListTime, ITimeRange, TTimeRangeValue, IButton, TButtonIconVariants, TButtonIconSize, IButtonIcon, ISidebar, };
@@ -3,7 +3,7 @@ import { ReactNode } from 'react';
3
3
  * [ID] : Tipe varian tombol ikon.
4
4
  * [EN] : Button icon variant types.
5
5
  */
6
- export type TButtonIcomVariants = 'primary-laba-blue-10' | 'primary-red-700-dsb_laba-grey-06' | 'primary-green-700-dsb_laba-grey-06' | 'filled-laba-white_laba-blue-10' | 'filled-laba-white_laba-red-05' | 'ghost-laba-blue-10' | 'ghost-red-700' | 'ghost-green-700' | 'ghost-blue-gray-100-bg_white' | 'ghost-laba-green-10' | 'nude-laba-blue-10' | 'nude-red-700' | 'nude-green-700' | 'nude-gray-500' | 'nude-laba-red-10' | 'nude-laba-red-05' | 'primary-blue-700' | 'primary-red-700' | 'secondary-blue-700' | 'secondary-red-600' | 'secondary-green-600' | 'tertiary-blue-700' | 'tertiary-red-300' | 'tertiary-red-600' | 'tertiary-gray-500' | 'secondary-red-700' | 'primary-bill-primary-600' | 'secondary-bill-secondary-800' | 'tertiary-bill-secondary-800' | 'primary-bill-red-700';
6
+ export type TButtonIconVariants = 'primary-laba-blue-10' | 'primary-red-700-dsb_laba-grey-06' | 'primary-green-700-dsb_laba-grey-06' | 'filled-laba-white_laba-blue-10' | 'filled-laba-white_laba-red-05' | 'ghost-laba-blue-10' | 'ghost-red-700' | 'ghost-green-700' | 'ghost-blue-gray-100-bg_white' | 'ghost-laba-green-10' | 'nude-laba-blue-10' | 'nude-red-700' | 'nude-green-700' | 'nude-gray-500' | 'nude-laba-red-10' | 'nude-laba-red-05' | 'primary-blue-700' | 'primary-red-700' | 'secondary-blue-700' | 'secondary-red-600' | 'secondary-green-600' | 'tertiary-blue-700' | 'tertiary-red-300' | 'tertiary-red-600' | 'tertiary-gray-500' | 'secondary-red-700' | 'primary-bill-primary-600' | 'secondary-bill-secondary-800' | 'tertiary-bill-secondary-800' | 'primary-bill-red-700';
7
7
  /**
8
8
  * [ID] : Tipe ukuran tombol ikon.
9
9
  * [EN] : Button icon size type.
@@ -23,7 +23,7 @@ export interface IButtonIcon extends React.ButtonHTMLAttributes<HTMLButtonElemen
23
23
  * [ID] : Varian gaya tombol (opsional).
24
24
  * [EN] : Button style variant (optional).
25
25
  */
26
- variants?: TButtonIcomVariants;
26
+ variants?: TButtonIconVariants;
27
27
  /**
28
28
  * [ID] : Konten anak (biasanya ikon).
29
29
  * [EN] : Child content (usually icon).
@@ -42,7 +42,7 @@ export interface IRadioCheckboxLabel extends InputHTMLAttributes<HTMLInputElemen
42
42
  * [ID] : Varian gaya (opsional).
43
43
  * [EN] : Style variant (optional).
44
44
  */
45
- variants?: 'blue-50' | 'laba-blue-01' | 'bill-secondary-50';
45
+ variants?: 'blue-50' | 'laba-blue-01' | 'bill-secondary-50' | 'transparent-text_orange-700' | 'transparent-text_green-700';
46
46
  /**
47
47
  * [ID] : Label input.
48
48
  * [EN] : Input label.
@@ -3,7 +3,7 @@ import { default as React } from 'react';
3
3
  * [ID] : Tipe varian sidebar.
4
4
  * [EN] : Sidebar variant type.
5
5
  */
6
- export type TVariantSidebarType = 'payhere-brand-base-white' | 'payhere-brand-base-transparent' | 'laba-white' | 'lpd-brand-base-transparent' | 'lpd-brand-base-transparent-responsive' | 'lpd-brand-base-white' | 'lpd-brand-base-white-responsive' | 'bill-brand-base-white' | 'bill-brand-base-white-responsive';
6
+ export type TVariantSidebarType = 'payhere-brand-base-white' | 'payhere-brand-base-transparent' | 'payhere-brand-indigo-900-transparent' | 'payhere-brand-blue-gray-900-transparent' | 'laba-white' | 'lpd-brand-base-transparent' | 'lpd-brand-base-transparent-responsive' | 'lpd-brand-base-white' | 'lpd-brand-base-white-responsive' | 'bill-brand-base' | 'bill-brand-base-responsive';
7
7
  /**
8
8
  * [ID] : Interface untuk modul sidebar.
9
9
  * [EN] : Interface for sidebar module.
@@ -4,7 +4,7 @@ import { TKeyLocale } from '../Calendar';
4
4
  * [ID] : Tipe varian tab.
5
5
  * [EN] : Tab variant type.
6
6
  */
7
- export type TVariantTabs = 'original-laba-blue-10' | 'container-payhere-brand-base' | 'container-payhere-brand-base-bg_white' | 'container-laba-blue-10' | 'container-laba-blue-10-bg_white' | 'original-bill-secondary-800' | 'container-bill-secondary-800';
7
+ export type TVariantTabs = 'original-laba-blue-10' | 'container-payhere-brand-base' | 'container-payhere-brand-base-bg_white' | 'container-laba-blue-10' | 'container-laba-blue-10-bg_white' | 'original-bill-secondary-800' | 'container-bill-secondary-800' | 'original-payhere-primary-700';
8
8
  /**
9
9
  * [ID] : Tipe ukuran tab.
10
10
  * [EN] : Tab size type.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "1mpacto-react-ui",
3
3
  "private": false,
4
- "version": "2.0.8",
4
+ "version": "2.0.9-1ms",
5
5
  "type": "module",
6
6
  "engines": {
7
7
  "node": ">=20.19.4",
@@ -16,7 +16,7 @@
16
16
  "process:transformStyle": "npm run postProcess:fontfamily && npm run transform:style",
17
17
  "process:copyStyle": "npm run copy:mixin-scss && npm run copy:toastify-css",
18
18
  "build": "tsc -b && vite build && npm run build:css && npm run build:fontfamily && npm run process:copyStyle && npm run process:transformStyle",
19
- "build:css": "tailwindcss -i ./src/styles/index.scss -o ./dist/assets/core.css --minify",
19
+ "build:css": "sass --load-path=node_modules ./src/styles/index.scss ./dist/assets/core.css --no-source-map --style=compressed",
20
20
  "build:fontfamily": "sass ./src/styles/fontfamily.scss ./dist/assets/fontfamily.css --no-source-map --style=compressed",
21
21
  "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
22
22
  "preview": "vite preview",
@@ -44,7 +44,7 @@
44
44
  "@typescript-eslint/eslint-plugin": "^8.48.1",
45
45
  "@typescript-eslint/parser": "^8.48.1",
46
46
  "@vitejs/plugin-react-swc": "^3.9.0",
47
- "autoprefixer": "^10.4.19",
47
+ "1mpacto-sass": "^0.0.6",
48
48
  "eslint": "^9.32.0",
49
49
  "eslint-config-prettier": "^10.1.8",
50
50
  "eslint-plugin-import": "^2.32.0",
@@ -57,13 +57,11 @@
57
57
  "globals": "^16.3.0",
58
58
  "husky": "^9.1.7",
59
59
  "lint-staged": "^16.2.7",
60
- "postcss": "^8.5.2",
61
60
  "prettier": "^3.7.4",
62
61
  "react": "^19.1.1",
63
62
  "react-dom": "^19.1.1",
64
63
  "sass": "^1.94.2",
65
64
  "storybook": "^10.1.4",
66
- "tailwindcss": "^3.4.4",
67
65
  "ts-node": "^10.9.2",
68
66
  "typescript": "~5.9.3",
69
67
  "vite": "^6.3.5",
@@ -129,4 +127,4 @@
129
127
  "react-virtuoso": "^4.16.1",
130
128
  "tinymce": "^8.2.2"
131
129
  }
132
- }
130
+ }