@team_yumi/ramen 0.4.0-next.20231120-3374486-26caa6fb88b973f44ab2e8a2ba819c29 → 0.4.0-next.20231120-9c1481a-370e6b3173b28305b5e6dbadf08eca03

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.
@@ -3,6 +3,7 @@ import { Collections } from '@yumi/models';
3
3
  export interface IProps {
4
4
  showNotApplicable: boolean;
5
5
  size?: (typeof Collections.IDecisionSize)[number];
6
+ width?: (typeof Collections.IWidth)[number];
6
7
  disabled?: boolean;
7
8
  checkText?: string;
8
9
  refuseText?: string;
@@ -3,6 +3,7 @@ export interface IProps {
3
3
  label?: string;
4
4
  caption?: string;
5
5
  error?: string;
6
+ mandatory?: boolean;
6
7
  children: React.ReactNode;
7
8
  }
8
9
  declare const XFormItem: React.FC<IProps>;
package/index.css CHANGED
@@ -1856,7 +1856,7 @@
1856
1856
  }
1857
1857
 
1858
1858
  .root-module_xinput--has-error__anEKA .root-module_xinput__content__H1uq- {
1859
- border: 1px solid var(--color-error-medium);
1859
+ border: 1px solid var(--global-error-red-50);
1860
1860
  }
1861
1861
 
1862
1862
  .root-module_xinput--disabled__cf8s3 .root-module_xinput__content__H1uq- {
@@ -1883,18 +1883,17 @@
1883
1883
  border-color: transparent;
1884
1884
  }
1885
1885
 
1886
- .root-module_xinput__icon__QFal7 {
1886
+ .root-module_xinput__icon__QFal7 > div {
1887
1887
  margin-right: var(--xbox-padding-xs);
1888
- color: var(--color-neutral-dim);
1889
1888
  display: flex;
1890
1889
  }
1891
1890
 
1892
- .root-module_xinput__wKJg8:not(.root-module_xinput--has-error__anEKA).root-module_xinput__wKJg8:focus-within .root-module_xinput__icon__QFal7 {
1893
- color: var(--color-neutral-darkest);
1891
+ .root-module_xinput--disabled__cf8s3 .root-module_xinput__content__H1uq- .root-module_xinput__icon__QFal7 > div {
1892
+ color: var(--neutral-dark-50);
1894
1893
  }
1895
1894
 
1896
- .root-module_xinput--has-error__anEKA .root-module_xinput__icon__QFal7 {
1897
- color: var(--color-error-medium);
1895
+ .root-module_xinput__wKJg8:not(.root-module_xinput--has-error__anEKA).root-module_xinput__wKJg8:focus-within .root-module_xinput__icon__QFal7 {
1896
+ color: var(--color-neutral-darkest);
1898
1897
  }
1899
1898
 
1900
1899
  .root-module_xinput__content__H1uq- > input {
@@ -1917,32 +1916,22 @@
1917
1916
  font-size: var(--xtext-size-11);
1918
1917
  }
1919
1918
 
1920
- .root-module_xinput--has-error__anEKA .root-module_xinput__content__H1uq- > input {
1921
- color: var(--color-error-medium);
1922
- }
1923
-
1924
1919
  .root-module_xinput__content__H1uq- > input::-moz-placeholder {
1925
1920
  font-size: var(--xtext-size-10);
1926
- color: var(--color-neutral-dim);
1921
+ color: var(--neutral-dark-50);
1922
+ font-weight: var(--xtext-weight-normal);
1927
1923
  -webkit-font-smoothing: antialiased;
1928
1924
  letter-spacing: var(--xtext-letterspacing);
1929
1925
  }
1930
1926
 
1931
1927
  .root-module_xinput__content__H1uq- > input::placeholder {
1932
1928
  font-size: var(--xtext-size-10);
1933
- color: var(--color-neutral-dim);
1929
+ color: var(--neutral-dark-50);
1930
+ font-weight: var(--xtext-weight-normal);
1934
1931
  -webkit-font-smoothing: antialiased;
1935
1932
  letter-spacing: var(--xtext-letterspacing);
1936
1933
  }
1937
1934
 
1938
- .root-module_xinput--has-error__anEKA .root-module_xinput__content__H1uq- > input::-moz-placeholder {
1939
- color: var(--color-error-medium);
1940
- }
1941
-
1942
- .root-module_xinput--has-error__anEKA .root-module_xinput__content__H1uq- > input::placeholder {
1943
- color: var(--color-error-medium);
1944
- }
1945
-
1946
1935
  .root-module_xinput--size-s__46LGs .root-module_xinput__content__H1uq- > input::-moz-placeholder {
1947
1936
  font-size: var(--xtext-size-11);
1948
1937
  }
@@ -1984,7 +1973,7 @@
1984
1973
  }
1985
1974
 
1986
1975
  .root-module_xcheckbox--has-error__k3NEF:not(.root-module_xcheckbox--disabled__51ROk) .root-module_xcheckbox__check__pp5ba {
1987
- border-color: var(--color-error-medium);
1976
+ border-color: var(--global-error-red-50);
1988
1977
  }
1989
1978
 
1990
1979
  .root-module_xcheckbox__M9DA2:hover:not(.root-module_xcheckbox--disabled__51ROk) .root-module_xcheckbox__check__pp5ba {
@@ -2067,7 +2056,7 @@
2067
2056
  }
2068
2057
 
2069
2058
  .root-module_xradio-button--has-error__RqkO4:not(.root-module_xradio-button--disabled__mf3Cm) .root-module_xradio-button__radio__QTpC6 {
2070
- border-color: var(--color-error-medium);
2059
+ border-color: var(--global-error-red-50);
2071
2060
  }
2072
2061
 
2073
2062
  .root-module_xradio-button__preZ5:hover:not(.root-module_xradio-button--disabled__mf3Cm) .root-module_xradio-button__radio__QTpC6 {
@@ -2227,7 +2216,7 @@
2227
2216
  }
2228
2217
 
2229
2218
  .root-module_xtextarea--has-error__xlwOA .root-module_xtextarea__content__jmSf- {
2230
- border: 1px solid var(--color-error-medium);
2219
+ border: 1px solid var(--global-error-red-50);
2231
2220
  }
2232
2221
 
2233
2222
  .root-module_xtextarea--disabled__qJ6TY .root-module_xtextarea__content__jmSf- {
@@ -2241,7 +2230,7 @@
2241
2230
  }
2242
2231
 
2243
2232
  .root-module_xtextarea__jLwrl:hover .root-module_xtextarea__content__jmSf- {
2244
- box-shadow: 0px 3px 8px -1px rgba(24, 39, 75, 0.08);
2233
+ box-shadow: 0 3px 8px -1px rgba(24, 39, 75, 0.08);
2245
2234
  }
2246
2235
 
2247
2236
  .root-module_xtextarea__jLwrl:not(.root-module_xtextarea--has-error__xlwOA).root-module_xtextarea__jLwrl:focus-within .root-module_xtextarea__content__jmSf- {
@@ -2294,10 +2283,6 @@
2294
2283
  font-size: var(--xtext-size-11);
2295
2284
  }
2296
2285
 
2297
- .root-module_xtextarea--has-error__xlwOA .root-module_xtextarea__content__jmSf- > textarea {
2298
- color: var(--color-error-medium);
2299
- }
2300
-
2301
2286
  .root-module_xtextarea__content__jmSf- > textarea::-moz-placeholder {
2302
2287
  font-size: var(--xtext-size-10);
2303
2288
  color: var(--color-neutral-dim);
@@ -2312,14 +2297,6 @@
2312
2297
  letter-spacing: var(--xtext-letterspacing);
2313
2298
  }
2314
2299
 
2315
- .root-module_xtextarea--has-error__xlwOA .root-module_xtextarea__content__jmSf- > textarea::-moz-placeholder {
2316
- color: var(--color-error-medium);
2317
- }
2318
-
2319
- .root-module_xtextarea--has-error__xlwOA .root-module_xtextarea__content__jmSf- > textarea::placeholder {
2320
- color: var(--color-error-medium);
2321
- }
2322
-
2323
2300
  .root-module_xtextarea--size-s__z9b4k .root-module_xtextarea__content__jmSf- > textarea::-moz-placeholder {
2324
2301
  font-size: var(--xtext-size-11);
2325
2302
  }
@@ -2345,9 +2322,16 @@
2345
2322
  color: var(--color-neutral-medium);
2346
2323
  }
2347
2324
 
2325
+ .root-module_xform-item__caption__yTNsD div:first-child,
2326
+ .root-module_xform-item__error__XYTN0 div:first-child {
2327
+ height: 20px;
2328
+ width: 20px;
2329
+ }
2330
+
2348
2331
  .root-module_xform-item__error__XYTN0 div {
2349
- color: var(--color-error-dim);
2332
+ color: var(--global-error-red-50);
2350
2333
  }
2334
+
2351
2335
  .root-module_xlist__JdRYQ {
2352
2336
  display: flex;
2353
2337
  flex-direction: column;
@@ -3500,7 +3484,7 @@
3500
3484
  }
3501
3485
 
3502
3486
  .root-module_xselect--has-error__2-N-L .root-module_xselect__content__0LFVf {
3503
- border: 1px solid var(--color-error-medium);
3487
+ border: 1px solid var(--global-error-red-50);
3504
3488
  }
3505
3489
 
3506
3490
  .root-module_xselect--disabled__tFCWB .root-module_xselect__content__0LFVf {
@@ -3525,7 +3509,7 @@
3525
3509
  }
3526
3510
 
3527
3511
  .root-module_xselect--has-error__2-N-L .root-module_xselect__icon__TjnZ- {
3528
- color: var(--color-error-medium);
3512
+ color: var(--global-error-red-50);
3529
3513
  }
3530
3514
 
3531
3515
  .root-module_xselect__text__aVJZj {
@@ -3562,7 +3546,7 @@
3562
3546
  }
3563
3547
 
3564
3548
  .root-module_xselect--has-error__2-N-L .root-module_xselect__text__aVJZj {
3565
- color: var(--color-error-medium);
3549
+ color: var(--global-error-red-50);
3566
3550
  }
3567
3551
 
3568
3552
  .root-module_xselect__placeholder__BdDj9 {
@@ -3573,7 +3557,7 @@
3573
3557
  }
3574
3558
 
3575
3559
  .root-module_xselect--has-error__2-N-L .root-module_xselect__placeholder__BdDj9 {
3576
- color: var(--color-error-medium);
3560
+ color: var(--global-error-red-50);
3577
3561
  }
3578
3562
 
3579
3563
  .root-module_xselect--size-s__O7ot2 .root-module_xselect__placeholder__BdDj9 {
@@ -3662,7 +3646,7 @@
3662
3646
  }
3663
3647
 
3664
3648
  .root-module_xselectmultiple--has-error__aCcG4 .root-module_xselectmultiple__content__fYKf- {
3665
- border: 1px solid var(--color-error-medium);
3649
+ border: 1px solid var(--global-error-red-50);
3666
3650
  }
3667
3651
 
3668
3652
  .root-module_xselectmultiple--disabled__xztwt .root-module_xselectmultiple__content__fYKf- {
@@ -3691,7 +3675,7 @@
3691
3675
  }
3692
3676
 
3693
3677
  .root-module_xselectmultiple--has-error__aCcG4 .root-module_xselectmultiple__icon__DZ-k7 {
3694
- color: var(--color-error-medium);
3678
+ color: var(--global-error-red-50);
3695
3679
  }
3696
3680
 
3697
3681
  .root-module_xselectmultiple__text__LN5FU {
@@ -3728,7 +3712,7 @@
3728
3712
  }
3729
3713
 
3730
3714
  .root-module_xselectmultiple--has-error__aCcG4 .root-module_xselectmultiple__text__LN5FU {
3731
- color: var(--color-error-medium);
3715
+ color: var(--global-error-red-50);
3732
3716
  }
3733
3717
 
3734
3718
  .root-module_xselectmultiple__placeholder__X0Zd3 {
@@ -3739,7 +3723,7 @@
3739
3723
  }
3740
3724
 
3741
3725
  .root-module_xselectmultiple--has-error__aCcG4 .root-module_xselectmultiple__placeholder__X0Zd3 {
3742
- color: var(--color-error-medium);
3726
+ color: var(--global-error-red-50);
3743
3727
  }
3744
3728
 
3745
3729
  .root-module_xselectmultiple--size-s__CDeDf .root-module_xselectmultiple__placeholder__X0Zd3 {
@@ -3790,6 +3774,7 @@
3790
3774
  background: linear-gradient(#fff, #fff) padding-box, var(--color-gradient-arcus) border-box;
3791
3775
  border-color: transparent;
3792
3776
  }
3777
+
3793
3778
  .root-module_xapp__iziZE {
3794
3779
  }
3795
3780
 
@@ -3949,7 +3934,7 @@
3949
3934
  }
3950
3935
 
3951
3936
  .root-module_xcalendar--has-error__rrMWz .root-module_xcalendar__content__yc6KW {
3952
- border: 1px solid var(--color-error-medium);
3937
+ border: 1px solid var(--global-error-red-50);
3953
3938
  }
3954
3939
 
3955
3940
  .root-module_xcalendar--disabled__-grV6 .root-module_xcalendar__content__yc6KW {
@@ -3961,7 +3946,7 @@
3961
3946
  }
3962
3947
 
3963
3948
  .root-module_xcalendar--has-error__rrMWz .root-module_xcalendar__icon__FSRGF {
3964
- color: var(--color-error-medium);
3949
+ color: var(--global-error-red-50);
3965
3950
  }
3966
3951
 
3967
3952
  .root-module_xcalendar__text__F9e-9 {
@@ -3993,7 +3978,7 @@
3993
3978
  }
3994
3979
 
3995
3980
  .root-module_xcalendar--has-error__rrMWz .root-module_xcalendar__text__F9e-9 {
3996
- color: var(--color-error-medium);
3981
+ color: var(--global-error-red-50);
3997
3982
  }
3998
3983
 
3999
3984
  .root-module_xcalendar__placeholder__wNGLI {
@@ -4004,7 +3989,7 @@
4004
3989
  }
4005
3990
 
4006
3991
  .root-module_xcalendar--has-error__rrMWz .root-module_xcalendar__placeholder__wNGLI {
4007
- color: var(--color-error-medium);
3992
+ color: var(--global-error-red-50);
4008
3993
  }
4009
3994
  .root-module_xcalendar--size-s__-FPc4 .root-module_xcalendar__placeholder__wNGLI {
4010
3995
  font-size: var(--xtext-size-11);
@@ -4530,7 +4515,7 @@
4530
4515
  }
4531
4516
 
4532
4517
  .root-module_xdatepicker__input__KOdjV.root-module_xdatepicker__input--has-value__79E6Q:not(.root-module_xdatepicker__input--has-error__914ad) .root-module_xdatepicker__input__content__c-W7R {
4533
- border-color: 1px solid var(--color-neutral-darknest)
4518
+ border-color: 1px solid var(--color-neutral-darkest)
4534
4519
  }
4535
4520
 
4536
4521
  .theme-arcus .root-module_xdatepicker__input__KOdjV.root-module_xdatepicker__input--has-value__79E6Q:not(.root-module_xdatepicker__input--has-error__914ad) .root-module_xdatepicker__input__content__c-W7R {
@@ -4540,7 +4525,7 @@
4540
4525
 
4541
4526
 
4542
4527
  .root-module_xdatepicker__input__KOdjV.root-module_xdatepicker__input--has-error__914ad .root-module_xdatepicker__input__content__c-W7R {
4543
- border: 1px solid var(--color-error-medium);
4528
+ border: 1px solid var(--global-error-red-50);
4544
4529
  }
4545
4530
 
4546
4531
  .root-module_xdatepicker__input__KOdjV.root-module_xdatepicker__input--disabled__JZxaD .root-module_xdatepicker__input__content__c-W7R {
@@ -4548,7 +4533,7 @@
4548
4533
  }
4549
4534
 
4550
4535
  .root-module_xdatepicker__input__KOdjV.root-module_xdatepicker__input--has-error__914ad .root-module_xdatepicker__input__icon__4Hhd5 {
4551
- color: var(--color-error-medium);
4536
+ color: var(--global-error-red-50);
4552
4537
  }
4553
4538
 
4554
4539
  .root-module_xdatepicker__input__KOdjV .root-module_xdatepicker__input__symbol__IEz0n {
@@ -4584,7 +4569,7 @@
4584
4569
  }
4585
4570
 
4586
4571
  .root-module_xdatepicker__input__KOdjV.root-module_xdatepicker__input--has-error__914ad .root-module_xdatepicker__input__text__Sup-X {
4587
- color: var(--color-error-medium);
4572
+ color: var(--global-error-red-50);
4588
4573
  }
4589
4574
 
4590
4575
  .root-module_xdatepicker__input__KOdjV .root-module_xdatepicker__input__placeholder__OyO1r {
@@ -4598,7 +4583,7 @@
4598
4583
  }
4599
4584
 
4600
4585
  .root-module_xdatepicker__input__KOdjV.root-module_xdatepicker__input--has-error__914ad .root-module_xdatepicker__input__placeholder__OyO1r {
4601
- color: var(--color-error-medium);
4586
+ color: var(--global-error-red-50);
4602
4587
  }
4603
4588
  .root-module_xdatepicker__input__KOdjV.root-module_xdatepicker__input--size-s__cV9EO .root-module_xdatepicker__input__placeholder__OyO1r > div {
4604
4589
  font-size: var(--xtext-size-11);
@@ -4613,6 +4598,7 @@
4613
4598
  align-items: center;
4614
4599
  padding: 9px var(--xbox-padding-m);
4615
4600
  }
4601
+
4616
4602
  .root-module_xcard-decision__hQa0v {
4617
4603
  }
4618
4604