@eaera-com/eaera-widgets-v2 0.1.63 → 0.1.64
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/design-system/components/_alert.scss +150 -0
- package/dist/design-system/components/_auto-complete.scss +165 -0
- package/dist/design-system/components/_avatar-group.scss +25 -0
- package/dist/design-system/components/_avatar.scss +40 -0
- package/dist/design-system/components/_badge.scss +80 -0
- package/dist/design-system/components/_breadcrumb.scss +91 -0
- package/dist/design-system/components/_button.scss +378 -0
- package/dist/design-system/components/_card.scss +27 -0
- package/dist/design-system/components/_carousel.scss +104 -0
- package/dist/design-system/components/_cascader.scss +705 -0
- package/dist/design-system/components/_checkbox-list.scss +18 -0
- package/dist/design-system/components/_checkbox.scss +117 -0
- package/dist/design-system/components/_collapse.scss +84 -0
- package/dist/design-system/components/_color-picker.scss +195 -0
- package/dist/design-system/components/_country-flag.scss +56 -0
- package/dist/design-system/components/_currency-icon.scss +19 -0
- package/dist/design-system/components/_date-picker.scss +748 -0
- package/dist/design-system/components/_dialog.scss +101 -0
- package/dist/design-system/components/_divider.scss +7 -0
- package/dist/design-system/components/_drawer.scss +41 -0
- package/dist/design-system/components/_dropdown.scss +69 -0
- package/dist/design-system/components/_empty.scss +101 -0
- package/dist/design-system/components/_form.scss +151 -0
- package/dist/design-system/components/_growth-balance-profit-widget.scss +95 -0
- package/dist/design-system/components/_input-code.scss +116 -0
- package/dist/design-system/components/_input-number.scss +233 -0
- package/dist/design-system/components/_input-tag.scss +212 -0
- package/dist/design-system/components/_input.scss +239 -0
- package/dist/design-system/components/_link.scss +64 -0
- package/dist/design-system/components/_loading.scss +89 -0
- package/dist/design-system/components/_menu.scss +578 -0
- package/dist/design-system/components/_message-box.scss +78 -0
- package/dist/design-system/components/_message.scss +187 -0
- package/dist/design-system/components/_monthly-gain-widget.scss +114 -0
- package/dist/design-system/components/_pagination.scss +356 -0
- package/dist/design-system/components/_pl-calendar-widget.scss +171 -0
- package/dist/design-system/components/_popconfirm.scss +57 -0
- package/dist/design-system/components/_popper.scss +267 -0
- package/dist/design-system/components/_progress.scss +153 -0
- package/dist/design-system/components/_radio.scss +68 -0
- package/dist/design-system/components/_segmented.scss +215 -0
- package/dist/design-system/components/_select-country.scss +182 -0
- package/dist/design-system/components/_select.scss +235 -0
- package/dist/design-system/components/_skeleton.scss +146 -0
- package/dist/design-system/components/_slider.scss +142 -0
- package/dist/design-system/components/_spinner.scss +73 -0
- package/dist/design-system/components/_steps.scss +292 -0
- package/dist/design-system/components/_switch.scss +89 -0
- package/dist/design-system/components/_switcher.scss +110 -0
- package/dist/design-system/components/_table.scss +580 -0
- package/dist/design-system/components/_tabs.scss +260 -0
- package/dist/design-system/components/_tag.scss +208 -0
- package/dist/design-system/components/_time-picker.scss +255 -0
- package/dist/design-system/components/_time-select.scss +167 -0
- package/dist/design-system/components/_timeline.scss +99 -0
- package/dist/design-system/components/_tooltip.scss +19 -0
- package/dist/design-system/components/_topbar-menu.scss +67 -0
- package/dist/design-system/components/_trade-volume-widget.scss +114 -0
- package/dist/design-system/components/_transfer.scss +241 -0
- package/dist/design-system/components/_tree-select.scss +198 -0
- package/dist/design-system/components/_tree.scss +108 -0
- package/dist/design-system/components/_upload.scss +226 -0
- package/dist/design-system/themes/aurora/bridges/_element-plus-bridge.scss +58 -0
- package/dist/design-system/themes/aurora/elevation/_elevation-tokens.scss +67 -0
- package/dist/design-system/themes/aurora/elevation/_elevation-utils.scss +94 -0
- package/dist/design-system/themes/aurora/index.scss +133 -0
- package/dist/design-system/themes/aurora/layers/_layer1-palettes.scss +289 -0
- package/dist/design-system/themes/aurora/layers/_layer2-alias.scss +250 -0
- package/dist/design-system/themes/aurora/layers/_layer3-tokens.scss +242 -0
- package/dist/design-system/themes/aurora/themes/_dark-mode.scss +177 -0
- package/dist/design-system/themes/aurora/themes/projects/base.scss +11 -0
- package/dist/design-system/themes/aurora/tokens/_border-radius.scss +28 -0
- package/dist/design-system/themes/aurora/tokens/_control-height.scss +18 -0
- package/dist/design-system/themes/aurora/tokens/_screen-size.scss +10 -0
- package/dist/design-system/themes/aurora/tokens/_spacing.scss +29 -0
- package/dist/design-system/themes/aurora/typography/_typography-primitives.scss +11 -0
- package/dist/design-system/themes/aurora/typography/_typography-semantic.scss +5 -0
- package/dist/design-system/themes/aurora/typography/_typography-tokens.scss +185 -0
- package/dist/design-system/themes/aurora/typography/_typography-utils.scss +375 -0
- package/dist/design-system/themes/core/bridges/_element-plus-bridge.scss +82 -0
- package/dist/design-system/themes/core/elevation/_elevation-tokens.scss +67 -0
- package/dist/design-system/themes/core/elevation/_elevation-utils.scss +94 -0
- package/dist/design-system/themes/core/index.scss +130 -0
- package/dist/design-system/themes/core/layers/_layer1-palettes.scss +289 -0
- package/dist/design-system/themes/core/layers/_layer2-alias.scss +242 -0
- package/dist/design-system/themes/core/layers/_layer3-tokens.scss +220 -0
- package/dist/design-system/themes/core/themes/_dark-mode.scss +165 -0
- package/dist/design-system/themes/core/themes/projects/base.scss +11 -0
- package/dist/design-system/themes/core/tokens/_border-radius.scss +28 -0
- package/dist/design-system/themes/core/tokens/_control-height.scss +18 -0
- package/dist/design-system/themes/core/tokens/_screen-size.scss +10 -0
- package/dist/design-system/themes/core/tokens/_spacing.scss +29 -0
- package/dist/design-system/themes/core/typography/_typography-primitives.scss +11 -0
- package/dist/design-system/themes/core/typography/_typography-semantic.scss +5 -0
- package/dist/design-system/themes/core/typography/_typography-tokens.scss +185 -0
- package/dist/design-system/themes/core/typography/_typography-utils.scss +375 -0
- package/package.json +4 -3
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
// ============================================================================
|
|
2
|
+
// LINK — Design System Overrides
|
|
3
|
+
// Figma: https://www.figma.com/design/HSOs8VcK5CKL8s15AqD42x/UI-KIT-CORE?node-id=40065-6518
|
|
4
|
+
// ============================================================================
|
|
5
|
+
// Variants:
|
|
6
|
+
// type = primary | default
|
|
7
|
+
// size = md (default) | sm
|
|
8
|
+
// state = default | hover | disabled
|
|
9
|
+
// ============================================================================
|
|
10
|
+
|
|
11
|
+
@use '../themes/aurora/typography/typography-utils' as typo;
|
|
12
|
+
|
|
13
|
+
@mixin link-variant($color-default, $color-hover) {
|
|
14
|
+
color: $color-default;
|
|
15
|
+
|
|
16
|
+
&:hover {
|
|
17
|
+
color: $color-hover;
|
|
18
|
+
&::after {
|
|
19
|
+
border-bottom-color: $color-hover;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.custom-link.el-link {
|
|
25
|
+
@include typo.label-md;
|
|
26
|
+
|
|
27
|
+
&.is-underline,
|
|
28
|
+
&.is-hover-underline {
|
|
29
|
+
&::after {
|
|
30
|
+
content: '';
|
|
31
|
+
position: absolute;
|
|
32
|
+
left: 0;
|
|
33
|
+
right: 0;
|
|
34
|
+
height: 0;
|
|
35
|
+
bottom: 0;
|
|
36
|
+
border-bottom: 1px solid currentColor;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&.el-link--primary {
|
|
41
|
+
@include link-variant(var(--er-action-primary-default), var(--er-action-primary-hover));
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&.el-link--default {
|
|
45
|
+
@include link-variant(var(--er-action-neutral-default), var(--er-action-neutral-hover));
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&.is-disabled {
|
|
49
|
+
opacity: 0.5;
|
|
50
|
+
cursor: not-allowed;
|
|
51
|
+
|
|
52
|
+
&::after {
|
|
53
|
+
display: none;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&:hover {
|
|
57
|
+
color: inherit;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&.sm {
|
|
62
|
+
@include typo.label-sm;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
// ============================================================================
|
|
2
|
+
// LOADING COMPONENT STYLES
|
|
3
|
+
// ============================================================================
|
|
4
|
+
// Source: Figma UI Kit Core
|
|
5
|
+
// 49 Loading: node-id=40788:8781
|
|
6
|
+
// Based on: Element Plus v-loading directive / ElLoading component
|
|
7
|
+
// NOTE: No custom Vue wrapper component — styles applied directly to El-Plus loading
|
|
8
|
+
//
|
|
9
|
+
// ELEMENT PLUS LOADING STRUCTURE:
|
|
10
|
+
// .el-loading-mask ← Overlay mask
|
|
11
|
+
// .el-loading-spinner ← Centered spinner container
|
|
12
|
+
// svg.circular ← SVG element
|
|
13
|
+
// circle.path ← Animated arc (stroke property drives color)
|
|
14
|
+
// .el-loading-text ← Optional loading text
|
|
15
|
+
//
|
|
16
|
+
// FIGMA VARIANTS:
|
|
17
|
+
// type=primary — bar: action/primary-default (#3B82F6), runway: neutral/200 (#E4E4E7)
|
|
18
|
+
// type=contrast — bar: icon/primary (#18181B), runway: neutral/200 (#E4E4E7)
|
|
19
|
+
// type=on-action — bar: white (#FFFFFF), runway: rgba(255,255,255,0.3)
|
|
20
|
+
//
|
|
21
|
+
// size=sm — 20×20px
|
|
22
|
+
// size=md — 24×24px
|
|
23
|
+
// size=lg — 32×32px
|
|
24
|
+
// size=xl — 40×40px (default El-Plus: controlled by --el-loading-spinner-size)
|
|
25
|
+
// ============================================================================
|
|
26
|
+
|
|
27
|
+
// ─────────────────────────────────────────────────────────────────────────
|
|
28
|
+
// TYPE: primary (default)
|
|
29
|
+
// bar = action/primary-default, runway = neutral/200
|
|
30
|
+
// ─────────────────────────────────────────────────────────────────────────
|
|
31
|
+
|
|
32
|
+
// ============================================================================
|
|
33
|
+
// LOADING COMPONENT STYLES
|
|
34
|
+
// ============================================================================
|
|
35
|
+
|
|
36
|
+
// ─── Mixins ──────────────────────────────────────────────────────────────────
|
|
37
|
+
|
|
38
|
+
@mixin loading-spinner-color($color-var) {
|
|
39
|
+
.el-loading-spinner .circular .path {
|
|
40
|
+
stroke: var(#{$color-var});
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@mixin loading-size($size) {
|
|
45
|
+
--el-loading-spinner-size: #{$size};
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// ─── TYPE: primary (default) ─────────────────────────────────────────────────
|
|
49
|
+
|
|
50
|
+
.el-loading-spinner {
|
|
51
|
+
.circular .path {
|
|
52
|
+
stroke: var(--er-action-primary-default);
|
|
53
|
+
stroke-width: 4;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.el-loading-text {
|
|
57
|
+
color: var(--er-text-primary);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
// ─── SIZES ───────────────────────────────────────────────────────────────────
|
|
62
|
+
|
|
63
|
+
$loading-sizes: (
|
|
64
|
+
'sm': var(--er-control-height-xs),
|
|
65
|
+
'md': var(--er-control-height-sm),
|
|
66
|
+
'lg': var(--er-control-height-md),
|
|
67
|
+
'xl': var(--er-control-height-lg),
|
|
68
|
+
);
|
|
69
|
+
|
|
70
|
+
@each $name, $size in $loading-sizes {
|
|
71
|
+
.el-loading-parent--relative.#{$name},
|
|
72
|
+
.#{$name} > .el-loading-mask {
|
|
73
|
+
@include loading-size($size);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
// ─── TYPE: contrast ──────────────────────────────────────────────────────────
|
|
78
|
+
|
|
79
|
+
.el-loading-parent--relative.loading-contrast > .el-loading-mask,
|
|
80
|
+
.loading-contrast > .el-loading-mask {
|
|
81
|
+
@include loading-spinner-color(--er-icon-primary);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
// ─── TYPE: on-action ─────────────────────────────────────────────────────────
|
|
85
|
+
|
|
86
|
+
.el-loading-parent--relative.loading-on-action > .el-loading-mask,
|
|
87
|
+
.loading-on-action > .el-loading-mask {
|
|
88
|
+
@include loading-spinner-color(--er-text-inverse);
|
|
89
|
+
}
|