@fox-js/foxui 4.0.1-94 → 4.0.1-95

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 (99) hide show
  1. package/dist/index.cjs.js +2 -2
  2. package/dist/index.esm.js +5840 -6186
  3. package/dist/index.umd.js +2 -2
  4. package/dist/locale/index.d.ts +0 -90
  5. package/dist/locale/index.esm.js +0 -78
  6. package/dist/locale/index.umd.js +1 -1
  7. package/dist/style.css +481 -772
  8. package/dist/style.js +1 -1
  9. package/dist/theme/common/base.scss +39 -0
  10. package/dist/theme/common/border.scss +16 -0
  11. package/dist/theme/common/color.scss +126 -0
  12. package/dist/theme/common/fill.scss +25 -0
  13. package/dist/theme/common/shadow.scss +28 -0
  14. package/dist/theme/common/typography.scss +38 -0
  15. package/dist/theme/common/var.scss +6 -0
  16. package/dist/theme/components/actionsheet.scss +49 -0
  17. package/dist/theme/components/avatar.scss +15 -0
  18. package/dist/theme/components/backtop.scss +10 -0
  19. package/dist/theme/components/badge.scss +23 -0
  20. package/dist/theme/components/button.scss +97 -0
  21. package/dist/theme/components/buttons-item.scss +12 -0
  22. package/dist/theme/components/calendar.scss +31 -0
  23. package/dist/theme/components/card.scss +16 -0
  24. package/dist/theme/components/cascader.scss +23 -0
  25. package/dist/theme/components/cell.scss +44 -0
  26. package/dist/theme/components/checkbox.scss +35 -0
  27. package/dist/theme/components/circleprogress.scss +16 -0
  28. package/dist/theme/components/collapse.scss +24 -0
  29. package/dist/theme/components/content.scss +10 -0
  30. package/dist/theme/components/countdown.scss +11 -0
  31. package/dist/theme/components/dialog.scss +48 -0
  32. package/dist/theme/components/divider.scss +22 -0
  33. package/dist/theme/components/elevator.scss +49 -0
  34. package/dist/theme/components/ellipsis.scss +10 -0
  35. package/dist/theme/components/empty.scss +18 -0
  36. package/dist/theme/components/fixednav.scss +14 -0
  37. package/dist/theme/components/floating-button.scss +23 -0
  38. package/dist/theme/components/footer-bar.scss +16 -0
  39. package/dist/theme/components/footer.scss +11 -0
  40. package/dist/theme/components/form.scss +24 -0
  41. package/dist/theme/components/grid.scss +18 -0
  42. package/dist/theme/components/group.scss +28 -0
  43. package/dist/theme/components/header-bar.scss +36 -0
  44. package/dist/theme/components/hint-text.scss +22 -0
  45. package/dist/theme/components/icon.scss +11 -0
  46. package/dist/theme/components/index.scss +75 -0
  47. package/dist/theme/components/indicator.scss +18 -0
  48. package/dist/theme/components/infiniteloading.scss +12 -0
  49. package/dist/theme/components/input-number.scss +38 -0
  50. package/dist/theme/components/input.scss +61 -0
  51. package/dist/theme/components/link-item.scss +15 -0
  52. package/dist/theme/components/list.scss +9 -0
  53. package/dist/theme/components/menu.scss +31 -0
  54. package/dist/theme/components/messagebox.scss +55 -0
  55. package/dist/theme/components/navbar.scss +24 -0
  56. package/dist/theme/components/noticebar.scss +20 -0
  57. package/dist/theme/components/notify.scss +21 -0
  58. package/dist/theme/components/numberkeyboard.scss +30 -0
  59. package/dist/theme/components/pagination.scss +22 -0
  60. package/dist/theme/components/picker.scss +24 -0
  61. package/dist/theme/components/popover-dialog.scss +23 -0
  62. package/dist/theme/components/popover.scss +20 -0
  63. package/dist/theme/components/popup-wrapper.scss +40 -0
  64. package/dist/theme/components/popup.scss +13 -0
  65. package/dist/theme/components/price.scss +19 -0
  66. package/dist/theme/components/progress.scss +32 -0
  67. package/dist/theme/components/radio.scss +33 -0
  68. package/dist/theme/components/range.scss +18 -0
  69. package/dist/theme/components/rate.scss +13 -0
  70. package/dist/theme/components/row-item.scss +14 -0
  71. package/dist/theme/components/searchbar.scss +28 -0
  72. package/dist/theme/components/shortpassword.scss +17 -0
  73. package/dist/theme/components/sidenavbar.scss +27 -0
  74. package/dist/theme/components/skeleton.scss +10 -0
  75. package/dist/theme/components/slot-item.scss +10 -0
  76. package/dist/theme/components/steps-bar.scss +55 -0
  77. package/dist/theme/components/steps.scss +36 -0
  78. package/dist/theme/components/swiper.scss +12 -0
  79. package/dist/theme/components/switch-item.scss +9 -0
  80. package/dist/theme/components/switch.scss +20 -0
  81. package/dist/theme/components/tabbar.scss +21 -0
  82. package/dist/theme/components/table.scss +15 -0
  83. package/dist/theme/components/tabs-bar.scss +110 -0
  84. package/dist/theme/components/tabs-frame.scss +9 -0
  85. package/dist/theme/components/tag.scss +41 -0
  86. package/dist/theme/components/text.scss +36 -0
  87. package/dist/theme/components/textarea.scss +18 -0
  88. package/dist/theme/components/toast.scss +18 -0
  89. package/dist/theme/components/trendarrow.scss +12 -0
  90. package/dist/theme/components/uploader.scss +12 -0
  91. package/dist/theme/components/watermark.scss +9 -0
  92. package/dist/theme/dark/css-vars.scss +27 -0
  93. package/dist/theme/dark/var.scss +77 -0
  94. package/dist/theme/index.scss +248 -0
  95. package/dist/theme/mixins/_css-var.scss +39 -0
  96. package/dist/theme/mixins/index.scss +1 -0
  97. package/dist/theme/readme.md +359 -0
  98. package/dist/types/index.d.ts +146 -114
  99. package/package.json +3 -1
@@ -0,0 +1,24 @@
1
+ @use 'sass:map';
2
+ @use '../common/color' as *;
3
+ @use '../common/typography' as *;
4
+ @use '../common/base' as *;
5
+
6
+ $collapse: () !default;
7
+ $collapse: map.deep-merge(
8
+ (
9
+ 'item-color': $title-color-secondary,
10
+ 'item-disabled-color': $disabled-color,
11
+ 'item-font-size': $font-size-base,
12
+ 'item-icon-color': $title-color-secondary,
13
+ 'item-line-height': 24px,
14
+ 'item-padding': 13px 36px 13px 26px,
15
+ 'item-sub-title-color': $title-color-secondary,
16
+ 'wrapper-content-background-color': $white,
17
+ 'wrapper-content-color': $title-color-secondary,
18
+ 'wrapper-content-font-size': $font-size-base,
19
+ 'wrapper-content-line-height': $line-height-base,
20
+ 'wrapper-content-padding': 12px 26px,
21
+ 'wrapper-empty-content-padding': 0 26px
22
+ ),
23
+ $collapse
24
+ );
@@ -0,0 +1,10 @@
1
+ @use 'sass:map';
2
+ @use '../common/color' as *;
3
+
4
+ $content: () !default;
5
+ $content: map.deep-merge(
6
+ (
7
+ 'background-color': $white,
8
+ ),
9
+ $content
10
+ );
@@ -0,0 +1,11 @@
1
+ @use 'sass:map';
2
+
3
+ $countdown: () !default;
4
+ $countdown: map.deep-merge(
5
+ (
6
+ 'color': inherit,
7
+ 'display': flex,
8
+ 'font-size': initial,
9
+ ),
10
+ $countdown
11
+ );
@@ -0,0 +1,48 @@
1
+ @use 'sass:map';
2
+ @use '../common/color' as *;
3
+ @use '../common/typography' as *;
4
+ @use '../common/border' as *;
5
+ @use '../common/base' as *;
6
+
7
+ $dialog: () !default;
8
+ $dialog: map.deep-merge(
9
+ (
10
+ 'background': transparent,
11
+ 'body-background': transparent,
12
+ 'body-margin': 20px 0px,
13
+ 'body-padding': 0px,
14
+ 'content-color': $text-color-regular,
15
+ 'content-font-size': $font-size-small,
16
+ 'content-line-height': 16px,
17
+ 'content-padding': 0px,
18
+ 'content-text-align': center,
19
+ 'footer-background': transparent,
20
+ 'footer-button-color': $title-color-secondary,
21
+ 'footer-button-color-primary': $color-danger,
22
+ 'footer-button-font-size': $font-size-medium,
23
+ 'footer-button-font-weight': $font-weight-bold,
24
+ 'footer-button-padding': 10px,
25
+ 'footer-button-border-left': 1px solid $border-color-lighter,
26
+ 'footer-height': auto,
27
+ 'footer-justify-content': center,
28
+ 'footer-layout': row nowrap,
29
+ 'footer-padding': 0px,
30
+ 'header-align-items': center,
31
+ 'header-background': transparent,
32
+ 'header-close-icon-color': $text-color-secondary,
33
+ 'header-close-icon-size': $font-size-medium,
34
+ 'header-color': $title-color,
35
+ 'header-font-size': $font-size-medium,
36
+ 'header-font-weight': normal,
37
+ 'header-height': 20px,
38
+ 'header-justify-content': center,
39
+ 'header-layout': row nowrap,
40
+ 'header-padding': 0px,
41
+ 'height': auto,
42
+ 'min-height': 156px,
43
+ 'padding': 28px 24px 16px 24px,
44
+ 'popup-border-radius': 20px,
45
+ 'width': 80%
46
+ ),
47
+ $dialog
48
+ );
@@ -0,0 +1,22 @@
1
+ @use 'sass:map';
2
+ @use '../common/color' as *;
3
+ @use '../common/typography' as *;
4
+ @use '../common/border' as *;
5
+ @use '../common/base' as *;
6
+
7
+ $divider: () !default;
8
+ $divider: map.deep-merge(
9
+ (
10
+ 'after-margin-left': 16px,
11
+ 'before-margin-right': 16px,
12
+ 'line-height': 2px,
13
+ 'margin': 16px 0,
14
+ 'text-color': $text-color-secondary,
15
+ 'text-font-size': $font-size-base,
16
+ 'vertical-border-left': $border-color-base,
17
+ 'vertical-height': 12px,
18
+ 'vertical-margin': 0 8px,
19
+ 'vertical-top': 2px,
20
+ ),
21
+ $divider
22
+ );
@@ -0,0 +1,49 @@
1
+ @use 'sass:map';
2
+ @use '../common/color' as *;
3
+ @use '../common/typography' as *;
4
+ @use '../common/border' as *;
5
+ @use '../common/fill' as *;
6
+ @use '../common/base' as *;
7
+
8
+ $elevator: () !default;
9
+ $elevator: map.deep-merge(
10
+ (
11
+ 'list-fixed-bg-color': $white,
12
+ 'list-fixed-box-shadow': 0 0 10px $border-color-lighter,
13
+ 'list-fixed-color': $color-primary,
14
+ 'list-item-bars-border-radius': 6px,
15
+ 'list-item-bars-inner-item-padding': 3px,
16
+ 'list-item-bars-padding': 15px 0,
17
+ 'list-item-bars-position': absolute,
18
+ 'list-item-bars-right': 8px,
19
+ 'list-item-bars-text-align': center,
20
+ 'list-item-bars-top': 50%,
21
+ 'list-item-bars-transform': translateY(-50%),
22
+ 'list-item-bars-z-index': 1,
23
+ 'list-item-code-after-bg-color': $fill-color-base,
24
+ 'list-item-code-after-height': 1px,
25
+ 'list-item-code-after-width': 100%,
26
+ 'list-item-code-current-bg-color': $white,
27
+ 'list-item-code-current-border-radius': 50%,
28
+ 'list-item-code-current-height': 45px,
29
+ 'list-item-code-current-line-height': 45px,
30
+ 'list-item-code-current-position': absolute,
31
+ 'list-item-code-current-right': 60px,
32
+ 'list-item-code-current-text-align': center,
33
+ 'list-item-code-current-top': 50%,
34
+ 'list-item-code-current-width': 45px,
35
+ 'list-item-code-font-color': $title-color,
36
+ 'list-item-code-font-size': $font-size-base,
37
+ 'list-item-code-font-weight': 500,
38
+ 'list-item-code-height': 35px,
39
+ 'list-item-code-line-height': 35px,
40
+ 'list-item-code-padding': 0 20px,
41
+ 'list-item-font-color': $title-color,
42
+ 'list-item-font-size': $font-size-small,
43
+ 'list-item-highcolor': $color-primary,
44
+ 'list-item-name-height': 30px,
45
+ 'list-item-name-line-height': 30px,
46
+ 'list-item-name-padding': 0 20px,
47
+ ),
48
+ $elevator
49
+ );
@@ -0,0 +1,10 @@
1
+ @use 'sass:map';
2
+ @use '../common/color' as *;
3
+
4
+ $ellipsis: () !default;
5
+ $ellipsis: map.deep-merge(
6
+ (
7
+ 'expand-collapse-color': $color-primary,
8
+ ),
9
+ $ellipsis
10
+ );
@@ -0,0 +1,18 @@
1
+ @use 'sass:map';
2
+ @use '../common/color' as *;
3
+ @use '../common/typography' as *;
4
+ @use '../common/base' as *;
5
+
6
+ $empty: () !default;
7
+ $empty: map.deep-merge(
8
+ (
9
+ 'description-color': $title-color-secondary,
10
+ 'description-font-size': $font-size-base,
11
+ 'description-line-height': 20px,
12
+ 'description-margin-top': 4px,
13
+ 'description-padding': 0 40px,
14
+ 'image-size': 170px,
15
+ 'padding': 32px 0,
16
+ ),
17
+ $empty
18
+ );
@@ -0,0 +1,14 @@
1
+ @use 'sass:map';
2
+ @use '../common/color' as *;
3
+
4
+ $fixednav: () !default;
5
+ $fixednav: map.deep-merge(
6
+ (
7
+ 'bg-color': $white,
8
+ 'btn-bg': $color-primary,
9
+ 'font-color': $black,
10
+ 'index': 201,
11
+ 'item-active-color': $color-primary,
12
+ ),
13
+ $fixednav
14
+ );
@@ -0,0 +1,23 @@
1
+ @use 'sass:map';
2
+ @use '../common/color' as *;
3
+ @use '../common/typography' as *;
4
+ @use '../common/border' as *;
5
+ @use '../common/base' as *;
6
+ @use '../common/shadow' as *;
7
+
8
+ $floating-button: () !default;
9
+ $floating-button: map.deep-merge(
10
+ (
11
+ 'background': $color-primary,
12
+ 'border-radius': 50%,
13
+ 'box-shadow': $box-shadow-light,
14
+ 'color': $white,
15
+ 'height': 52px,
16
+ 'icon-size': $font-size-extra-large,
17
+ 'opacity': 1,
18
+ 'position': absolute,
19
+ 'width': 52px,
20
+ 'z-index': 3600,
21
+ ),
22
+ $floating-button
23
+ );
@@ -0,0 +1,16 @@
1
+ @use 'sass:map';
2
+ @use '../common/border' as *;
3
+
4
+ $footer-bar: () !default;
5
+ $footer-bar: map.deep-merge(
6
+ (
7
+ 'border-bottom': 1px solid $border-color-lighter,
8
+ 'border-top': 1px solid $border-color-lighter,
9
+ 'box-sizing': content-box,
10
+ 'fixed': fixed,
11
+ 'min-height': 50px,
12
+ 'padding': 7px 0,
13
+ 'z-index': 10,
14
+ ),
15
+ $footer-bar
16
+ );
@@ -0,0 +1,11 @@
1
+ @use 'sass:map';
2
+ @use '../common/color' as *;
3
+
4
+ $footer: () !default;
5
+ $footer: map.deep-merge(
6
+ (
7
+ 'background-color': $white,
8
+ 'bar-box-shadow': none,
9
+ ),
10
+ $footer
11
+ );
@@ -0,0 +1,24 @@
1
+ @use 'sass:map';
2
+ @use '../common/color' as *;
3
+ @use '../common/typography' as *;
4
+ @use '../common/base' as *;
5
+
6
+ $form: () !default;
7
+ $form: map.deep-merge(
8
+ (
9
+ 'item-error-line-color': $required-color,
10
+ 'item-required-color': $required-color,
11
+ 'item-error-message-color': $required-color,
12
+ 'item-label-font-size': $font-size-base,
13
+ 'item-label-width': 90px,
14
+ 'item-label-margin-right': 10px,
15
+ 'item-label-text-align': left,
16
+ 'item-required-margin-right': 4px,
17
+ 'item-body-font-size': $font-size-base,
18
+ 'item-body-slots-text-align': left,
19
+ 'item-body-input-text-align': left,
20
+ 'item-tip-font-size': $font-size-extra-small,
21
+ 'item-tip-text-align': left
22
+ ),
23
+ $form
24
+ );
@@ -0,0 +1,18 @@
1
+ @use 'sass:map';
2
+ @use '../common/color' as *;
3
+ @use '../common/typography' as *;
4
+ @use '../common/border' as *;
5
+ @use '../common/base' as *;
6
+
7
+ $grid: () !default;
8
+ $grid: map.deep-merge(
9
+ (
10
+ 'border-color': $border-color-lighter,
11
+ 'item-content-bg-color': $white,
12
+ 'item-content-padding': 16px 8px,
13
+ 'item-text-color': $title-color-secondary,
14
+ 'item-text-font-size': $font-size-small,
15
+ 'item-text-margin': 8px,
16
+ ),
17
+ $grid
18
+ );
@@ -0,0 +1,28 @@
1
+ @use 'sass:map';
2
+ @use '../common/color' as *;
3
+ @use '../common/typography' as *;
4
+ @use '../common/base' as *;
5
+
6
+ $group: () !default;
7
+ $group: map.deep-merge(
8
+ (
9
+ 'background-color': inhert,
10
+ 'flow-padding': 0,
11
+ 'grid-padding': 0,
12
+ 'header-collapse-color': $color-primary,
13
+ 'header-collapse-font-size': $font-size-base,
14
+ 'header-collapse-gutter': 2px,
15
+ 'header-collapse-icon-size': $font-size-small,
16
+ 'header-color': $title-color,
17
+ 'header-font-size': $font-size-base,
18
+ 'header-font-weight': $font-weight-bold,
19
+ 'header-line-height': 20px,
20
+ 'header-margin': 0 0 10px 0,
21
+ 'header-mark-color': $color-primary,
22
+ 'header-mark-height': 15px,
23
+ 'header-mark-width': 3px,
24
+ 'header-padding': 0,
25
+ 'padding': 0,
26
+ ),
27
+ $group
28
+ );
@@ -0,0 +1,36 @@
1
+ @use 'sass:map';
2
+ @use '../common/color' as *;
3
+ @use '../common/typography' as *;
4
+ @use '../common/border' as *;
5
+ @use '../common/base' as *;
6
+
7
+ $header-bar: () !default;
8
+ $header-bar: map.deep-merge(
9
+ (
10
+ 'background-color': $white,
11
+ 'border-bottom': 1px solid $border-color-lighter,
12
+ 'border-top': 0px solid $border-color-lighter,
13
+ 'bottom-box-sizing': border-box,
14
+ 'bottom-height': auto,
15
+ 'bottom-padding': 0px,
16
+ 'box-shadow': 0px 1px 7px 0px $border-color-lighter,
17
+ 'box-sizing': content-box,
18
+ 'color': $title-color,
19
+ 'fixed': fixed,
20
+ 'inner-background-color': unset,
21
+ 'inner-box-sizing': content-box,
22
+ 'inner-height': 44px,
23
+ 'inner-padding': 0px,
24
+ 'left-font-size': $font-size-medium,
25
+ 'left-icon-size': $font-size-large,
26
+ 'left-padding': 0 16px,
27
+ 'min-height': auto,
28
+ 'right-font-size': $font-size-medium,
29
+ 'right-icon-size': $font-size-large,
30
+ 'right-padding': 0 16px,
31
+ 'title-font-size': $font-size-medium,
32
+ 'title-icon-size': $font-size-large,
33
+ 'z-index': 10,
34
+ ),
35
+ $header-bar
36
+ );
@@ -0,0 +1,22 @@
1
+ @use 'sass:map';
2
+ @use '../common/color' as *;
3
+ @use '../common/typography' as *;
4
+ @use '../common/border' as *;
5
+ @use '../common/base' as *;
6
+ @use '../common/shadow' as *;
7
+
8
+ $hint-text: () !default;
9
+ $hint-text: map.deep-merge(
10
+ (
11
+ 'arrow-size': 6px,
12
+ 'background-color': $overlay-text-bg-color,
13
+ 'box-shadow': $box-shadow,
14
+ 'color': $white,
15
+ 'font-size': $font-size-base,
16
+ 'font-size-large': $font-size-large,
17
+ 'font-size-small': $font-size-small,
18
+ 'padding': 6px 8px,
19
+ 'z-index': 3000,
20
+ ),
21
+ $hint-text
22
+ );
@@ -0,0 +1,11 @@
1
+ @use 'sass:map';
2
+
3
+ $icon: () !default;
4
+ $icon: map.deep-merge(
5
+ (
6
+ 'height': 20px,
7
+ 'line-height': 20px,
8
+ 'width': 20px,
9
+ ),
10
+ $icon
11
+ );
@@ -0,0 +1,75 @@
1
+ @forward 'actionsheet';
2
+ @forward 'avatar';
3
+ @forward 'backtop';
4
+ @forward 'badge';
5
+ @forward 'button';
6
+ @forward 'buttons-item';
7
+ @forward 'calendar';
8
+ @forward 'card';
9
+ @forward 'cascader';
10
+ @forward 'cell';
11
+ @forward 'checkbox';
12
+ @forward 'circleprogress';
13
+ @forward 'collapse';
14
+ @forward 'content';
15
+ @forward 'countdown';
16
+ @forward 'dialog';
17
+ @forward 'divider';
18
+ @forward 'elevator';
19
+ @forward 'ellipsis';
20
+ @forward 'empty';
21
+ @forward 'fixednav';
22
+ @forward 'floating-button';
23
+ @forward 'footer';
24
+ @forward 'footer-bar';
25
+ @forward 'form';
26
+ @forward 'grid';
27
+ @forward 'group';
28
+ @forward 'header-bar';
29
+ @forward 'hint-text';
30
+ @forward 'icon';
31
+ @forward 'indicator';
32
+ @forward 'infiniteloading';
33
+ @forward 'input';
34
+ @forward 'input-number';
35
+ @forward 'link-item';
36
+ @forward 'list';
37
+ @forward 'menu';
38
+ @forward 'messagebox';
39
+ @forward 'navbar';
40
+ @forward 'noticebar';
41
+ @forward 'notify';
42
+ @forward 'numberkeyboard';
43
+ @forward 'pagination';
44
+ @forward 'picker';
45
+ @forward 'popover';
46
+ @forward 'popover-dialog';
47
+ @forward 'popup';
48
+ @forward 'popup-wrapper';
49
+ @forward 'price';
50
+ @forward 'progress';
51
+ @forward 'radio';
52
+ @forward 'range';
53
+ @forward 'rate';
54
+ @forward 'row-item';
55
+ @forward 'searchbar';
56
+ @forward 'shortpassword';
57
+ @forward 'sidenavbar';
58
+ @forward 'skeleton';
59
+ @forward 'slot-item';
60
+ @forward 'steps';
61
+ @forward 'steps-bar';
62
+ @forward 'swiper';
63
+ @forward 'switch';
64
+ @forward 'switch-item';
65
+ @forward 'tabbar';
66
+ @forward 'table';
67
+ @forward 'tabs-bar';
68
+ @forward 'tabs-frame';
69
+ @forward 'tag';
70
+ @forward 'text';
71
+ @forward 'textarea';
72
+ @forward 'toast';
73
+ @forward 'trendarrow';
74
+ @forward 'uploader';
75
+ @forward 'watermark';
@@ -0,0 +1,18 @@
1
+ @use 'sass:map';
2
+ @use '../common/color' as *;
3
+ @use '../common/typography' as *;
4
+ @use '../common/base' as *;
5
+
6
+ $indicator: () !default;
7
+ $indicator: map.deep-merge(
8
+ (
9
+ 'bg-color': $color-primary,
10
+ 'border-size': var(--fox-indicator-size) + 2,
11
+ 'color': $white,
12
+ 'dot-color': $disabled-color,
13
+ 'dot-size': calc(var(--fox-indicator-size) / 3),
14
+ 'number-font-size': $font-size-extra-small,
15
+ 'size': $font-size-large
16
+ ),
17
+ $indicator
18
+ );
@@ -0,0 +1,12 @@
1
+ @use 'sass:map';
2
+ @use '../common/color' as *;
3
+ @use '../common/typography.scss' as *;
4
+ @use '../common/base' as *;
5
+
6
+ $infiniteloading: () !default;
7
+ $infiniteloading: map.deep-merge(
8
+ (
9
+ 'bottom-color': $disabled-color
10
+ ),
11
+ $infiniteloading
12
+ );
@@ -0,0 +1,38 @@
1
+ @use 'sass:map';
2
+ @use '../common/color' as *;
3
+ @use '../common/typography' as *;
4
+ @use '../common/border' as *;
5
+ @use '../common/fill' as *;
6
+ @use '../common/base' as *;
7
+
8
+ $input-number: () !default;
9
+ $input-number: map.deep-merge(
10
+ (
11
+ 'icon-color': $title-color,
12
+ 'icon-void-color': $disabled-color,
13
+ 'icon-size': $font-size-extra-large,
14
+ 'input-font-size': $font-size-small,
15
+ 'input-font-color': $title-color,
16
+ 'input-background-color': $fill-color-base,
17
+ 'input-border-radius': 4px,
18
+ 'input-width': 40px,
19
+ 'input-margin': 0 6px,
20
+ 'input-border': 0,
21
+ 'border': 0,
22
+ 'border-radius': 0,
23
+ 'height': auto,
24
+ 'line-height': normal,
25
+ 'border-box': content-box,
26
+ 'display': flex,
27
+ 'item-padding': 0 29px 0 0,
28
+ 'item-input-widht': 40px,
29
+ 'item-input-width': 40px,
30
+ 'item-input-color': var(--fox-input-item-color),
31
+ 'item-input-background': $fill-color-base,
32
+ 'item-left-color': var(--fox-input-item-color),
33
+ 'item-left-background': $fill-color-base,
34
+ 'item-right-color': $white,
35
+ 'item-right-background': $color-primary
36
+ ),
37
+ $input-number
38
+ );
@@ -0,0 +1,61 @@
1
+ @use 'sass:map';
2
+ @use '../common/color' as *;
3
+ @use '../common/typography' as *;
4
+ @use '../common/border' as *;
5
+ @use '../common/base' as *;
6
+
7
+ $input: () !default;
8
+ $input: map.deep-merge(
9
+ (
10
+ 'border-bottom': $border-color-light,
11
+ 'color': $text-color-regular,
12
+ 'disabled-color': $disabled-color,
13
+ 'required-color': $required-color,
14
+ 'font-size': $font-size-base
15
+ ),
16
+ $input
17
+ );
18
+
19
+ $input-item: () !default;
20
+ $input-item: map.deep-merge(
21
+ (
22
+ 'width': null,
23
+ 'min-width': 0,
24
+ 'max-width': null,
25
+ 'padding': null,
26
+ 'margin': null,
27
+ 'text-align': right,
28
+ 'label-width': 30%,
29
+ 'label-font-size': $font-size-base,
30
+ 'label-font-weight': $font-weight-bold,
31
+ 'label-line-height': auto,
32
+ 'label-color': $black,
33
+ 'label-padding-top': 0,
34
+ 'label-padding-left': 0 10px 0 0,
35
+ 'label-padding-right': 0 10px 0 0,
36
+ 'append-width': 30px,
37
+ 'append-font-size': $font-size-base,
38
+ 'append-action-icon-size': 14px,
39
+ 'append-action-icon-color': $text-color-placeholder,
40
+ 'color': $black,
41
+ 'background-color': null,
42
+ 'border-bottom': 1px solid $border-color-light,
43
+ 'disabled-color': $disabled-color,
44
+ 'readonly-color': $black,
45
+ 'placeholder-color': $text-color-placeholder,
46
+ 'require-color': $required-color,
47
+ 'font-size': $font-size-base,
48
+ 'height': 24px,
49
+ 'tip-icon-margin': 0 4px 0 0,
50
+ 'tip-icon-size': 10px,
51
+ 'tip-font-size': $font-size-small,
52
+ 'tip-height': 16px,
53
+ 'tip-info-color': $color-info,
54
+ 'tip-warn-color': $color-warning,
55
+ 'tip-error-color': $color-danger,
56
+ 'error-line-color': $color-danger,
57
+ 'unit-color': $black,
58
+ 'unit-font-size': $font-size-base
59
+ ),
60
+ $input-item
61
+ );
@@ -0,0 +1,15 @@
1
+ @use 'sass:map';
2
+ @use '../common/color' as *;
3
+ @use '../common/typography' as *;
4
+ @use '../common/base' as *;
5
+
6
+ $link-item: () !default;
7
+ $link-item: map.deep-merge(
8
+ (
9
+ 'margin': 0,
10
+ 'padding': 0 5px 0 0,
11
+ 'sub-color': $text-color-secondary,
12
+ 'sub-font-size': $font-size-small,
13
+ ),
14
+ $link-item
15
+ );
@@ -0,0 +1,9 @@
1
+ @use 'sass:map';
2
+
3
+ $list: () !default;
4
+ $list: map.deep-merge(
5
+ (
6
+ 'item-margin': 0 0 10px 0,
7
+ ),
8
+ $list
9
+ );