@dss-kit/ui-kit 0.0.15 → 0.0.17
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/README.md +21 -21
- package/dist/components/controls/IconButton/IconButton.d.ts.map +1 -1
- package/dist/components/shared/Avatar/Avatar.d.ts +3 -0
- package/dist/components/shared/Avatar/Avatar.d.ts.map +1 -0
- package/dist/components/shared/Avatar/Avatar.stories.d.ts +13 -0
- package/dist/components/shared/Avatar/Avatar.stories.d.ts.map +1 -0
- package/dist/components/shared/Avatar/Avatar.types.d.ts +13 -0
- package/dist/components/shared/Avatar/Avatar.types.d.ts.map +1 -0
- package/dist/components/shared/Avatar/index.d.ts +3 -0
- package/dist/components/shared/Avatar/index.d.ts.map +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/root.css +0 -0
- package/dist/styles/utils/breakpoints/base.scss +11 -11
- package/dist/styles/utils/breakpoints/index.scss +3 -3
- package/dist/styles/utils/breakpoints/screen.scss +67 -67
- package/dist/styles/utils/breakpoints/semantic.scss +31 -31
- package/dist/styles/utils/fonts/font-family.scss +3 -3
- package/dist/styles/utils/fonts/font-weight.scss +59 -59
- package/dist/styles/utils/fonts/index.scss +2 -2
- package/dist/styles/utils/index.scss +5 -5
- package/dist/styles/utils/size/index.scss +1 -1
- package/dist/styles/utils/size/modifiers.scss +29 -29
- package/dist/styles/utils/style/index.scss +1 -1
- package/dist/styles/utils/style/variants.scss +34 -34
- package/dist/styles/utils/typography/index.scss +2 -2
- package/dist/styles/utils/typography/text.scss +52 -52
- package/dist/styles/utils/typography/title.scss +42 -42
- package/dist/ui-kit.cjs.js +9 -9
- package/dist/ui-kit.cjs.js.map +1 -1
- package/dist/ui-kit.css +1 -1
- package/dist/ui-kit.es.js +106 -105
- package/dist/ui-kit.es.js.map +1 -1
- package/dist/utils/styles/getSizeClass/getSizeClass.d.ts.map +1 -1
- package/package.json +75 -76
- package/dist/root10.css +0 -0
- package/dist/root11.css +0 -0
- package/dist/root12.css +0 -0
- package/dist/root13.css +0 -0
- package/dist/root14.css +0 -0
- package/dist/root15.css +0 -0
- package/dist/root16.css +0 -0
- package/dist/root17.css +0 -0
- package/dist/root18.css +0 -0
- package/dist/root19.css +0 -0
- package/dist/root2.css +0 -0
- package/dist/root20.css +0 -0
- package/dist/root21.css +0 -0
- package/dist/root22.css +0 -0
- package/dist/root23.css +0 -0
- package/dist/root24.css +0 -0
- package/dist/root25.css +0 -0
- package/dist/root26.css +0 -0
- package/dist/root27.css +0 -0
- package/dist/root28.css +0 -0
- package/dist/root29.css +0 -0
- package/dist/root3.css +0 -0
- package/dist/root30.css +0 -0
- package/dist/root31.css +0 -0
- package/dist/root32.css +0 -0
- package/dist/root33.css +0 -0
- package/dist/root34.css +0 -0
- package/dist/root35.css +0 -0
- package/dist/root36.css +0 -0
- package/dist/root37.css +0 -0
- package/dist/root38.css +0 -0
- package/dist/root39.css +0 -0
- package/dist/root4.css +0 -0
- package/dist/root40.css +0 -0
- package/dist/root41.css +0 -0
- package/dist/root42.css +0 -0
- package/dist/root43.css +0 -0
- package/dist/root44.css +0 -0
- package/dist/root45.css +0 -0
- package/dist/root46.css +0 -0
- package/dist/root47.css +0 -0
- package/dist/root48.css +0 -0
- package/dist/root49.css +0 -0
- package/dist/root5.css +0 -0
- package/dist/root50.css +0 -0
- package/dist/root51.css +0 -0
- package/dist/root52.css +0 -0
- package/dist/root53.css +0 -0
- package/dist/root54.css +0 -0
- package/dist/root55.css +0 -0
- package/dist/root56.css +0 -0
- package/dist/root57.css +0 -0
- package/dist/root58.css +0 -0
- package/dist/root59.css +0 -0
- package/dist/root6.css +0 -0
- package/dist/root60.css +0 -0
- package/dist/root61.css +0 -0
- package/dist/root62.css +0 -0
- package/dist/root63.css +0 -0
- package/dist/root64.css +0 -0
- package/dist/root65.css +0 -0
- package/dist/root66.css +0 -0
- package/dist/root67.css +0 -0
- package/dist/root68.css +0 -0
- package/dist/root69.css +0 -0
- package/dist/root7.css +0 -0
- package/dist/root70.css +0 -0
- package/dist/root71.css +0 -0
- package/dist/root72.css +0 -0
- package/dist/root73.css +0 -0
- package/dist/root74.css +0 -0
- package/dist/root75.css +0 -0
- package/dist/root76.css +0 -0
- package/dist/root77.css +0 -0
- package/dist/root78.css +0 -0
- package/dist/root79.css +0 -0
- package/dist/root8.css +0 -0
- package/dist/root80.css +0 -0
- package/dist/root81.css +0 -0
- package/dist/root82.css +0 -0
- package/dist/root83.css +0 -0
- package/dist/root84.css +0 -0
- package/dist/root85.css +0 -0
- package/dist/root86.css +0 -0
- package/dist/root87.css +0 -0
- package/dist/root88.css +0 -0
- package/dist/root89.css +0 -0
- package/dist/root9.css +0 -0
- package/dist/root90.css +0 -0
- package/dist/root91.css +0 -0
- package/dist/root92.css +0 -0
- package/dist/root93.css +0 -0
- package/dist/root94.css +0 -0
- package/dist/root95.css +0 -0
- package/dist/root96.css +0 -0
- package/dist/root97.css +0 -0
- package/dist/root98.css +0 -0
- package/dist/root99.css +0 -1
package/README.md
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
# UI Kit
|
|
2
|
-
|
|
3
|
-
Библиотека React компонентов с дизайн-системой для внутренних проектов.
|
|
4
|
-
|
|
5
|
-
## Включает:
|
|
6
|
-
|
|
7
|
-
- React компоненты
|
|
8
|
-
- CSS переменные и токены дизайна
|
|
9
|
-
- SCSS утилиты и миксины
|
|
10
|
-
- TypeScript типы
|
|
11
|
-
- SVG иконки
|
|
12
|
-
- Провайдеры тем (ThemeProviderScoped)
|
|
13
|
-
|
|
14
|
-
## Документация
|
|
15
|
-
|
|
16
|
-
Ссылки на более подробную документацию по разделам
|
|
17
|
-
|
|
18
|
-
- **[Сборка](./docs/build/index.md)** - команды сборки, публикация в npm, конфигурации Vite и т.д.
|
|
19
|
-
- **[Использование](./docs/usage/index.md)** - как использовать UI Kit в проектах, подключение стилей, примеры компонентов
|
|
20
|
-
- **[Стили](./docs/styles/index.md)** - подключение шрифтов, CSS переменных, базовые стили и миксины
|
|
21
|
-
- **[Утилиты](./docs/utils/index.md)** - функции хелперы
|
|
1
|
+
# UI Kit
|
|
2
|
+
|
|
3
|
+
Библиотека React компонентов с дизайн-системой для внутренних проектов.
|
|
4
|
+
|
|
5
|
+
## Включает:
|
|
6
|
+
|
|
7
|
+
- React компоненты
|
|
8
|
+
- CSS переменные и токены дизайна
|
|
9
|
+
- SCSS утилиты и миксины
|
|
10
|
+
- TypeScript типы
|
|
11
|
+
- SVG иконки
|
|
12
|
+
- Провайдеры тем (ThemeProviderScoped)
|
|
13
|
+
|
|
14
|
+
## Документация
|
|
15
|
+
|
|
16
|
+
Ссылки на более подробную документацию по разделам
|
|
17
|
+
|
|
18
|
+
- **[Сборка](./docs/build/index.md)** - команды сборки, публикация в npm, конфигурации Vite и т.д.
|
|
19
|
+
- **[Использование](./docs/usage/index.md)** - как использовать UI Kit в проектах, подключение стилей, примеры компонентов
|
|
20
|
+
- **[Стили](./docs/styles/index.md)** - подключение шрифтов, CSS переменных, базовые стили и миксины
|
|
21
|
+
- **[Утилиты](./docs/utils/index.md)** - функции хелперы
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../../src/components/controls/IconButton/IconButton.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../../src/components/controls/IconButton/IconButton.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAI9D,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 @@
|
|
|
1
|
+
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/Avatar/Avatar.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAItD,wBAAgB,MAAM,CAAC,EACrB,IAAI,EACJ,QAAQ,EACR,SAAS,EACT,KAAiB,EACjB,IAAW,EACX,GAAG,KAAK,EACT,EAAE,YAAY,2CAiBd"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { IAvatarProps } from './Avatar.types';
|
|
3
|
+
declare const meta: Meta<IAvatarProps>;
|
|
4
|
+
type Story = StoryObj<typeof meta>;
|
|
5
|
+
export declare const SvgIcon: Story;
|
|
6
|
+
export declare const ImgTag: Story;
|
|
7
|
+
export declare const Text: {
|
|
8
|
+
args: {
|
|
9
|
+
children: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
export default meta;
|
|
13
|
+
//# sourceMappingURL=Avatar.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Avatar.stories.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/Avatar/Avatar.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAM5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,YAAY,CAuB5B,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,eAAO,MAAM,IAAI;;;;CAIhB,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
import { CustomType, NegativeType, PositiveType, PrimaryType, SecondaryType, Size, WarningType } from '../../../types/tokens.types.ts';
|
|
3
|
+
type AvatarAttributes = Pick<ComponentProps<'div'>, 'className' | 'children'>;
|
|
4
|
+
type AvatarRestAttributes = Omit<ComponentProps<'div'>, keyof AvatarAttributes>;
|
|
5
|
+
type AvatarSize = Extract<Size, 'lg' | 'sm' | 'md'> | CustomType;
|
|
6
|
+
type AvatarColor = PrimaryType | SecondaryType | NegativeType | PositiveType | WarningType | CustomType;
|
|
7
|
+
export interface IAvatarProps extends AvatarAttributes {
|
|
8
|
+
size?: AvatarSize;
|
|
9
|
+
color?: AvatarColor;
|
|
10
|
+
attr?: AvatarRestAttributes;
|
|
11
|
+
}
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=Avatar.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Avatar.types.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/Avatar/Avatar.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,KAAK,EACV,UAAU,EACV,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,aAAa,EACb,IAAI,EACJ,WAAW,EACZ,MAAM,yBAAyB,CAAC;AAEjC,KAAK,gBAAgB,GAAG,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,WAAW,GAAG,UAAU,CAAC,CAAC;AAE9E,KAAK,oBAAoB,GAAG,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,MAAM,gBAAgB,CAAC,CAAC;AAEhF,KAAK,UAAU,GAAG,OAAO,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC,GAAG,UAAU,CAAC;AACjE,KAAK,WAAW,GACZ,WAAW,GACX,aAAa,GACb,YAAY,GACZ,YAAY,GACZ,WAAW,GACX,UAAU,CAAC;AAEf,MAAM,WAAW,YAAa,SAAQ,gBAAgB;IACpD,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,IAAI,CAAC,EAAE,oBAAoB,CAAC;CAC7B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/shared/Avatar/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,mBAAmB,gBAAgB,CAAC"}
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +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"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAC;AAEnC,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
|
package/dist/root.css
CHANGED
|
Binary file
|
|
@@ -1,11 +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
|
-
}
|
|
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
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
@forward 'base';
|
|
2
|
-
@forward 'screen';
|
|
3
|
-
@forward 'semantic';
|
|
1
|
+
@forward 'base';
|
|
2
|
+
@forward 'screen';
|
|
3
|
+
@forward 'semantic';
|
|
@@ -1,67 +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
|
-
}
|
|
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
|
+
}
|
|
@@ -1,31 +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
|
-
}
|
|
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
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
@mixin Inter {
|
|
2
|
-
font-family: Inter, sans-serif;
|
|
3
|
-
}
|
|
1
|
+
@mixin Inter {
|
|
2
|
+
font-family: Inter, sans-serif;
|
|
3
|
+
}
|
|
@@ -1,59 +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
|
-
}
|
|
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
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@forward 'font-family';
|
|
2
|
-
@forward 'font-weight';
|
|
1
|
+
@forward 'font-family';
|
|
2
|
+
@forward 'font-weight';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
@forward 'breakpoints';
|
|
2
|
-
@forward 'fonts';
|
|
3
|
-
@forward 'size';
|
|
4
|
-
@forward 'typography';
|
|
5
|
-
@forward 'style';
|
|
1
|
+
@forward 'breakpoints';
|
|
2
|
+
@forward 'fonts';
|
|
3
|
+
@forward 'size';
|
|
4
|
+
@forward 'typography';
|
|
5
|
+
@forward 'style';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@forward 'modifiers';
|
|
1
|
+
@forward 'modifiers';
|
|
@@ -1,29 +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
|
-
}
|
|
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
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@forward 'variants';
|
|
1
|
+
@forward 'variants';
|
|
@@ -1,34 +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
|
-
}
|
|
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
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
@forward 'text';
|
|
2
|
-
@forward 'title';
|
|
1
|
+
@forward 'text';
|
|
2
|
+
@forward 'title';
|