@foxford/ui 2.8.0-beta-956b546-20230822 → 2.8.0-beta-1ccf13e-20230822

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
@@ -349,6 +349,24 @@ interface InputField extends Color, Color<'placeholderColor'>, ResponsiveNamedPr
349
349
  required?: boolean | undefined;
350
350
  }
351
351
 
352
+ /**
353
+ * Converts HEX color code to RGB(A) string
354
+ *
355
+ * @export
356
+ * @param {string} HEX color with length of either 3 or 6 (can be with or without '#' sign)
357
+ * @param {Number} alpha channel which specifies the opacity of the color
358
+ * @returns {String} RGB(A) string
359
+ */
360
+ declare function hexToRgbA(hex: string, alpha?: number): string;
361
+ /**
362
+ * Checks if value is HEX color
363
+ *
364
+ * @export
365
+ * @param {string} HEX color with length of either 3 or 6 (can be with or without '#' sign)
366
+ * @returns {boolean}
367
+ */
368
+ declare function isHex(hex: string): boolean;
369
+
352
370
  declare type StyledComponentProps = {
353
371
  theme?: {
354
372
  breakpoints?: typeof defaultTheme.breakpoints;
@@ -2395,4 +2413,4 @@ declare namespace Select {
2395
2413
  var displayName: string;
2396
2414
  }
2397
2415
 
2398
- export { ActionBtn, Alert, Amount, Anchor, Arrow, Avatar, Badge, BaseProps, Button, COUNTRY_DATA, CURRENCY_MAP, Checkbox, ColorNames, Container, ContextMenu, CurrencyCodes, DEFAULT_MASK, FontWeight, HEX, INITIAL_MASK, Icon, Input, InputField, Modal, Nullable, Paper, Progress, RGB, RGBA, Radio, withThemeScrollable as Scrollable, Section, Select, Separator, Spacer, Spinner, Switcher, Tabs, Tag, Text, Textarea, ThemeMode, ThemeName, ThemePreset, ThemeProvider, Tooltip, adultDarkTheme, adultLightTheme, babyDarkTheme, babyLightTheme, baseInputStyle, buildMediaQuery, color, defaultIcons, desktopFirst, mobileFirst, motherDarkTheme, motherLightTheme, property, responsiveNamedProperty, responsiveProperty, screenL, screenM, screenMaxL, screenMaxM, screenMaxS, screenMaxXl, screenMaxXs, screenMaxXxs, screenMinL, screenMinM, screenMinS, screenMinXl, screenMinXs, screenRetina, screenS, screenXl, screenXs, teenDarkTheme, teenLightTheme, defaultTheme as theme, vAlign };
2416
+ export { ActionBtn, Alert, Amount, Anchor, Arrow, Avatar, Badge, BaseProps, Button, COUNTRY_DATA, CURRENCY_MAP, Checkbox, ColorNames, Container, ContextMenu, CurrencyCodes, DEFAULT_MASK, FontWeight, HEX, INITIAL_MASK, Icon, Input, InputField, Modal, Nullable, Paper, Progress, RGB, RGBA, Radio, withThemeScrollable as Scrollable, Section, Select, Separator, Spacer, Spinner, Switcher, Tabs, Tag, Text, Textarea, ThemeMode, ThemeName, ThemePreset, ThemeProvider, Tooltip, adultDarkTheme, adultLightTheme, babyDarkTheme, babyLightTheme, baseInputStyle, buildMediaQuery, color, defaultIcons, desktopFirst, hexToRgbA, isHex, mobileFirst, motherDarkTheme, motherLightTheme, property, responsiveNamedProperty, responsiveProperty, screenL, screenM, screenMaxL, screenMaxM, screenMaxS, screenMaxXl, screenMaxXs, screenMaxXxs, screenMinL, screenMinM, screenMinS, screenMinXl, screenMinXs, screenRetina, screenS, screenXl, screenXs, teenDarkTheme, teenLightTheme, defaultTheme as theme, vAlign };