@team_yumi/ramen 0.4.0-next.20231120-0abf65f-d0d20f04b2c100ac8f48fd12954c9396 → 0.4.0-next.20231122-d263823-a18fd9e3731f8dd2df6191ed42cd9ab1
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/components/core/{xicon → x-icon}/root.d.ts +9 -0
- package/components/core/xdecision/root.d.ts +1 -0
- package/index.core.d.ts +1 -1
- package/index.css +36 -39
- package/index.js +1 -1
- package/index.mobile.d.ts +1 -1
- package/index.web.d.ts +1 -1
- package/models/Collections/IIconColor.d.ts +1 -1
- package/package.json +1 -1
- package/themes/default.theme.css +1 -2
- /package/components/core/{xicon → x-icon}/icons/bold/index.d.ts +0 -0
- /package/components/core/{xicon → x-icon}/icons/extrabold/index.d.ts +0 -0
- /package/components/core/{xicon → x-icon}/icons/filled/index.d.ts +0 -0
- /package/components/core/{xicon → x-icon}/icons/index.d.ts +0 -0
- /package/components/core/{xicon → x-icon}/icons/outline/index.d.ts +0 -0
- /package/components/core/{xicon → x-icon}/index.d.ts +0 -0
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Collections } from './../../../models';
|
|
3
3
|
export interface IProps {
|
|
4
|
+
/**
|
|
5
|
+
* Icon name
|
|
6
|
+
*/
|
|
4
7
|
icon?: (typeof Collections.IIcon)[number];
|
|
8
|
+
/**
|
|
9
|
+
* Icon size
|
|
10
|
+
*/
|
|
5
11
|
size?: (typeof Collections.ISize)[number];
|
|
12
|
+
/**
|
|
13
|
+
* Icon color can be any color from the palette fundamentals
|
|
14
|
+
*/
|
|
6
15
|
color?: (typeof Collections.IIconColor)[number];
|
|
7
16
|
}
|
|
8
17
|
declare const XIcon: React.FC<IProps>;
|
package/index.core.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ declare const _default: {
|
|
|
4
4
|
XCardCounter: import("react").FC<import("./components/core/xcard-counter/root").IProps>;
|
|
5
5
|
XBox: import("react").FC<import("./components/core/xbox/root").IProps>;
|
|
6
6
|
XText: import("react").FC<import("./components/core/xtext/root").IProps>;
|
|
7
|
-
XIcon: import("react").FC<import("./components/core/
|
|
7
|
+
XIcon: import("react").FC<import("./components/core/x-icon/root").IProps>;
|
|
8
8
|
XButton: import("react").FC<import("./components/core/xbutton/root").IProps>;
|
|
9
9
|
XButtonIcon: import("react").FC<import("./components/core/xbuttonicon/root").IProps>;
|
|
10
10
|
XBadge: import("react").FC<import("./components/core/xbadge/root").IProps>;
|
package/index.css
CHANGED
|
@@ -506,41 +506,44 @@
|
|
|
506
506
|
color: var(--color-neutral-lightest);
|
|
507
507
|
}
|
|
508
508
|
|
|
509
|
-
.root-
|
|
509
|
+
.root-module_x-icon__YwX20 {
|
|
510
510
|
display: inline-block;
|
|
511
|
-
|
|
511
|
+
box-sizing: content-box;
|
|
512
512
|
max-width: var(--xicon-size-xl);
|
|
513
513
|
color: var(--color-neutral-darkest);
|
|
514
|
-
|
|
514
|
+
max-height: var(--xicon-size-xl);
|
|
515
515
|
}
|
|
516
|
-
|
|
516
|
+
|
|
517
|
+
.root-module_icon_size-xs__VJ8Yg {
|
|
517
518
|
height: var(--xicon-size-xs);
|
|
518
519
|
width: var(--xicon-size-xs);
|
|
519
520
|
}
|
|
520
|
-
|
|
521
|
+
|
|
522
|
+
.root-module_icon_size-s__QusCx {
|
|
521
523
|
height: var(--xicon-size-s);
|
|
522
524
|
width: var(--xicon-size-s);
|
|
523
525
|
}
|
|
524
|
-
|
|
526
|
+
|
|
527
|
+
.root-module_icon_size-m__8yA3P {
|
|
525
528
|
height: var(--xicon-size-m);
|
|
526
529
|
width: var(--xicon-size-m);
|
|
527
530
|
}
|
|
528
|
-
|
|
531
|
+
|
|
532
|
+
.root-module_icon_size-l__MPjv2 {
|
|
529
533
|
height: var(--xicon-size-l);
|
|
530
534
|
width: var(--xicon-size-l);
|
|
531
535
|
}
|
|
532
|
-
|
|
536
|
+
|
|
537
|
+
.root-module_icon_size-xl__XlQMm {
|
|
533
538
|
height: var(--xicon-size-xl);
|
|
534
539
|
width: var(--xicon-size-xl);
|
|
535
540
|
}
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
.root-module_icon-spin__bKBJP > svg {
|
|
540
|
-
animation: root-module_spin__4ShxB infinite 1s linear;
|
|
541
|
+
|
|
542
|
+
.root-module_icon-spin__uqWV8 > svg {
|
|
543
|
+
animation: root-module_spin__7LPA9 infinite 1s linear;
|
|
541
544
|
}
|
|
542
545
|
|
|
543
|
-
@keyframes root-
|
|
546
|
+
@keyframes root-module_spin__7LPA9 {
|
|
544
547
|
from {
|
|
545
548
|
transform: rotate(0deg);
|
|
546
549
|
}
|
|
@@ -549,67 +552,61 @@
|
|
|
549
552
|
}
|
|
550
553
|
}
|
|
551
554
|
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
+
/**
|
|
556
|
+
* Colors
|
|
557
|
+
*/
|
|
558
|
+
.root-module_x-icon--color-gray__jRldv {
|
|
555
559
|
color: var(--color-neutral-light);
|
|
556
560
|
}
|
|
557
561
|
|
|
558
|
-
.root-
|
|
562
|
+
.root-module_x-icon--color-disabled__pL0O- {
|
|
563
|
+
color: var(--neutral-dark-50);
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
.root-module_x-icon--color-black__k2ZgM {
|
|
559
567
|
color: var(--color-neutral-darkest);
|
|
560
568
|
}
|
|
561
569
|
|
|
562
|
-
|
|
563
|
-
.root-module_xicon--color-green__soVpr {
|
|
570
|
+
.root-module_x-icon--color-green__2cdrt {
|
|
564
571
|
color: var(--xicon-color-green);
|
|
565
572
|
}
|
|
566
573
|
|
|
567
|
-
|
|
568
|
-
.root-module_xicon--color-sky-blue__qmBYA {
|
|
574
|
+
.root-module_x-icon--color-sky-blue__mLai3 {
|
|
569
575
|
color: var(--xicon-color-sky-blue);
|
|
570
576
|
}
|
|
571
577
|
|
|
572
|
-
|
|
573
|
-
.root-module_xicon--color-orange__pDL4U {
|
|
578
|
+
.root-module_x-icon--color-orange__-T6TO {
|
|
574
579
|
color: var(--xicon-color-orange);
|
|
575
580
|
}
|
|
576
581
|
|
|
577
|
-
|
|
578
|
-
.root-module_xicon--color-red__LNA1l {
|
|
582
|
+
.root-module_x-icon--color-red__deo-Z {
|
|
579
583
|
color: var(--xicon-color-red);
|
|
580
584
|
}
|
|
581
585
|
|
|
582
|
-
|
|
583
|
-
.root-module_xicon--color-purple__9tpjx {
|
|
586
|
+
.root-module_x-icon--color-purple__0QLxp {
|
|
584
587
|
color: var(--xicon-color-purple);
|
|
585
588
|
}
|
|
586
589
|
|
|
587
|
-
|
|
588
|
-
.root-module_xicon--color-pink__rbZmZ {
|
|
590
|
+
.root-module_x-icon--color-pink__sti-5 {
|
|
589
591
|
color: var(--xicon-color-pink);
|
|
590
592
|
}
|
|
591
593
|
|
|
592
|
-
|
|
593
|
-
.root-module_xicon--color-green-check__8Io7V {
|
|
594
|
+
.root-module_x-icon--color-green-check__IsMGW {
|
|
594
595
|
color: var(--xicon-color-green-check);
|
|
595
596
|
}
|
|
596
597
|
|
|
597
|
-
|
|
598
|
-
.root-module_xicon--color-red-refuse__LAOo3 {
|
|
598
|
+
.root-module_x-icon--color-red-refuse__tSafm {
|
|
599
599
|
color: var(--xicon-color-red-refuse);
|
|
600
600
|
}
|
|
601
601
|
|
|
602
|
-
|
|
603
|
-
.root-module_xicon--color-yellow__Dfi5S {
|
|
602
|
+
.root-module_x-icon--color-yellow__LyUe9 {
|
|
604
603
|
color: var(--xicon-color-yellow);
|
|
605
604
|
}
|
|
606
605
|
|
|
607
|
-
|
|
608
|
-
.root-module_xicon--color-turquoise__qmGHm {
|
|
606
|
+
.root-module_x-icon--color-turquoise__xokP5 {
|
|
609
607
|
color: var(--xicon-color-turquoise);
|
|
610
608
|
}
|
|
611
609
|
|
|
612
|
-
|
|
613
610
|
.root-module_xbutton__isOXp {
|
|
614
611
|
display: flex;
|
|
615
612
|
align-items: center;
|