@team_yumi/ramen 0.4.0-next.20231120-9c1481a-370e6b3173b28305b5e6dbadf08eca03 → 0.4.0-next.20231122-6c23a89-c587da26d90e05e962417adff5551535
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/mobile/xselect/root.d.ts +3 -1
- package/index.core.d.ts +1 -1
- package/index.css +48 -44
- 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>;
|
|
@@ -18,7 +18,9 @@ export interface IProps {
|
|
|
18
18
|
disabled?: boolean;
|
|
19
19
|
hasError?: boolean;
|
|
20
20
|
searchable?: boolean;
|
|
21
|
-
|
|
21
|
+
selectionAsTag?: boolean;
|
|
22
|
+
searchPlaceholder?: string;
|
|
23
|
+
onChange?: (value: IOption | undefined) => void;
|
|
22
24
|
}
|
|
23
25
|
declare const XSelect: React.FC<IProps>;
|
|
24
26
|
export default XSelect;
|
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;
|
|
@@ -3483,6 +3480,14 @@
|
|
|
3483
3480
|
user-select: none;
|
|
3484
3481
|
}
|
|
3485
3482
|
|
|
3483
|
+
.root-module_xselect__tag_container__nalJG {
|
|
3484
|
+
display: flex;
|
|
3485
|
+
flex-flow: wrap;
|
|
3486
|
+
padding: 8px;
|
|
3487
|
+
gap: 8px;
|
|
3488
|
+
width: 100%;
|
|
3489
|
+
}
|
|
3490
|
+
|
|
3486
3491
|
.root-module_xselect--has-error__2-N-L .root-module_xselect__content__0LFVf {
|
|
3487
3492
|
border: 1px solid var(--global-error-red-50);
|
|
3488
3493
|
}
|
|
@@ -3533,7 +3538,7 @@
|
|
|
3533
3538
|
width: 168px;
|
|
3534
3539
|
}
|
|
3535
3540
|
|
|
3536
|
-
.root-module_xselect__text__aVJZj
|
|
3541
|
+
.root-module_xselect__text__aVJZj>div {
|
|
3537
3542
|
white-space: nowrap;
|
|
3538
3543
|
overflow: hidden;
|
|
3539
3544
|
text-overflow: ellipsis;
|
|
@@ -3574,7 +3579,7 @@
|
|
|
3574
3579
|
flex-direction: column;
|
|
3575
3580
|
}
|
|
3576
3581
|
|
|
3577
|
-
.root-module_modal__ExdYM
|
|
3582
|
+
.root-module_modal__ExdYM>.root-module_modal__item__uJVqQ {
|
|
3578
3583
|
cursor: pointer;
|
|
3579
3584
|
}
|
|
3580
3585
|
|
|
@@ -3590,18 +3595,17 @@
|
|
|
3590
3595
|
border: 2px solid #1F1F1F;
|
|
3591
3596
|
}
|
|
3592
3597
|
|
|
3593
|
-
.root-module_modal__item--selected__h9fcZ
|
|
3598
|
+
.root-module_modal__item--selected__h9fcZ>div>div:nth-child(1) {
|
|
3594
3599
|
border: 2px solid #1F1F1F;
|
|
3595
3600
|
}
|
|
3596
3601
|
|
|
3597
3602
|
|
|
3598
|
-
.theme-arcus
|
|
3603
|
+
.theme-arcus .root-module_modal__item--selected__h9fcZ {
|
|
3599
3604
|
color: var(--color-neutral-darkest);
|
|
3600
3605
|
background: linear-gradient(#fff, #fff) padding-box, var(--color-gradient-arcus) border-box;
|
|
3601
3606
|
border-color: transparent;
|
|
3602
3607
|
|
|
3603
3608
|
}
|
|
3604
|
-
|
|
3605
3609
|
.root-module_xfloat-button__naGjT {
|
|
3606
3610
|
position: fixed;
|
|
3607
3611
|
bottom: env(safe-area-inset-bottom, 33px);
|