@dss-kit/ui-kit 0.0.12

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.
Files changed (77) hide show
  1. package/README.md +19 -0
  2. package/dist/components/controls/IconButton/IconButton.d.ts +3 -0
  3. package/dist/components/controls/IconButton/IconButton.d.ts.map +1 -0
  4. package/dist/components/controls/IconButton/IconButton.stories.d.ts +8 -0
  5. package/dist/components/controls/IconButton/IconButton.stories.d.ts.map +1 -0
  6. package/dist/components/controls/IconButton/IconButton.types.d.ts +13 -0
  7. package/dist/components/controls/IconButton/IconButton.types.d.ts.map +1 -0
  8. package/dist/components/controls/IconButton/index.d.ts +3 -0
  9. package/dist/components/controls/IconButton/index.d.ts.map +1 -0
  10. package/dist/components/controls/index.d.ts +2 -0
  11. package/dist/components/controls/index.d.ts.map +1 -0
  12. package/dist/components/index.d.ts +3 -0
  13. package/dist/components/index.d.ts.map +1 -0
  14. package/dist/components/typography/Text/Text.d.ts +3 -0
  15. package/dist/components/typography/Text/Text.d.ts.map +1 -0
  16. package/dist/components/typography/Text/Text.stories.d.ts +7 -0
  17. package/dist/components/typography/Text/Text.stories.d.ts.map +1 -0
  18. package/dist/components/typography/Text/Text.types.d.ts +14 -0
  19. package/dist/components/typography/Text/Text.types.d.ts.map +1 -0
  20. package/dist/components/typography/Text/index.d.ts +3 -0
  21. package/dist/components/typography/Text/index.d.ts.map +1 -0
  22. package/dist/components/typography/index.d.ts +2 -0
  23. package/dist/components/typography/index.d.ts.map +1 -0
  24. package/dist/index.d.ts +5 -0
  25. package/dist/index.d.ts.map +1 -0
  26. package/dist/providers/ThemeProviderScoped/ThemeProviderScoped.d.ts +3 -0
  27. package/dist/providers/ThemeProviderScoped/ThemeProviderScoped.d.ts.map +1 -0
  28. package/dist/providers/ThemeProviderScoped/ThemeProviderScoped.types.d.ts +5 -0
  29. package/dist/providers/ThemeProviderScoped/ThemeProviderScoped.types.d.ts.map +1 -0
  30. package/dist/providers/ThemeProviderScoped/index.d.ts +3 -0
  31. package/dist/providers/ThemeProviderScoped/index.d.ts.map +1 -0
  32. package/dist/providers/index.d.ts +2 -0
  33. package/dist/providers/index.d.ts.map +1 -0
  34. package/dist/root.css +1 -0
  35. package/dist/styles/utils/breakpoints/base.scss +11 -0
  36. package/dist/styles/utils/breakpoints/index.scss +3 -0
  37. package/dist/styles/utils/breakpoints/screen.scss +67 -0
  38. package/dist/styles/utils/breakpoints/semantic.scss +31 -0
  39. package/dist/styles/utils/fonts/font-family.scss +3 -0
  40. package/dist/styles/utils/fonts/font-weight.scss +59 -0
  41. package/dist/styles/utils/fonts/index.scss +2 -0
  42. package/dist/styles/utils/index.scss +5 -0
  43. package/dist/styles/utils/size/index.scss +1 -0
  44. package/dist/styles/utils/size/modifiers.scss +29 -0
  45. package/dist/styles/utils/style/index.scss +1 -0
  46. package/dist/styles/utils/style/variants.scss +34 -0
  47. package/dist/styles/utils/typography/index.scss +2 -0
  48. package/dist/styles/utils/typography/text.scss +52 -0
  49. package/dist/styles/utils/typography/title.scss +42 -0
  50. package/dist/types/children.types.d.ts +4 -0
  51. package/dist/types/children.types.d.ts.map +1 -0
  52. package/dist/types/index.d.ts +2 -0
  53. package/dist/types/index.d.ts.map +1 -0
  54. package/dist/types/tokens.types.d.ts +16 -0
  55. package/dist/types/tokens.types.d.ts.map +1 -0
  56. package/dist/ui-kit.cjs.js +35 -0
  57. package/dist/ui-kit.cjs.js.map +1 -0
  58. package/dist/ui-kit.css +1 -0
  59. package/dist/ui-kit.es.js +782 -0
  60. package/dist/ui-kit.es.js.map +1 -0
  61. package/dist/utils/index.d.ts +2 -0
  62. package/dist/utils/index.d.ts.map +1 -0
  63. package/dist/utils/styles/getFontWeightClass/getFontWeightClass.d.ts +3 -0
  64. package/dist/utils/styles/getFontWeightClass/getFontWeightClass.d.ts.map +1 -0
  65. package/dist/utils/styles/getFontWeightClass/index.d.ts +2 -0
  66. package/dist/utils/styles/getFontWeightClass/index.d.ts.map +1 -0
  67. package/dist/utils/styles/getSizeClass/getSizeClass.d.ts +3 -0
  68. package/dist/utils/styles/getSizeClass/getSizeClass.d.ts.map +1 -0
  69. package/dist/utils/styles/getSizeClass/index.d.ts +2 -0
  70. package/dist/utils/styles/getSizeClass/index.d.ts.map +1 -0
  71. package/dist/utils/styles/getStyleClass/getStyleClass.d.ts +2 -0
  72. package/dist/utils/styles/getStyleClass/getStyleClass.d.ts.map +1 -0
  73. package/dist/utils/styles/getStyleClass/index.d.ts +2 -0
  74. package/dist/utils/styles/getStyleClass/index.d.ts.map +1 -0
  75. package/dist/utils/styles/index.d.ts +3 -0
  76. package/dist/utils/styles/index.d.ts.map +1 -0
  77. package/package.json +76 -0
package/README.md ADDED
@@ -0,0 +1,19 @@
1
+ # UI Kit
2
+
3
+ Библиотека React компонентов с дизайн-системой для внутренних проектов.
4
+
5
+ ## Включает:
6
+ - React компоненты
7
+ - CSS переменные и токены дизайна
8
+ - SCSS утилиты и миксины
9
+ - TypeScript типы
10
+ - SVG иконки
11
+ - Провайдеры тем (ThemeProviderScoped)
12
+
13
+ ## Документация
14
+ Ссылки на более подробную документацию по разделам
15
+
16
+ - **[Сборка](./docs/build/index.md)** - команды сборки, публикация в npm, конфигурации Vite и т.д.
17
+ - **[Использование](./docs/usage/index.md)** - как использовать UI Kit в проектах, подключение стилей, примеры компонентов
18
+ - **[Стили](./docs/styles/index.md)** - подключение шрифтов, CSS переменных, базовые стили и миксины
19
+ - **[Утилиты](./docs/utils/index.md)** - функции хелперы
@@ -0,0 +1,3 @@
1
+ import { IIconButtonProps } from './IconButton.types.ts';
2
+ export declare function IconButton({ attr, children, className, type, color, size, ...props }: IIconButtonProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=IconButton.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../../src/components/controls/IconButton/IconButton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAK9D,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,QAAQ,EACR,SAAS,EACT,IAAe,EACf,KAAiB,EACjB,IAAW,EACX,GAAG,KAAK,EACT,EAAE,gBAAgB,2CAkBlB"}
@@ -0,0 +1,8 @@
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
+ import { IIconButtonProps } from './IconButton.types';
3
+ declare const meta: Meta<IIconButtonProps>;
4
+ type Story = StoryObj<typeof meta>;
5
+ export declare const SvgIcon: Story;
6
+ export declare const ImgTag: Story;
7
+ export default meta;
8
+ //# sourceMappingURL=IconButton.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconButton.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/controls/IconButton/IconButton.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAO5D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,gBAAgB,CA8BhC,CAAC;AAEF,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KAIpB,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -0,0 +1,13 @@
1
+ import { ComponentProps } from 'react';
2
+ import { CustomType, NegativeType, NeutralType, PositiveType, PrimaryType, SecondaryType, Size, WarningType } from '../../../types/tokens.types.ts';
3
+ type IconButtonAttributes = Pick<ComponentProps<'button'>, 'className' | 'onClick' | 'disabled' | 'type' | 'children'>;
4
+ type IconButtonRestAttributes = Omit<ComponentProps<'button'>, keyof IconButtonAttributes>;
5
+ type IconButtonSize = Extract<Size, 'xs' | 'sm' | 'md'> | CustomType;
6
+ type IconButtonColor = PrimaryType | SecondaryType | NegativeType | PositiveType | WarningType | NeutralType | CustomType;
7
+ export interface IIconButtonProps extends IconButtonAttributes {
8
+ size?: IconButtonSize;
9
+ color?: IconButtonColor;
10
+ attr?: IconButtonRestAttributes;
11
+ }
12
+ export {};
13
+ //# sourceMappingURL=IconButton.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconButton.types.d.ts","sourceRoot":"","sources":["../../../../src/components/controls/IconButton/IconButton.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,EACV,UAAU,EACV,YAAY,EACZ,WAAW,EACX,YAAY,EACZ,WAAW,EACX,aAAa,EACb,IAAI,EACJ,WAAW,EACZ,MAAM,yBAAyB,CAAC;AAEjC,KAAK,oBAAoB,GAAG,IAAI,CAC9B,cAAc,CAAC,QAAQ,CAAC,EACxB,WAAW,GAAG,SAAS,GAAG,UAAU,GAAG,MAAM,GAAG,UAAU,CAC3D,CAAC;AAEF,KAAK,wBAAwB,GAAG,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,MAAM,oBAAoB,CAAC,CAAC;AAE3F,KAAK,cAAc,GAAG,OAAO,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC,GAAG,UAAU,CAAC;AACrE,KAAK,eAAe,GAChB,WAAW,GACX,aAAa,GACb,YAAY,GACZ,YAAY,GACZ,WAAW,GACX,WAAW,GACX,UAAU,CAAC;AAEf,MAAM,WAAW,gBAAiB,SAAQ,oBAAoB;IAC5D,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,IAAI,CAAC,EAAE,wBAAwB,CAAC;CACjC"}
@@ -0,0 +1,3 @@
1
+ export * from './IconButton';
2
+ export type * from './IconButton.types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/controls/IconButton/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,mBAAmB,oBAAoB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './IconButton';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/controls/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './controls';
2
+ export * from './typography';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { ITextProps, TextComponentTag } from './Text.types.ts';
2
+ export declare function Text<T extends TextComponentTag>({ attr, children, className, color, variant, weight, tag: Tag, ...props }: ITextProps<T>): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=Text.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Text.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/Text/Text.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAMpE,wBAAgB,IAAI,CAAC,CAAC,SAAS,gBAAgB,EAAE,EAC/C,IAAI,EACJ,QAAQ,EACR,SAAS,EACT,KAAiB,EACjB,OAAiB,EACjB,MAAkB,EAClB,GAAG,EAAE,GAAS,EACd,GAAG,KAAK,EACT,EAAE,UAAU,CAAC,CAAC,CAAC,2CAmBf"}
@@ -0,0 +1,7 @@
1
+ import { Meta, StoryObj } from '@storybook/react-vite';
2
+ import { ITextProps, TextComponentTag } from './Text.types';
3
+ declare const meta: Meta<ITextProps<TextComponentTag>>;
4
+ type Story = StoryObj<typeof meta>;
5
+ export declare const Default: Story;
6
+ export default meta;
7
+ //# sourceMappingURL=Text.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Text.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/Text/Text.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAG5D,OAAO,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAEjE,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAuC5C,CAAC;AAEF,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { ComponentPropsWithoutRef } from 'react';
2
+ import { CustomType, FontWeight, TextColor, TextVariant } from '../../../types/tokens.types.ts';
3
+ export type TextComponentTag = 'p' | 'span';
4
+ type TextComponentAttributes<T extends TextComponentTag> = Pick<ComponentPropsWithoutRef<T>, 'className' | 'children'>;
5
+ type TextComponentRestAttributes<T extends TextComponentTag> = Omit<ComponentPropsWithoutRef<T>, keyof TextComponentAttributes<T>>;
6
+ export interface ITextProps<T extends TextComponentTag> extends TextComponentAttributes<T> {
7
+ tag?: TextComponentTag;
8
+ color?: TextColor | CustomType;
9
+ variant?: TextVariant | CustomType;
10
+ weight?: FontWeight;
11
+ attr?: TextComponentRestAttributes<T>;
12
+ }
13
+ export {};
14
+ //# sourceMappingURL=Text.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Text.types.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/Text/Text.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAEzF,MAAM,MAAM,gBAAgB,GAAG,GAAG,GAAG,MAAM,CAAC;AAE5C,KAAK,uBAAuB,CAAC,CAAC,SAAS,gBAAgB,IAAI,IAAI,CAC7D,wBAAwB,CAAC,CAAC,CAAC,EAC3B,WAAW,GAAG,UAAU,CACzB,CAAC;AACF,KAAK,2BAA2B,CAAC,CAAC,SAAS,gBAAgB,IAAI,IAAI,CACjE,wBAAwB,CAAC,CAAC,CAAC,EAC3B,MAAM,uBAAuB,CAAC,CAAC,CAAC,CACjC,CAAC;AAEF,MAAM,WAAW,UAAU,CAAC,CAAC,SAAS,gBAAgB,CAAE,SAAQ,uBAAuB,CAAC,CAAC,CAAC;IACxF,GAAG,CAAC,EAAE,gBAAgB,CAAC;IACvB,KAAK,CAAC,EAAE,SAAS,GAAG,UAAU,CAAC;IAC/B,OAAO,CAAC,EAAE,WAAW,GAAG,UAAU,CAAC;IACnC,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,IAAI,CAAC,EAAE,2BAA2B,CAAC,CAAC,CAAC,CAAC;CACvC"}
@@ -0,0 +1,3 @@
1
+ export * from './Text.tsx';
2
+ export type * from './Text.types.ts';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/Text/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,mBAAmB,iBAAiB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './Text';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/typography/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC"}
@@ -0,0 +1,5 @@
1
+ export * from './components';
2
+ export * from './providers';
3
+ export * from './types';
4
+ export * from './utils';
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { IThemeProviderProps } from './ThemeProviderScoped.types.ts';
2
+ export declare function ThemeProviderScoped({ className, children }: IThemeProviderProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=ThemeProviderScoped.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThemeProviderScoped.d.ts","sourceRoot":"","sources":["../../../src/providers/ThemeProviderScoped/ThemeProviderScoped.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAI1E,wBAAgB,mBAAmB,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,mBAAmB,2CAE/E"}
@@ -0,0 +1,5 @@
1
+ import { IClassnameProp } from '../../types';
2
+ import { PropsWithChildren } from 'react';
3
+ export interface IThemeProviderProps extends IClassnameProp, PropsWithChildren {
4
+ }
5
+ //# sourceMappingURL=ThemeProviderScoped.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThemeProviderScoped.types.d.ts","sourceRoot":"","sources":["../../../src/providers/ThemeProviderScoped/ThemeProviderScoped.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAE/C,MAAM,WAAW,mBAAoB,SAAQ,cAAc,EAAE,iBAAiB;CAAG"}
@@ -0,0 +1,3 @@
1
+ export * from './ThemeProviderScoped.tsx';
2
+ export type * from './ThemeProviderScoped.types.ts';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/providers/ThemeProviderScoped/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,mBAAmB,gCAAgC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './ThemeProviderScoped';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/providers/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC"}
package/dist/root.css ADDED
@@ -0,0 +1 @@
1
+ @charset "UTF-8";@import"../../node_modules/@fontsource/inter/200.css";@import"../../node_modules/@fontsource/inter/300.css";@import"../../node_modules/@fontsource/inter/400.css";@import"../../node_modules/@fontsource/inter/500.css";@import"../../node_modules/@fontsource/inter/600.css";@import"../../node_modules/@fontsource/inter/700.css";@import"../../node_modules/@fontsource/inter/800.css";:root{--accent-10: #001033;--accent-20: #002166;--accent-30: #003199;--accent-40: #0042CC;--accent-50: #0052FF;--accent-50-8: rgba(0, 82, 255, .08);--accent-50-12: rgba(0, 82, 255, .12);--accent-60: #3375FF;--accent-70: #6697FF;--accent-80: #99BAFF;--accent-90: #CCDCFF;--accent-96: #EBF1FF;--accent-98: #F5F8FF;--neutral-10: #131720;--neutral-15: #1C2230;--neutral-20: #262E40;--neutral-30: #394560;--neutral-40: #4C5C80;--neutral-50: #5F73A0;--neutral-60: #7F8FB3;--neutral-60-8: rgba(127, 143, 179, .08);--neutral-60-12: rgba(127, 143, 179, .12);--neutral-70: #9FABC6;--neutral-80: #BFC7D9;--neutral-86: #D2D8E4;--neutral-90: #DFE3EC;--neutral-90-10: rgba(223, 227, 236, .1);--neutral-90-15: rgba(223, 227, 236, .15);--neutral-90-20: rgba(223, 227, 236, .2);--neutral-92: #E5E9F0;--neutral-96: #F2F4F7;--neutral-98: #F9F9FB;--neutral-100: #FFFFFF;--negative-10: #320101;--negative-20: #640202;--negative-30: #950404;--negative-40: #C70505;--negative-50: #F90606;--negative-60: #FA3838;--negative-60-8: rgba(250, 56, 56, .08);--negative-60-12: rgba(250, 56, 56, .12);--negative-70: #FB6A6A;--negative-80: #FD9B9B;--negative-90: #FECDCD;--negative-92: #FED7D7;--negative-96: #FFEBEB;--negative-98: #FFF5F5;--positive-10: #11270C;--positive-20: #234E18;--positive-30: #347425;--positive-40: #469B31;--positive-50: #57C23D;--positive-50-8: rgba(87, 194, 61, .08);--positive-50-12: rgba(87, 194, 61, .12);--positive-60: #79CE64;--positive-70: #9ADA8B;--positive-80: #BCE7B1;--positive-90: #DDF3D8;--positive-92: #E4F5E0;--positive-96: #F2FAEF;--warning-10: #663D00;--warning-20: #663D00;--warning-30: #985B01;--warning-40: #CB7A01;--warning-50: #FE9801;--warning-60: #FEAD34;--warning-60-8: rgba(254, 173, 52, .08);--warning-60-12: rgba(254, 173, 52, .12);--warning-70: #FEC167;--warning-80: #FFD699;--warning-90: #FFEACC;--warning-92: #FFEFD6;--warning-96: #FFF7EB;--border-accent-primary: var(--accent-60);--border-accent-primary-hover: var(--accent-50);--border-accent-secondary: var(--accent-90);--border-accent-secondary-hover: var(--accent-80);--border-negative-primary: var(--negative-60);--border-negative-primary-hover: var(--negative-50);--border-negative-secondary: var(--negative-90);--border-negative-secondary-hover: var(--negative-80);--border-positive-primary: var(--positive-60);--border-positive-primary-hover: var(--positive-50);--border-positive-secondary: var(--positive-90);--border-positive-secondary-hover: var(--positive-80);--border-warning-primary: var(--warning-60);--border-warning-primary-hover: var(--warning-50);--border-warning-secondary: var(--warning-90);--border-warning-secondary-hover: var(--warning-80);--border-neutral-primary: var(--neutral-60);--border-neutral-primary-hover: var(--neutral-50);--border-nutral-alpha: var(--neutral-60-8);--text-primary: var(--neutral-20);--text-primary-hover: var(--neutral-15);--text-secondary: var(--neutral-40);--text-secondary-hover: var(--neutral-30);--text-tertiary: var(--neutral-60);--text-tertiary-hover: var(--neutral-50);--text-positive: var(--positive-50);--text-positive-hover: var(--positive-40);--text-negative: var(--negative-60);--text-negative-hover: var(--negative-50);--text-warning: var(--warning-60);--text-warning-hover: var(--warning-50);--text-accent: var(--accent-60);--text-accent-hover: var(--accent-50);--text-inverse: var(--neutral-100);--icon-primary: var(--neutral-20);--icon-primary-hover: var(--neutral-15);--icon-secondary: var(--neutral-40);--icon-secondary-hover: var(--neutral-30);--icon-tertiary: var(--neutral-60);--icon-tertiary-hover: var(--neutral-50);--icon-positive: var(--positive-50);--icon-positive-hover: var(--positive-40);--icon-negative: var(--negative-60);--icon-negative-hover: var(--negative-50);--icon-warning: var(--warning-60);--icon-warning-hover: var(--warning-50);--icon-accent: var(--accent-60);--icon-accent-hover: var(--accent-50);--icon-inverse: var(--neutral-100);--fill-accent-primary: var(--accent-60);--fill-accent-primary-hover: var(--accent-50);--fill-accent-secondary: var(--accent-96);--fill-accent-secondary-hover: var(--accent-90);--fill-accent-tint: var(--accent-50-12);--fill-accent-tint-low: var(--accent-50-8);--fill-positive-primary: var(--positive-60);--fill-positive-primary-hover: var(--positive-50);--fill-positive-secondary: var(--positive-96);--fill-positive-secondary-hover: var(--positive-90);--fill-positive-tint: var(--positive-50-12);--fill-positive-tint-low: var(--positive-50-8);--fill-negative-primary: var(--negative-60);--fill-negative-primary-hover: var(--negative-50);--fill-negative-secondary: var(--negative-96);--fill-negative-secondary-hover: var(--negative-92);--fill-negative-tint: var(--negative-60-12);--fill-negative-tint-low: var(--negative-60-8);--fill-warning-primary: var(--warning-60);--fill-warning-primary-hover: var(--warning-50);--fill-warning-secondary: var(--warning-96);--fill-warning-secondary-hover: var(--warning-90);--fill-warning-tint: var(--warning-60-12);--fill-warning-tint-low: var(--warning-60-8);--fill-neutral-secondary: var(--neutral-96);--fill-neutral-secondary-hover: var(--neutral-90);--fill-bg-primary: var(--neutral-100);--fill-bg-secondary: var(--neutral-98);--fill-bg-tertiary: var(--neutral-96);--fill-bg-elevation-primary: var(--neutral-90-20);--fill-bg-elevation-secondary: var(--neutral-90-15);--fill-bg-elevation-tertiary: var(--neutral-90-10);--status-accent: var(--accent-50);--status-accent-tint: var(--accent-50-12);--status-accent-tint-low: var(--accent-50-8);--status-negative: var(--negative-60);--status-negative-tint: var(--negative-60-12);--status-negative-tint-low: var(--negative-60-8);--status-positive: var(--positive-50);--status-positive-tint: var(--positive-50-12);--status-positive-tint-low: var(--positive-50-8);--status-warning: var(--warning-60);--status-warning-tint: var(--warning-60-12);--status-warning-tint-low: var(--warning-60-8);--status-neutral: var(--neutral-60);--status-neutral-tint: var(--neutral-60-12);--status-neutral-tint-low: var(--neutral-60-8);--corner-zero: 0;--corner-xs: 4px;--corner-sm: 8px;--corner-md: 12px;--corner-lg: 16px;--corner-xl: 20px;--corner-2xl: 24px;--corner-3xl: 32px;--corner-4xl: 40px;--corner-5xl: 48px;--corner-6xl: 56px;--corner-full-round: 1000px;--height-button-xs: 32px;--height-button-sm: 40px;--height-button-md: 48px;--height-button-lg: 56px;--height-icon-xs: 16px;--height-icon-md: 20px;--height-icon-lg: 24px;--height-icon-xl: 32px;--opacity-primary: 100;--opacity-secondary: 80;--opacity-tertiary: 60;--spacing-zero: 0;--spacing-xs: 4px;--spacing-sm: 8px;--spacing-md: 12px;--spacing-lg: 16px;--spacing-xl: 20px;--spacing-2xl: 24px;--spacing-3xl: 32px;--spacing-4xl: 40px;--spacing-5xl: 48px;--spacing-6xl: 56px;--spacing-7xl: 64px;--spacing-8xl: 72px;--spacing-9xl: 80px;--spacing-10xl: 96px;--transition-general: all .3s ease-in-out;font-family:Inter,sans-serif;word-break:break-word;font-size:16px;line-height:24px;font-weight:400;color:var(--text-primary)}@layer reset{:root *,:root *:before,:root *:after{box-sizing:border-box;margin:0;color:unset}:root ul[class],:root ol[class]{padding:0}:root body,:root h1,:root h2,:root h3,:root h4,:root p,:root label,:root ul[class],:root ol[class],:root li,:root figure,:root figcaption,:root blockquote,:root dl,:root dd{margin:0}:root label{display:block}:root html{scroll-behavior:smooth}:root body{min-height:100dvh;text-rendering:optimizeSpeed;line-height:1.5;margin:0!important}:root ul[class],:root ol[class]{list-style:none}:root a:not([class]){text-decoration-skip-ink:auto}:root a,:root a:hover,:root a:checked{text-decoration:none;color:inherit}:root img{max-width:100%;display:block}:root input,:root button,:root textarea,:root select,:root pre{font:inherit}:root input,:root textarea{outline:none;border:none;padding:0}@media (prefers-reduced-motion: reduce){:root *{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}:root input::-webkit-outer-spin-button,:root input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}:root input[type=number]{-moz-appearance:textfield}:root html{overflow-x:hidden;margin-right:calc(-1*(100vw - 100%))}:root a:focus,:root button:focus,:root input:focus,:root textarea:focus{outline:none}:root button{cursor:pointer;padding:0;background:transparent}:root button{border:none;outline:none}:root fieldset{border:0;padding:0;margin:0;min-width:0}:root div{outline:none}:root input[type=search]::-ms-clear{display:none;width:0;height:0}:root input[type=search]::-ms-reveal{display:none;width:0;height:0}:root input[type=search]::-webkit-search-decoration,:root input[type=search]::-webkit-search-cancel-button,:root input[type=search]::-webkit-search-results-button,:root input[type=search]::-webkit-search-results-decoration{display:none}}
@@ -0,0 +1,11 @@
1
+ @mixin breakpoint($breakpoint, $direction: max) {
2
+ @if $direction == min {
3
+ @media (min-width: $breakpoint) {
4
+ @content;
5
+ }
6
+ } @else if $direction == max {
7
+ @media (max-width: $breakpoint - 1px) {
8
+ @content;
9
+ }
10
+ }
11
+ }
@@ -0,0 +1,3 @@
1
+ @forward "base";
2
+ @forward "screen";
3
+ @forward "semantic";
@@ -0,0 +1,67 @@
1
+ @use './base.scss';
2
+
3
+ @mixin bp-1920($direction: max) {
4
+ @include base.breakpoint(1920px, $direction) {
5
+ @content;
6
+ }
7
+ }
8
+
9
+ @mixin bp-1440($direction: max) {
10
+ @include base.breakpoint(1440px, $direction) {
11
+ @content;
12
+ }
13
+ }
14
+
15
+ @mixin bp-1400($direction: max) {
16
+ @include base.breakpoint(1440px, $direction) {
17
+ @content;
18
+ }
19
+ }
20
+
21
+ @mixin bp-1280($direction: max) {
22
+ @include base.breakpoint(1280px, $direction) {
23
+ @content;
24
+ }
25
+ }
26
+
27
+ @mixin bp-1200($direction: max) {
28
+ @include base.breakpoint(1200px, $direction) {
29
+ @content;
30
+ }
31
+ }
32
+
33
+ @mixin bp-1024($direction: max) {
34
+ @include base.breakpoint(1024px, $direction) {
35
+ @content;
36
+ }
37
+ }
38
+
39
+ @mixin bp-992($direction: max) {
40
+ @include base.breakpoint(992px, $direction) {
41
+ @content;
42
+ }
43
+ }
44
+
45
+ @mixin bp-768($direction: max) {
46
+ @include base.breakpoint(768px, $direction) {
47
+ @content;
48
+ }
49
+ }
50
+
51
+ @mixin bp-576($direction: max) {
52
+ @include base.breakpoint(576px, $direction) {
53
+ @content;
54
+ }
55
+ }
56
+
57
+ @mixin bp-480($direction: max) {
58
+ @include base.breakpoint(480px, $direction) {
59
+ @content;
60
+ }
61
+ }
62
+
63
+ @mixin bp-375($direction: max) {
64
+ @include base.breakpoint(375px, $direction) {
65
+ @content;
66
+ }
67
+ }
@@ -0,0 +1,31 @@
1
+ @use './screen.scss';
2
+
3
+ @mixin bp-xs($direction: max) {
4
+ @include screen.bp-480(max, $direction) {
5
+ @content;
6
+ }
7
+ }
8
+
9
+ @mixin bp-sm($direction: max) {
10
+ @include screen.bp-576(max, $direction) {
11
+ @content;
12
+ }
13
+ }
14
+
15
+ @mixin bp-md($direction: max) {
16
+ @include screen.bp-768(max, $direction) {
17
+ @content;
18
+ }
19
+ }
20
+
21
+ @mixin bp-lg($direction: max) {
22
+ @include screen.bp-992(max, $direction) {
23
+ @content;
24
+ }
25
+ }
26
+
27
+ @mixin bp-xl($direction: max) {
28
+ @include screen.bp-1200(max, $direction) {
29
+ @content;
30
+ }
31
+ }
@@ -0,0 +1,3 @@
1
+ @mixin Inter {
2
+ font-family: Inter, sans-serif;
3
+ }
@@ -0,0 +1,59 @@
1
+ @use 'sass:string';
2
+
3
+ @mixin font-extrabold {
4
+ font-weight: 800;
5
+ }
6
+
7
+ @mixin font-bold {
8
+ font-weight: 700;
9
+ }
10
+
11
+ @mixin font-semibold {
12
+ font-weight: 600;
13
+ }
14
+
15
+ @mixin font-medium {
16
+ font-weight: 500;
17
+ }
18
+
19
+ @mixin font-regular {
20
+ font-weight: 400;
21
+ }
22
+
23
+ @mixin font-light {
24
+ font-weight: 300;
25
+ }
26
+
27
+ @mixin font-extralight {
28
+ font-weight: 200;
29
+ }
30
+
31
+ @mixin font-weight-variants {
32
+ &_extraboldWeight {
33
+ @include font-extrabold;
34
+ }
35
+
36
+ &_boldWeight {
37
+ @include font-bold;
38
+ }
39
+
40
+ &_semiboldWeight {
41
+ @include font-semibold;
42
+ }
43
+
44
+ &_mediumWeight {
45
+ @include font-medium;
46
+ }
47
+
48
+ &_regularWeight {
49
+ @include font-regular;
50
+ }
51
+
52
+ &_lightWeight {
53
+ @include font-light;
54
+ }
55
+
56
+ &_extralightWeight {
57
+ @include font-extralight;
58
+ }
59
+ }
@@ -0,0 +1,2 @@
1
+ @forward "font-family";
2
+ @forward "font-weight";
@@ -0,0 +1,5 @@
1
+ @forward "breakpoints";
2
+ @forward "fonts";
3
+ @forward "size";
4
+ @forward "typography";
5
+ @forward "style";
@@ -0,0 +1 @@
1
+ @forward "modifiers";
@@ -0,0 +1,29 @@
1
+ @mixin xs-modifier {
2
+ &_xsSize {
3
+ @content;
4
+ }
5
+ }
6
+
7
+ @mixin sm-modifier {
8
+ &_smSize {
9
+ @content;
10
+ }
11
+ }
12
+
13
+ @mixin md-modifier {
14
+ &_mdSize {
15
+ @content;
16
+ }
17
+ }
18
+
19
+ @mixin lg-modifier {
20
+ &_lgSize {
21
+ @content;
22
+ }
23
+ }
24
+
25
+ @mixin xl-modifier {
26
+ &_xlSize {
27
+ @content;
28
+ }
29
+ }
@@ -0,0 +1 @@
1
+ @forward "variants";
@@ -0,0 +1,34 @@
1
+ @mixin style-variant-text($map, $pseudo-class: null, $postfix: '') {
2
+ @each $style, $color in $map {
3
+ &_#{$style}#{$postfix}#{if($pseudo-class, ':' + $pseudo-class, '')} {
4
+ color: $color;
5
+ }
6
+ }
7
+ }
8
+
9
+ @mixin style-variant-border($width: 1px, $map, $pseudo-class: null, $postfix: '') {
10
+ border: $width solid transparent;
11
+ @each $style, $color in $map {
12
+ &_#{$style}#{$postfix}#{if($pseudo-class, ':' + $pseudo-class, '')} {
13
+ border-color: $color;
14
+ }
15
+ }
16
+ }
17
+
18
+ @mixin style-variant-bg($map, $pseudo-class: null, $postfix: '') {
19
+ @each $style, $color in $map {
20
+ &_#{$style}#{$postfix}#{if($pseudo-class, ':' + $pseudo-class, '')} {
21
+ background-color: $color;
22
+ }
23
+ }
24
+ }
25
+
26
+ @mixin style-variant-svg($map, $pseudo-class: null, $postfix: '') {
27
+ @each $style, $color in $map {
28
+ &_#{$style}#{$postfix}#{if($pseudo-class, ':' + $pseudo-class, '')} {
29
+ svg {
30
+ color: $color;
31
+ }
32
+ }
33
+ }
34
+ }
@@ -0,0 +1,2 @@
1
+ @forward "text";
2
+ @forward "title";
@@ -0,0 +1,52 @@
1
+ @use '../fonts';
2
+
3
+ @mixin _text-common {
4
+ @include fonts.Inter;
5
+ word-break: break-word;
6
+ }
7
+
8
+ // Text Body 1
9
+ @mixin text-body1 {
10
+ @include _text-common;
11
+ font-size: 16px;
12
+ line-height: 24px;
13
+ }
14
+
15
+ // Text Body 2
16
+ @mixin text-body2 {
17
+ @include _text-common;
18
+ font-size: 14px;
19
+ line-height: 20px;
20
+ }
21
+
22
+ // Text Caption 1
23
+ @mixin text-caption1 {
24
+ @include _text-common;
25
+ font-size: 12px;
26
+ line-height: 16px;
27
+ }
28
+
29
+ // Text Caption 2
30
+ @mixin text-caption2 {
31
+ @include _text-common;
32
+ font-size: 11px;
33
+ line-height: 12px;
34
+ }
35
+
36
+ @mixin text-variants {
37
+ &_body1 {
38
+ @include text-body1;
39
+ }
40
+
41
+ &_body2 {
42
+ @include text-body2;
43
+ }
44
+
45
+ &_caption1 {
46
+ @include text-caption1;
47
+ }
48
+
49
+ &_caption2 {
50
+ @include text-caption2;
51
+ }
52
+ }
@@ -0,0 +1,42 @@
1
+ @use '../fonts';
2
+
3
+ @mixin _title-common {
4
+ @include fonts.Inter;
5
+ word-break: break-word;
6
+ }
7
+
8
+ @mixin title1 {
9
+ @include _title-common;
10
+ font-size: 32px;
11
+ line-height: 36px;
12
+ }
13
+
14
+ @mixin title2 {
15
+ @include _title-common;
16
+ font-size: 24px;
17
+ line-height: 28px;
18
+ }
19
+
20
+ @mixin title3 {
21
+ @include _title-common;
22
+ font-size: 20px;
23
+ line-height: 24px;
24
+ }
25
+
26
+ @mixin headline1 {
27
+ @include _title-common;
28
+ font-size: 22px;
29
+ line-height: 26px;
30
+ }
31
+
32
+ @mixin headline2 {
33
+ @include _title-common;
34
+ font-size: 18px;
35
+ line-height: 22px;
36
+ }
37
+
38
+ @mixin headline3 {
39
+ @include _title-common;
40
+ font-size: 16px;
41
+ line-height: 20px;
42
+ }
@@ -0,0 +1,4 @@
1
+ export interface IClassnameProp {
2
+ className?: string;
3
+ }
4
+ //# sourceMappingURL=children.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"children.types.d.ts","sourceRoot":"","sources":["../../src/types/children.types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -0,0 +1,2 @@
1
+ export type * from './children.types.ts';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,mBAAmB,qBAAqB,CAAC"}
@@ -0,0 +1,16 @@
1
+ export type PrimaryType = 'primary';
2
+ export type SecondaryType = 'secondary';
3
+ export type TertiaryType = 'tertiary';
4
+ export type PositiveType = 'positive';
5
+ export type NegativeType = 'negative';
6
+ export type WarningType = 'warning';
7
+ export type NeutralType = 'neutral';
8
+ export type AccentType = 'accent';
9
+ export type InverseType = 'inverse';
10
+ export type CustomType = 'custom';
11
+ export type Size = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
12
+ export type TextColor = PrimaryType | SecondaryType | TertiaryType | PositiveType | NegativeType | WarningType | AccentType | InverseType;
13
+ export type IconColor = PrimaryType | SecondaryType | TertiaryType | PositiveType | NegativeType | WarningType | AccentType | InverseType;
14
+ export type TextVariant = 'body1' | 'body2' | 'caption1' | 'caption2';
15
+ export type FontWeight = 'extrabold' | 'bold' | 'semibold' | 'medium' | 'regular' | 'light' | 'extralight';
16
+ //# sourceMappingURL=tokens.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tokens.types.d.ts","sourceRoot":"","sources":["../../src/types/tokens.types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,SAAS,CAAC;AACpC,MAAM,MAAM,aAAa,GAAG,WAAW,CAAC;AACxC,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC;AACtC,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC;AACtC,MAAM,MAAM,YAAY,GAAG,UAAU,CAAC;AACtC,MAAM,MAAM,WAAW,GAAG,SAAS,CAAC;AACpC,MAAM,MAAM,WAAW,GAAG,SAAS,CAAC;AACpC,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC;AAClC,MAAM,MAAM,WAAW,GAAG,SAAS,CAAC;AACpC,MAAM,MAAM,UAAU,GAAG,QAAQ,CAAC;AAElC,MAAM,MAAM,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEpD,MAAM,MAAM,SAAS,GACjB,WAAW,GACX,aAAa,GACb,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,WAAW,GACX,UAAU,GACV,WAAW,CAAC;AAEhB,MAAM,MAAM,SAAS,GACjB,WAAW,GACX,aAAa,GACb,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,WAAW,GACX,UAAU,GACV,WAAW,CAAC;AAEhB,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,OAAO,GAAG,UAAU,GAAG,UAAU,CAAC;AAEtE,MAAM,MAAM,UAAU,GAClB,WAAW,GACX,MAAM,GACN,UAAU,GACV,QAAQ,GACR,SAAS,GACT,OAAO,GACP,YAAY,CAAC"}