@team_yumi/ramen 0.4.0-next.20240123-54bcb2d-9cbbf54591972275783f03e131569c2e → 0.4.0-next.20240131-2272142-f71c879315d91f54d45663e680695422

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.
@@ -8,7 +8,7 @@ export interface IProps {
8
8
  /**
9
9
  * Icon size
10
10
  */
11
- size?: (typeof Collections.ISize)[number];
11
+ size?: (typeof Collections.IIconSize)[number];
12
12
  /**
13
13
  * Icon color can be any color from the palette fundamentals
14
14
  */
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import { Collections } from './../../../models';
3
+ export interface IProps {
4
+ /**
5
+ * Symbol name
6
+ */
7
+ symbol?: (typeof Collections.ISymbol)[number];
8
+ /**
9
+ * Symbol size
10
+ */
11
+ size?: (typeof Collections.ISymbolSize)[number];
12
+ /**
13
+ * Symbol color can be any color from the palette fundamentals
14
+ */
15
+ color?: (typeof Collections.ISymbolColor)[number];
16
+ }
17
+ declare const XSymbol: React.FC<IProps>;
18
+ export default XSymbol;
@@ -3,6 +3,7 @@ import { Collections } from '../../../models';
3
3
  import { IProps as XButtonIconProps } from '../../core/xbuttonicon/root';
4
4
  export interface IProps extends XButtonIconProps {
5
5
  placement?: (typeof Collections.IFloatButtonPlacement)[number];
6
+ bottom?: (typeof Collections.IFloatButtonBottom)[number];
6
7
  }
7
8
  declare const XFloatButton: React.FC<IProps>;
8
9
  export default XFloatButton;
@@ -15,6 +15,7 @@ export interface IProps {
15
15
  icon?: (typeof Collections.IIcon)[number];
16
16
  disabled?: boolean;
17
17
  hasError?: boolean;
18
+ maxHeight?: number;
18
19
  onChange?: (value: string) => void;
19
20
  }
20
21
  declare const XSelect: React.FC<IProps>;
package/css/size.css CHANGED
@@ -99,13 +99,17 @@
99
99
  --x-modal-sheet-opacity: 0.6;
100
100
  --x-modal-sheet-maxwidth: var(--maxwidth);
101
101
 
102
- --xsymbol-size-s: calc(14 * var(--grid));
103
- --xsymbol-size-m: calc(16 * var(--grid));
104
- --xsymbol-size-l: calc(20 * var(--grid));
105
- --xsymbol-size-s-minus: calc(13 * var(--grid));
106
- --xsymbol-size-m-minus: calc(15 * var(--grid));
107
- --xsymbol-size-l-minus: calc(19 * var(--grid));
108
- --xsymbol-safearea: var(--grid);
102
+ --x-symbol-size-xs: calc(4 * var(--grid));
103
+ --x-symbol-size-s: calc(6 * var(--grid));
104
+ --x-symbol-size-m: calc(8 * var(--grid));
105
+ --x-symbol-size-l: calc(10 * var(--grid));
106
+ --x-symbol-size-xl: calc(12 * var(--grid));
107
+ --x-symbol-size-xs-minus: calc(3.5 * var(--grid));
108
+ --x-symbol-size-s-minus: calc(5 * var(--grid));
109
+ --x-symbol-size-m-minus: calc(7 * var(--grid));
110
+ --x-symbol-size-l-minus: calc(9 * var(--grid));
111
+ --x-symbol-size-xl-minus: calc(11 * var(--grid));
112
+ --x-symbol-safearea: var(--grid);
109
113
 
110
114
  --xbadge-size-xs: calc(4 * var(--grid));
111
115
  --xbadge-size-s: calc(6 * var(--grid));
package/index.core.d.ts CHANGED
@@ -31,7 +31,7 @@ declare const _default: {
31
31
  XFormItem: import("react").FC<import("./components/core/xform-item/root").IProps>;
32
32
  XList: typeof XList;
33
33
  XCard: import("react").FC<import("./components/core/xcard/root").IProps>;
34
- XSymbol: import("react").FC<import("./components/core/xsymbol/root").IProps>;
34
+ XSymbol: import("react").FC<import("./components/core/x-symbol/root").IProps>;
35
35
  XCollapseCard: import("react").FC<import("./components/core/xcollapse-card/root").IProps>;
36
36
  XLoadingContainer: import("react").FC<{}>;
37
37
  XSkeleton: import("react").FC<import("./components/core/xskeleton/root").IProps>;
package/index.css CHANGED
@@ -2674,35 +2674,111 @@
2674
2674
  border-width: var(--xcard-border-m);
2675
2675
  }
2676
2676
 
2677
- .root-module_xsymbol__gr72p {
2677
+ .root-module_x-symbol__RPD-j {
2678
2678
  display: inline-block;
2679
- max-height: var(--xicon-size-xl);
2680
- max-width: var(--xicon-size-xl);
2679
+ max-height: var(--x-symbol-size-xl);
2680
+ max-width: var(--x-symbol-size-xl);
2681
2681
  }
2682
2682
 
2683
- .root-module_xsymbol--size-xs__QFjKl {
2684
- height: var(--xicon-size-xs);
2685
- width: var(--xicon-size-xs);
2683
+ .root-module_x-symbol--size-xs__IhFR7 {
2684
+ height: var(--x-symbol-size-xs);
2685
+ width: var(--x-symbol-size-xs);
2686
2686
  }
2687
2687
 
2688
- .root-module_xsymbol--size-s__481Ex {
2689
- height: var(--xicon-size-s);
2690
- width: var(--xicon-size-s);
2688
+ .root-module_x-symbol--size-s__udy3s {
2689
+ height: var(--x-symbol-size-s);
2690
+ width: var(--x-symbol-size-s);
2691
2691
  }
2692
2692
 
2693
- .root-module_xsymbol--size-m__7e0HY {
2694
- height: var(--xicon-size-m);
2695
- width: var(--xicon-size-m);
2693
+ .root-module_x-symbol--size-m__YZzJX {
2694
+ height: var(--x-symbol-size-m);
2695
+ width: var(--x-symbol-size-m);
2696
2696
  }
2697
2697
 
2698
- .root-module_xsymbol--size-l__LTDkj {
2699
- height: var(--xicon-size-l);
2700
- width: var(--xicon-size-l);
2698
+ .root-module_x-symbol--size-l__s0Y4n {
2699
+ height: var(--x-symbol-size-l);
2700
+ width: var(--x-symbol-size-l);
2701
2701
  }
2702
2702
 
2703
- .root-module_xsymbol--size-xl__o9sLJ {
2704
- height: var(--xicon-size-xl);
2705
- width: var(--xicon-size-xl);
2703
+ .root-module_x-symbol--size-xl__bT5uq {
2704
+ height: var(--x-symbol-size-xl);
2705
+ width: var(--x-symbol-size-xl);
2706
+ }
2707
+
2708
+ .root-module_x-symbol--color-disabled__CLCiX {
2709
+ color: var(--neutral-dark-50);
2710
+ }
2711
+
2712
+
2713
+ /**
2714
+ * Colors
2715
+ */
2716
+ .root-module_x-symbol--color-gray__pxnNV {
2717
+ color: var(--color-neutral-light);
2718
+ }
2719
+
2720
+ .root-module_x-symbol--color-disabled__CLCiX {
2721
+ color: var(--neutral-dark-50);
2722
+ }
2723
+
2724
+ .root-module_x-symbol--color-black__d-kYH {
2725
+ color: var(--color-neutral-darkest);
2726
+ }
2727
+
2728
+ .root-module_x-symbol--color-green__4IJAh {
2729
+ color: var(--x-symbol-color-green);
2730
+ }
2731
+
2732
+ .root-module_x-symbol--color-sky-blue__CaLdg {
2733
+ color: var(--x-symbol-color-sky-blue);
2734
+ }
2735
+
2736
+ .root-module_x-symbol--color-orange__FM1cH {
2737
+ color: var(--x-symbol-color-orange);
2738
+ }
2739
+
2740
+ .root-module_x-symbol--color-red__J91y- {
2741
+ color: var(--x-symbol-color-red);
2742
+ }
2743
+
2744
+ .root-module_x-symbol--color-purple__bIx8W {
2745
+ color: var(--x-symbol-color-purple);
2746
+ }
2747
+
2748
+ .root-module_x-symbol--color-pink__XWj8Z {
2749
+ color: var(--x-symbol-color-pink);
2750
+ }
2751
+
2752
+ .root-module_x-symbol--color-green-check__Vx454 {
2753
+ color: var(--x-symbol-color-green-check);
2754
+ }
2755
+
2756
+ .root-module_x-symbol--color-red-refuse__viUqr {
2757
+ color: var(--x-symbol-color-red-refuse);
2758
+ }
2759
+
2760
+ .root-module_x-symbol--color-yellow__GUiaN {
2761
+ color: var(--x-symbol-color-yellow);
2762
+ }
2763
+
2764
+ .root-module_x-symbol--color-turquoise__V7aid {
2765
+ color: var(--x-symbol-color-turquoise);
2766
+ }
2767
+
2768
+ .root-module_x-symbol--color-info-blue__bd9bu {
2769
+ color: var(--global-info-blue-60);
2770
+ }
2771
+
2772
+ .root-module_x-symbol--color-error-red__N1ms9 {
2773
+ color: var(--global-error-red-60);
2774
+ }
2775
+
2776
+ .root-module_x-symbol--color-success-green__NKRQW {
2777
+ color: var(--global-success-green-60);
2778
+ }
2779
+
2780
+ .root-module_x-symbol--color-warning-orange__1pfEJ {
2781
+ color: var(--global-warning-orange-60);
2706
2782
  }
2707
2783
 
2708
2784
  .root-module_xcollapse-card__-LBed {
@@ -3897,18 +3973,33 @@
3897
3973
 
3898
3974
  }
3899
3975
  .root-module_xfloat-button__naGjT {
3900
- position: fixed;
3901
- bottom: env(safe-area-inset-bottom, 33px);
3902
- z-index: 20;
3903
- padding-bottom: var(--xbox-padding-xs);
3976
+ position: fixed;
3977
+ bottom: calc(env(safe-area-inset-bottom, 33px) + var(--xbox-padding-xs));
3978
+ z-index: 20;
3904
3979
  }
3905
3980
 
3906
3981
  .root-module_xfloat-button--placement-left__EozcE {
3907
- left: 24px;
3982
+ left: 24px;
3908
3983
  }
3909
3984
 
3910
3985
  .root-module_xfloat-button--placement-right__1zdbY {
3911
- right: 24px;
3986
+ right: 24px;
3987
+ }
3988
+
3989
+ .root-module_xfloat-button--bottom-s__z6AzS {
3990
+ bottom: calc(env(safe-area-inset-bottom, 33px) + calc(var(--xbox-padding-s) * 2));
3991
+ }
3992
+
3993
+ .root-module_xfloat-button--bottom-m__v4ndY {
3994
+ bottom: calc(env(safe-area-inset-bottom, 33px) + calc(var(--xbox-padding-m) * 3));
3995
+ }
3996
+
3997
+ .root-module_xfloat-button--bottom-l__lBzrk {
3998
+ bottom: calc(env(safe-area-inset-bottom, 33px) + calc(var(--xbox-padding-xl) * 3));
3999
+ }
4000
+
4001
+ .root-module_xfloat-button--bottom-xl__5MzW9 {
4002
+ bottom: calc(env(safe-area-inset-bottom, 33px) + calc(var(--xbox-padding-xl) * 4));
3912
4003
  }
3913
4004
 
3914
4005
  .root-module_xselectmultiple__TT6GU {
@@ -5097,6 +5188,10 @@
5097
5188
  padding: 8px 16px 8px 8px;
5098
5189
  }
5099
5190
 
5191
+ .root-module_x-radio-button-option--with-icon__8RcPL {
5192
+ padding-left: 14px;
5193
+ }
5194
+
5100
5195
  .root-module_x-radio-button-option--disabled__Esaom {
5101
5196
  cursor: not-allowed;
5102
5197
  pointer-events: none;
@@ -5127,3 +5222,5 @@
5127
5222
  align-items: center;
5128
5223
  gap: 10px;
5129
5224
  }
5225
+
5226
+