gantri-components 2.119.3 → 2.120.0
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.
- package/dist/components/aspect-ratio/aspect-ratio.styles.d.ts +6 -3
- package/dist/components/badge/badge.styles.d.ts +3 -1
- package/dist/components/box/box.adapters.d.ts +1 -0
- package/dist/components/box/box.styles.d.ts +3 -1
- package/dist/components/breadcrumbs/breadcrumbs.styles.d.ts +6 -1
- package/dist/components/button/button.styles.d.ts +5 -2
- package/dist/components/button-menu/button-menu.styles.d.ts +2 -1
- package/dist/components/cell/cell.styles.d.ts +4 -1
- package/dist/components/checkbox/checkbox.styles.d.ts +13 -3
- package/dist/components/circular-progress/circular-progress.styles.d.ts +4 -1
- package/dist/components/color-picker/color-picker.styles.d.ts +3 -2
- package/dist/components/color-picker/components/color-picker-item/color-picker-item.styles.d.ts +1131 -2
- package/dist/components/confirmation-modal/confirmationModal.types.d.ts +2 -1
- package/dist/components/dropdown/dropdown.styles.d.ts +23 -4
- package/dist/components/dropdown-menu/dropdown-menu.styles.d.ts +16 -3
- package/dist/components/filter-button/filter-button.styles.d.ts +2 -1
- package/dist/components/flex/flex.styles.d.ts +5 -1
- package/dist/components/grid/grid.styles.d.ts +4 -1
- package/dist/components/icon/icon.styles.d.ts +12 -1
- package/dist/components/image/image.styles.d.ts +8 -4
- package/dist/components/image/image.types.d.ts +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/input-group/input-group.styles.d.ts +7 -2
- package/dist/components/line/line.styles.d.ts +3 -1
- package/dist/components/linear-progress/linear-progress.styles.d.ts +8 -2
- package/dist/components/max-width/max-width.styles.d.ts +9 -2
- package/dist/components/modal/modal.styles.d.ts +33 -9
- package/dist/components/multi-select-list/multi-select-list.styles.d.ts +4 -1
- package/dist/components/overlay/overlay.styles.d.ts +8 -4
- package/dist/components/pills/components/pill/pill.styles.d.ts +4 -1
- package/dist/components/pills/pills.styles.d.ts +2 -1
- package/dist/components/quantity/quantity.styles.d.ts +2 -1
- package/dist/components/radio/radio.styles.d.ts +13 -5
- package/dist/components/radio-list/radio-list.styles.d.ts +6 -1
- package/dist/components/search-field/search-field.styles.d.ts +3 -2
- package/dist/components/slider/slider.styles.styles.d.ts +5 -3
- package/dist/components/table/components/custom-columns-toggle/components/user-preferences-toggle/components/preference-item-drag-handle/preference-item-drag-handle.styles.d.ts +2 -1
- package/dist/components/table/components/custom-columns-toggle/components/user-preferences-toggle/components/preference-item-overlay/preference-item-overlay.styles.d.ts +2 -1
- package/dist/components/table/components/custom-columns-toggle/components/user-preferences-toggle/components/sortable-preference-item/sortable-preference-item.styles.d.ts +2 -1
- package/dist/components/table/components/custom-columns-toggle/components/user-preferences-toggle/components/user-preferences-modal/user-preferences-modal.styles.d.ts +10 -5
- package/dist/components/table/components/custom-columns-toggle/components/user-preferences-toggle/user-preferences-toggle.styles.d.ts +4 -1
- package/dist/components/table/components/custom-columns-toggle/custom-columns-toggle.styles.d.ts +4 -1
- package/dist/components/table/components/table-actions-wrapper/components/clear-selected-rows/clear-selected-rows.styles.d.ts +6 -1
- package/dist/components/table/components/table-actions-wrapper/components/paging/paging.styles.d.ts +5 -2
- package/dist/components/table/components/table-actions-wrapper/components/search/search.styles.d.ts +5 -1
- package/dist/components/table/components/table-actions-wrapper/components/sort/sort.styles.d.ts +4 -1
- package/dist/components/table/components/table-actions-wrapper/table-actions-wrapper.styles.d.ts +6 -1
- package/dist/components/table/components/table-header/table-header.styles.d.ts +8 -2
- package/dist/components/table/components/table-row/helpers/get-row-component-props/get-row-component-props.d.ts +24 -24
- package/dist/components/table/components/table-row-cells/components/selectable-row-cell-wrapper/selectable-row-cell-wrapper.styles.d.ts +4 -1
- package/dist/components/table/components/table-row-cells/table-row-cells.styles.d.ts +3 -1
- package/dist/components/table/components/table-row-overlay/table-row-overlay.styles.d.ts +2 -1
- package/dist/components/table/table.styles.d.ts +19 -8
- package/dist/components/tabs/components/tab/tab.styled.d.ts +5 -1
- package/dist/components/tabs/components/tab-panel/tab-panel.styles.d.ts +2 -1
- package/dist/components/tabs/components/tabs-list/tabs-list.styles.d.ts +9 -2
- package/dist/components/text-area/text-area.styles.d.ts +6 -4
- package/dist/components/text-field/text-field.styles.d.ts +5 -3
- package/dist/components/toggle/toggle.styles.styles.d.ts +10 -3
- package/dist/components/tooltip/tooltip.styles.d.ts +8 -1
- package/dist/components/typography/typography.styles.d.ts +7 -2
- package/dist/components/video/video.presets.d.ts +1 -2
- package/dist/components/video/video.styles.d.ts +18 -3
- package/dist/components/video/video.types.d.ts +24 -23
- package/dist/helpers/layout.helpers.d.ts +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/styles/animations.d.ts +1 -1
- package/dist/styles/base.d.ts +6 -1
- package/dist/styles/hooks/use-theme-defaults.d.ts +2 -1
- package/dist/styles/theme.d.ts +40 -40
- package/package.json +6 -6
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const fadeIn:
|
|
1
|
+
export declare const fadeIn: import("styled-components/dist/models/Keyframes").default;
|
package/dist/styles/base.d.ts
CHANGED
|
@@ -1 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const GlobalStyle: import("react").NamedExoticComponent<import("styled-components").ExecutionProps & {
|
|
3
|
+
boldFamily?: string | undefined;
|
|
4
|
+
defaultFamily?: string | undefined;
|
|
5
|
+
includeFonts?: boolean | undefined;
|
|
6
|
+
}>;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { DefaultTheme } from 'styled-components';
|
|
2
|
+
export declare const useThemeDefaults: () => DefaultTheme['defaults'];
|
package/dist/styles/theme.d.ts
CHANGED
|
@@ -218,52 +218,52 @@ export declare const getThemeProductColor: (color: ProductColorCode, currentThem
|
|
|
218
218
|
export declare const getThemeSpacing: (property: BoxDimension | string, currentTheme?: DefaultTheme) => string;
|
|
219
219
|
export declare const getButtonsColors: (variant: ButtonVariant, theme?: DefaultTheme) => {
|
|
220
220
|
background: string;
|
|
221
|
-
backgroundActive:
|
|
221
|
+
backgroundActive: string;
|
|
222
222
|
backgroundDisabled: string;
|
|
223
|
-
backgroundHover:
|
|
224
|
-
border:
|
|
225
|
-
borderActive:
|
|
226
|
-
borderDisabled:
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
223
|
+
backgroundHover: string;
|
|
224
|
+
border: string;
|
|
225
|
+
borderActive: string;
|
|
226
|
+
borderDisabled: string;
|
|
227
|
+
borderHover: string;
|
|
228
|
+
borderProcessing: string;
|
|
229
|
+
foreground: string;
|
|
230
|
+
foregroundActive: string;
|
|
231
|
+
foregroundDisabled: string;
|
|
232
|
+
foregroundHover: string;
|
|
233
|
+
processingIconColor: string;
|
|
233
234
|
processingIconColorOpaque: string;
|
|
234
|
-
borderHover?: undefined;
|
|
235
235
|
} | {
|
|
236
|
-
background:
|
|
237
|
-
backgroundActive:
|
|
238
|
-
backgroundDisabled:
|
|
239
|
-
backgroundHover:
|
|
240
|
-
border:
|
|
241
|
-
borderActive:
|
|
242
|
-
borderDisabled:
|
|
243
|
-
|
|
244
|
-
foreground:
|
|
245
|
-
foregroundActive:
|
|
246
|
-
foregroundDisabled:
|
|
247
|
-
foregroundHover:
|
|
248
|
-
processingIconColor:
|
|
236
|
+
background: string;
|
|
237
|
+
backgroundActive: string;
|
|
238
|
+
backgroundDisabled: string;
|
|
239
|
+
backgroundHover: string;
|
|
240
|
+
border: string;
|
|
241
|
+
borderActive: string;
|
|
242
|
+
borderDisabled: string;
|
|
243
|
+
borderProcessing: string;
|
|
244
|
+
foreground: string;
|
|
245
|
+
foregroundActive: string;
|
|
246
|
+
foregroundDisabled: string;
|
|
247
|
+
foregroundHover: string;
|
|
248
|
+
processingIconColor: string;
|
|
249
249
|
processingIconColorOpaque: string;
|
|
250
|
-
|
|
250
|
+
borderHover?: undefined;
|
|
251
251
|
} | {
|
|
252
|
-
background:
|
|
253
|
-
backgroundActive:
|
|
254
|
-
backgroundDisabled:
|
|
255
|
-
backgroundHover:
|
|
256
|
-
border:
|
|
257
|
-
borderActive:
|
|
258
|
-
borderDisabled:
|
|
259
|
-
borderHover:
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
processingIconColor: any;
|
|
252
|
+
background: string;
|
|
253
|
+
backgroundActive: string;
|
|
254
|
+
backgroundDisabled: string;
|
|
255
|
+
backgroundHover: string;
|
|
256
|
+
border: string;
|
|
257
|
+
borderActive: string;
|
|
258
|
+
borderDisabled: string;
|
|
259
|
+
borderHover: string;
|
|
260
|
+
foreground: string;
|
|
261
|
+
foregroundActive: string;
|
|
262
|
+
foregroundDisabled: string;
|
|
263
|
+
foregroundHover: string;
|
|
264
|
+
processingIconColor: string;
|
|
266
265
|
processingIconColorOpaque: string;
|
|
266
|
+
borderProcessing?: undefined;
|
|
267
267
|
};
|
|
268
268
|
export declare const createTheme: (config: {
|
|
269
269
|
defaults?: Partial<DefaultTheme['defaults']>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gantri-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.120.0",
|
|
4
4
|
"main": "dist/index.cjs.js",
|
|
5
5
|
"module": "dist/index.esm.js",
|
|
6
6
|
"umd": "dist/index.umd.js",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"peerDependencies": {
|
|
29
29
|
"@tanstack/react-table": "^8.9.2",
|
|
30
30
|
"formik": "^2.4.6",
|
|
31
|
-
"react": "^
|
|
32
|
-
"react-dom": "^
|
|
31
|
+
"react": "^18.3.1",
|
|
32
|
+
"react-dom": "^18.3.1",
|
|
33
33
|
"styled-components": "^6.1.11",
|
|
34
34
|
"yup": "^0.32.11"
|
|
35
35
|
},
|
|
@@ -123,20 +123,20 @@
|
|
|
123
123
|
"rollup-plugin-postcss": "^4.0.2",
|
|
124
124
|
"rollup-plugin-terser": "^7.0.2",
|
|
125
125
|
"rollup-plugin-typescript2": "^0.31.2",
|
|
126
|
-
"styled-components": "^
|
|
126
|
+
"styled-components": "^6.1.11",
|
|
127
127
|
"ts-jest": "^28.0.7",
|
|
128
128
|
"typescript": "^4.9.5",
|
|
129
129
|
"yup": "^0.32.11"
|
|
130
130
|
},
|
|
131
131
|
"dependencies": {
|
|
132
|
-
"@cloudinary/url-gen": "^1.
|
|
132
|
+
"@cloudinary/url-gen": "^1.19.0",
|
|
133
133
|
"@dnd-kit/core": "^6.0.8",
|
|
134
134
|
"@dnd-kit/modifiers": "^6.0.1",
|
|
135
135
|
"@dnd-kit/sortable": "^7.0.2",
|
|
136
136
|
"@dnd-kit/utilities": "^3.2.1",
|
|
137
137
|
"@tanstack/react-table": "^8.9.2",
|
|
138
138
|
"@types/lodash": "^4.14.182",
|
|
139
|
-
"@types/react-dom": "^
|
|
139
|
+
"@types/react-dom": "^18.3.0",
|
|
140
140
|
"eslint-plugin-unused-imports": "^3.1.0",
|
|
141
141
|
"formik": "^2.4.6",
|
|
142
142
|
"intersection-observer": "^0.12.2",
|