@foxford/ui 2.9.0 → 2.9.1-beta-edfc6c0-20230906

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/dts/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import * as styled_components from 'styled-components';
3
- import { DefaultTheme, FlattenSimpleInterpolation, CSSObject, SimpleInterpolation, css } from 'styled-components';
3
+ import { DefaultTheme, FlattenSimpleInterpolation, CSSObject, Interpolation, ThemeProps, SimpleInterpolation, css } from 'styled-components';
4
4
  import { Link, NavLink } from 'react-router-dom';
5
5
  import * as react from 'react';
6
6
  import { Component, ForwardRefExoticComponent, PropsWithoutRef, RefAttributes, PureComponent } from 'react';
@@ -1354,67 +1354,67 @@ declare type MediaQueryParams = {
1354
1354
  /**
1355
1355
  * @return `@media screen and (min-width: 320px) and (max-width: 374px) { ...args }`
1356
1356
  */
1357
- declare const screenXs: (params?: MediaQueryParams) => (args_0: TemplateStringsArray | CSSObject, ...args_1: SimpleInterpolation[]) => (props: StyledComponentProps) => styled_components.FlattenSimpleInterpolation;
1357
+ declare const screenXs: (params?: MediaQueryParams) => <T extends object>(args_0: TemplateStringsArray | CSSObject, ...args_1: Interpolation<T & ThemeProps<DefaultTheme>>[]) => (props: StyledComponentProps) => styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<T, DefaultTheme>>;
1358
1358
  /**
1359
1359
  * @return `@media screen and (min-width: 375px) and (max-width: 767px) { ...args }`
1360
1360
  */
1361
- declare const screenS: (params?: MediaQueryParams) => (args_0: TemplateStringsArray | CSSObject, ...args_1: SimpleInterpolation[]) => (props: StyledComponentProps) => styled_components.FlattenSimpleInterpolation;
1361
+ declare const screenS: (params?: MediaQueryParams) => <T extends object>(args_0: TemplateStringsArray | CSSObject, ...args_1: Interpolation<T & ThemeProps<DefaultTheme>>[]) => (props: StyledComponentProps) => styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<T, DefaultTheme>>;
1362
1362
  /**
1363
1363
  * @return `@media screen and (min-width: 768) and (max-width: 1023px) { ...args }`
1364
1364
  */
1365
- declare const screenM: (params?: MediaQueryParams) => (args_0: TemplateStringsArray | CSSObject, ...args_1: SimpleInterpolation[]) => (props: StyledComponentProps) => styled_components.FlattenSimpleInterpolation;
1365
+ declare const screenM: (params?: MediaQueryParams) => <T extends object>(args_0: TemplateStringsArray | CSSObject, ...args_1: Interpolation<T & ThemeProps<DefaultTheme>>[]) => (props: StyledComponentProps) => styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<T, DefaultTheme>>;
1366
1366
  /**
1367
1367
  * @return `@media screen and (min-width: 1024px) and (max-width: 1279px) { ...args }`
1368
1368
  */
1369
- declare const screenL: (params?: MediaQueryParams) => (args_0: TemplateStringsArray | CSSObject, ...args_1: SimpleInterpolation[]) => (props: StyledComponentProps) => styled_components.FlattenSimpleInterpolation;
1369
+ declare const screenL: (params?: MediaQueryParams) => <T extends object>(args_0: TemplateStringsArray | CSSObject, ...args_1: Interpolation<T & ThemeProps<DefaultTheme>>[]) => (props: StyledComponentProps) => styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<T, DefaultTheme>>;
1370
1370
  /**
1371
1371
  * @return `@media screen and (min-width: 1280px) and (max-width: 1439px) { ...args }`
1372
1372
  */
1373
- declare const screenXl: (params?: MediaQueryParams) => (args_0: TemplateStringsArray | CSSObject, ...args_1: SimpleInterpolation[]) => (props: StyledComponentProps) => styled_components.FlattenSimpleInterpolation;
1373
+ declare const screenXl: (params?: MediaQueryParams) => <T extends object>(args_0: TemplateStringsArray | CSSObject, ...args_1: Interpolation<T & ThemeProps<DefaultTheme>>[]) => (props: StyledComponentProps) => styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<T, DefaultTheme>>;
1374
1374
  /**
1375
1375
  * @return `@media screen and (max-width: 319px) { ...args }`
1376
1376
  */
1377
- declare const screenMaxXxs: (params?: MediaQueryParams) => (args_0: TemplateStringsArray | CSSObject, ...args_1: SimpleInterpolation[]) => (props: StyledComponentProps) => styled_components.FlattenSimpleInterpolation;
1377
+ declare const screenMaxXxs: (params?: MediaQueryParams) => <T extends object>(args_0: TemplateStringsArray | CSSObject, ...args_1: Interpolation<T & ThemeProps<DefaultTheme>>[]) => (props: StyledComponentProps) => styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<T, DefaultTheme>>;
1378
1378
  /**
1379
1379
  * @return `@media screen and (max-width: 374px) { ...args }`
1380
1380
  */
1381
- declare const screenMaxXs: (params?: MediaQueryParams) => (args_0: TemplateStringsArray | CSSObject, ...args_1: SimpleInterpolation[]) => (props: StyledComponentProps) => styled_components.FlattenSimpleInterpolation;
1381
+ declare const screenMaxXs: (params?: MediaQueryParams) => <T extends object>(args_0: TemplateStringsArray | CSSObject, ...args_1: Interpolation<T & ThemeProps<DefaultTheme>>[]) => (props: StyledComponentProps) => styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<T, DefaultTheme>>;
1382
1382
  /**
1383
1383
  * @return `@media screen and (min-width: 375px) { ...args }`
1384
1384
  */
1385
- declare const screenMinXs: (params?: MediaQueryParams) => (args_0: TemplateStringsArray | CSSObject, ...args_1: SimpleInterpolation[]) => (props: StyledComponentProps) => styled_components.FlattenSimpleInterpolation;
1385
+ declare const screenMinXs: (params?: MediaQueryParams) => <T extends object>(args_0: TemplateStringsArray | CSSObject, ...args_1: Interpolation<T & ThemeProps<DefaultTheme>>[]) => (props: StyledComponentProps) => styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<T, DefaultTheme>>;
1386
1386
  /**
1387
1387
  * @return `@media screen and (max-width: 767px) { ...args }`
1388
1388
  */
1389
- declare const screenMaxS: (params?: MediaQueryParams) => (args_0: TemplateStringsArray | CSSObject, ...args_1: SimpleInterpolation[]) => (props: StyledComponentProps) => styled_components.FlattenSimpleInterpolation;
1389
+ declare const screenMaxS: (params?: MediaQueryParams) => <T extends object>(args_0: TemplateStringsArray | CSSObject, ...args_1: Interpolation<T & ThemeProps<DefaultTheme>>[]) => (props: StyledComponentProps) => styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<T, DefaultTheme>>;
1390
1390
  /**
1391
1391
  * @return `@media screen and (min-width: 768px) { ...args }`
1392
1392
  */
1393
- declare const screenMinS: (params?: MediaQueryParams) => (args_0: TemplateStringsArray | CSSObject, ...args_1: SimpleInterpolation[]) => (props: StyledComponentProps) => styled_components.FlattenSimpleInterpolation;
1393
+ declare const screenMinS: (params?: MediaQueryParams) => <T extends object>(args_0: TemplateStringsArray | CSSObject, ...args_1: Interpolation<T & ThemeProps<DefaultTheme>>[]) => (props: StyledComponentProps) => styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<T, DefaultTheme>>;
1394
1394
  /**
1395
1395
  * @return `@media screen and (max-width: 1023px) { ...args }`
1396
1396
  */
1397
- declare const screenMaxM: (params?: MediaQueryParams) => (args_0: TemplateStringsArray | CSSObject, ...args_1: SimpleInterpolation[]) => (props: StyledComponentProps) => styled_components.FlattenSimpleInterpolation;
1397
+ declare const screenMaxM: (params?: MediaQueryParams) => <T extends object>(args_0: TemplateStringsArray | CSSObject, ...args_1: Interpolation<T & ThemeProps<DefaultTheme>>[]) => (props: StyledComponentProps) => styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<T, DefaultTheme>>;
1398
1398
  /**
1399
1399
  * @return `@media screen and (min-width: 1024px) { ...args }`
1400
1400
  */
1401
- declare const screenMinM: (params?: MediaQueryParams) => (args_0: TemplateStringsArray | CSSObject, ...args_1: SimpleInterpolation[]) => (props: StyledComponentProps) => styled_components.FlattenSimpleInterpolation;
1401
+ declare const screenMinM: (params?: MediaQueryParams) => <T extends object>(args_0: TemplateStringsArray | CSSObject, ...args_1: Interpolation<T & ThemeProps<DefaultTheme>>[]) => (props: StyledComponentProps) => styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<T, DefaultTheme>>;
1402
1402
  /**
1403
1403
  * @return `@media screen and (max-width: 1279px) { ...args }`
1404
1404
  */
1405
- declare const screenMaxL: (params?: MediaQueryParams) => (args_0: TemplateStringsArray | CSSObject, ...args_1: SimpleInterpolation[]) => (props: StyledComponentProps) => styled_components.FlattenSimpleInterpolation;
1405
+ declare const screenMaxL: (params?: MediaQueryParams) => <T extends object>(args_0: TemplateStringsArray | CSSObject, ...args_1: Interpolation<T & ThemeProps<DefaultTheme>>[]) => (props: StyledComponentProps) => styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<T, DefaultTheme>>;
1406
1406
  /**
1407
1407
  * @return `@media screen and (min-width: 1280px) { ...args }`
1408
1408
  */
1409
- declare const screenMinL: (params?: MediaQueryParams) => (args_0: TemplateStringsArray | CSSObject, ...args_1: SimpleInterpolation[]) => (props: StyledComponentProps) => styled_components.FlattenSimpleInterpolation;
1409
+ declare const screenMinL: (params?: MediaQueryParams) => <T extends object>(args_0: TemplateStringsArray | CSSObject, ...args_1: Interpolation<T & ThemeProps<DefaultTheme>>[]) => (props: StyledComponentProps) => styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<T, DefaultTheme>>;
1410
1410
  /**
1411
1411
  * @return `@media screen and (max-width: 1439px) { ...args }`
1412
1412
  */
1413
- declare const screenMaxXl: (params?: MediaQueryParams) => (args_0: TemplateStringsArray | CSSObject, ...args_1: SimpleInterpolation[]) => (props: StyledComponentProps) => styled_components.FlattenSimpleInterpolation;
1413
+ declare const screenMaxXl: (params?: MediaQueryParams) => <T extends object>(args_0: TemplateStringsArray | CSSObject, ...args_1: Interpolation<T & ThemeProps<DefaultTheme>>[]) => (props: StyledComponentProps) => styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<T, DefaultTheme>>;
1414
1414
  /**
1415
1415
  * @return `@media screen and (min-width: 1440px) { ...args }`
1416
1416
  */
1417
- declare const screenMinXl: (params?: MediaQueryParams) => (args_0: TemplateStringsArray | CSSObject, ...args_1: SimpleInterpolation[]) => (props: StyledComponentProps) => styled_components.FlattenSimpleInterpolation;
1417
+ declare const screenMinXl: (params?: MediaQueryParams) => <T extends object>(args_0: TemplateStringsArray | CSSObject, ...args_1: Interpolation<T & ThemeProps<DefaultTheme>>[]) => (props: StyledComponentProps) => styled_components.FlattenInterpolation<styled_components.ThemedStyledProps<T, DefaultTheme>>;
1418
1418
  /**
1419
1419
  * @return `@media -webkit-min-device-pixel-ratio: 2 and (min-resolution: 192dpi) { ...args }`
1420
1420
  */