design-system-silkhaus 3.8.0-beta.ST-1134.1 → 3.8.0-beta.ST-1134.2

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/index.d.ts CHANGED
@@ -2,9 +2,9 @@ import { CalendarDayShape } from 'react-dates';
2
2
  import { ClassProp } from 'class-variance-authority/types';
3
3
  import { ClassValue } from 'clsx';
4
4
  import { default as default_2 } from 'react';
5
- import { default as default_3 } from '../../tailwind.config';
6
5
  import { ElementType } from 'react';
7
6
  import { FC } from 'react';
7
+ import { fontSizeConfig } from '../../tailwind.config';
8
8
  import { ForwardRefExoticComponent } from 'react';
9
9
  import { HTMLAttributes } from 'react';
10
10
  import { JSX as JSX_2 } from 'react/jsx-runtime';
@@ -1449,7 +1449,7 @@ export declare type TextProps<T extends ElementType = 'div'> = React.PropsWithCh
1449
1449
  isResponsive?: boolean;
1450
1450
  }> & React.ComponentPropsWithoutRef<T>;
1451
1451
 
1452
- declare type TextVariant = keyof typeof default_3.theme.extend.fontSize;
1452
+ declare type TextVariant = keyof typeof fontSizeConfig;
1453
1453
 
1454
1454
  export declare const ThreeDotsCircleIcon: FC<{
1455
1455
  className?: string;
@@ -9,7 +9,8 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
9
9
  return to.concat(ar || Array.prototype.slice.call(from));
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- var fontSizeConfig = {
12
+ exports.fontSizeConfig = void 0;
13
+ exports.fontSizeConfig = {
13
14
  xLargeHeroTitleRegular: [
14
15
  'var(--xLargeHero-TitleRegular-font-size)',
15
16
  {
@@ -722,7 +723,7 @@ var fontSizeConfig = {
722
723
  },
723
724
  ],
724
725
  };
725
- var fontSizeClasses = Object.keys(fontSizeConfig).map(function (key) { return "ds-text-".concat(key); });
726
+ var fontSizeClasses = Object.keys(exports.fontSizeConfig).map(function (key) { return "ds-text-".concat(key); });
726
727
  // pre-compile all possible text variants for <Text /> component
727
728
  var fontSizesSafeList = __spreadArray(__spreadArray(__spreadArray([], fontSizeClasses, true), fontSizeClasses.map(function (className) { return "ds-tablet:".concat(className); }), true), fontSizeClasses.map(function (className) { return "ds-desktop:".concat(className); }), true);
728
729
  /** @type {import('tailwindcss').Config} */
@@ -825,7 +826,7 @@ exports.default = {
825
826
  default: 'var(--font-family-default)',
826
827
  hero: 'var(--font-family-hero)',
827
828
  },
828
- fontSize: fontSizeConfig,
829
+ fontSize: exports.fontSizeConfig,
829
830
  boxShadow: {
830
831
  DEFAULT: 'var(--shadow-default)',
831
832
  sm: '0px 1px 4px 0px rgba(0, 0, 0, 0.16)',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "design-system-silkhaus",
3
3
  "private": false,
4
- "version": "3.8.0-beta.ST-1134.1",
4
+ "version": "3.8.0-beta.ST-1134.2",
5
5
  "description": "Design system for Silkhaus built with Typescript, React and Tailwind",
6
6
  "author": "silkhaus",
7
7
  "license": "MIT",