@itcase/ui 1.9.32 → 1.9.35

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.
Files changed (30) hide show
  1. package/dist/{SelectContainer_cjs_CD-J8jSe.js → SelectContainer_cjs_B2fgWgCE.js} +45 -17
  2. package/dist/{SelectContainer_es_Bxt5C3nI.js → SelectContainer_es_B5trQDlc.js} +45 -17
  3. package/dist/cjs/components/DatePeriod.js +1 -1
  4. package/dist/cjs/components/Select.js +1 -1
  5. package/dist/cjs/components/Tab.js +1 -1
  6. package/dist/components/DatePeriod.js +1 -1
  7. package/dist/components/Select.js +1 -1
  8. package/dist/components/Tab.js +1 -1
  9. package/dist/css/styles/bundles.css +87 -26
  10. package/dist/types/components/Avatar/Avatar.appearance.d.ts +1120 -0
  11. package/dist/types/components/Badge/Badge.appearance.d.ts +680 -0
  12. package/dist/types/components/Button/Button.appearance.d.ts +2000 -0
  13. package/dist/types/components/Divider/Divider.appearance.d.ts +560 -0
  14. package/dist/types/components/Label/Label.appearance.d.ts +1560 -0
  15. package/dist/types/components/Loader/Loader.appearance.d.ts +320 -0
  16. package/dist/types/components/MenuItem/MenuItem.appearance.d.ts +1680 -0
  17. package/dist/types/components/Modal/Modal.appearance.d.ts +1160 -0
  18. package/dist/types/components/Select/Select.interface.d.ts +1 -1
  19. package/dist/types/components/Select/SelectMultiValue.d.ts +4 -0
  20. package/dist/types/components/Select/SelectOverflowBadge.d.ts +7 -0
  21. package/dist/types/components/Select/appearance/selectDefault.d.ts +2 -2
  22. package/dist/types/components/Select/appearance/selectError.d.ts +2 -2
  23. package/dist/types/components/Select/appearance/selectRequire.d.ts +2 -2
  24. package/dist/types/components/Select/appearance/selectSize.d.ts +6 -0
  25. package/dist/types/components/Select/appearance/selectSuccess.d.ts +2 -2
  26. package/dist/types/components/Text/Text.appearance.d.ts +520 -0
  27. package/dist/types/components/Tile/Tile.appearance.d.ts +40 -0
  28. package/dist/types/components/Title/Title.appearance.d.ts +1600 -0
  29. package/dist/types/components/Warning/Warning.appearance.d.ts +880 -0
  30. package/package.json +10 -10
@@ -46039,42 +46039,56 @@ div.avatar-stack {
46039
46039
  &_xxs {
46040
46040
  min-width: var(--badge-size-xxs-min-width);
46041
46041
  min-height: var(--badge-size-xxs-min-height);
46042
+ max-width: var(--badge-size-xxs-max-width);
46043
+ max-height: var(--badge-size-xxs-max-height);
46042
46044
  gap: var(--badge-size-xxs-gap);
46043
46045
  padding: var(--badge-size-xxs-padding);
46044
46046
  }
46045
46047
  &_xs {
46046
46048
  min-width: var(--badge-size-xs-min-width);
46047
46049
  min-height: var(--badge-size-xs-min-height);
46050
+ max-width: var(--badge-size-xs-max-width);
46051
+ max-height: var(--badge-size-xs-max-height);
46048
46052
  gap: var(--badge-size-xs-gap);
46049
46053
  padding: var(--badge-size-xs-padding);
46050
46054
  }
46051
46055
  &_s {
46052
46056
  min-width: var(--badge-size-s-min-width);
46053
46057
  min-height: var(--badge-size-s-min-height);
46058
+ max-width: var(--badge-size-s-max-width);
46059
+ max-height: var(--badge-size-s-max-height);
46054
46060
  gap: var(--badge-size-s-gap);
46055
46061
  padding: var(--badge-size-s-padding);
46056
46062
  }
46057
46063
  &_m {
46058
46064
  min-width: var(--badge-size-m-min-width);
46059
46065
  min-height: var(--badge-size-m-min-height);
46066
+ max-width: var(--badge-size-m-max-width);
46067
+ max-height: var(--badge-size-m-max-height);
46060
46068
  gap: var(--badge-size-m-gap);
46061
46069
  padding: var(--badge-size-m-padding);
46062
46070
  }
46063
46071
  &_l {
46064
46072
  min-width: var(--badge-size-l-min-width);
46065
46073
  min-height: var(--badge-size-l-min-height);
46074
+ max-width: var(--badge-size-l-max-width);
46075
+ max-height: var(--badge-size-l-max-height);
46066
46076
  gap: var(--badge-size-l-gap);
46067
46077
  padding: var(--badge-size-l-padding);
46068
46078
  }
46069
46079
  &_xl {
46070
46080
  min-width: var(--badge-size-xl-min-width);
46071
46081
  min-height: var(--badge-size-xl-min-height);
46082
+ max-width: var(--badge-size-xl-max-width);
46083
+ max-height: var(--badge-size-xl-max-height);
46072
46084
  gap: var(--badge-size-xl-gap);
46073
46085
  padding: var(--badge-size-xl-padding);
46074
46086
  }
46075
46087
  &_xxl {
46076
46088
  min-width: var(--badge-size-xxl-min-width);
46077
46089
  min-height: var(--badge-size-xxl-min-height);
46090
+ max-width: var(--badge-size-xxl-max-width);
46091
+ max-height: var(--badge-size-xxl-max-height);
46078
46092
  gap: var(--badge-size-xxl-gap);
46079
46093
  padding: var(--badge-size-xxl-padding);
46080
46094
  }
@@ -47190,6 +47204,8 @@ div.avatar-stack {
47190
47204
  --badge-size-xxl-padding: 1m 1.5m;
47191
47205
  --badge-size-xxl-min-width: 40px;
47192
47206
  --badge-size-xxl-min-height: 40px;
47207
+ --badge-size-xxl-max-width: 40px;
47208
+ --badge-size-xxl-max-height: 40px;
47193
47209
  --badge-size-xxl-gap: 5px;
47194
47210
  --badge-type-icon-size-xxl-max-width: 40px;
47195
47211
  --badge-type-icon-size-xxl-max-height: 40px;
@@ -47197,6 +47213,8 @@ div.avatar-stack {
47197
47213
  --badge-size-xl-padding: 0.5m 1.25m;
47198
47214
  --badge-size-xl-min-width: 32px;
47199
47215
  --badge-size-xl-min-height: 32px;
47216
+ --badge-size-xl-max-width: 32px;
47217
+ --badge-size-xl-max-height: 32px;
47200
47218
  --badge-size-xl-gap: 6px;
47201
47219
  --badge-type-icon-size-xl-max-width: 32px;
47202
47220
  --badge-type-icon-size-xl-max-height: 32px;
@@ -47204,6 +47222,8 @@ div.avatar-stack {
47204
47222
  --badge-size-l-padding: 0.5m 1m;
47205
47223
  --badge-size-l-min-width: 28px;
47206
47224
  --badge-size-l-min-height: 28px;
47225
+ --badge-size-l-max-width: 28px;
47226
+ --badge-size-l-max-height: 28px;
47207
47227
  --badge-size-l-gap: 4px;
47208
47228
  --badge-type-icon-size-l-max-width: 28px;
47209
47229
  --badge-type-icon-size-l-max-height: 28px;
@@ -47211,6 +47231,8 @@ div.avatar-stack {
47211
47231
  --badge-size-m-padding: 0 0.75m;
47212
47232
  --badge-size-m-min-width: 24px;
47213
47233
  --badge-size-m-min-height: 24px;
47234
+ --badge-size-m-max-width: 24px;
47235
+ --badge-size-m-max-height: 24px;
47214
47236
  --badge-size-m-gap: 2px;
47215
47237
  --badge-type-icon-size-m-max-width: 24px;
47216
47238
  --badge-type-icon-size-m-max-height: 24px;
@@ -47218,6 +47240,8 @@ div.avatar-stack {
47218
47240
  --badge-size-s-padding: 0 0.5m;
47219
47241
  --badge-size-s-min-width: 20px;
47220
47242
  --badge-size-s-min-height: 20px;
47243
+ --badge-size-s-max-width: 20px;
47244
+ --badge-size-s-max-height: 20px;
47221
47245
  --badge-size-s-gap: 0px;
47222
47246
  --badge-type-icon-size-s-max-width: 20px;
47223
47247
  --badge-type-icon-size-s-max-height: 20px;
@@ -47225,6 +47249,8 @@ div.avatar-stack {
47225
47249
  --badge-size-xs-padding: 0;
47226
47250
  --badge-size-xs-min-width: 16px;
47227
47251
  --badge-size-xs-min-height: 16px;
47252
+ --badge-size-xs-max-width: 16px;
47253
+ --badge-size-xs-max-height: 16px;
47228
47254
  --badge-size-xs-gap: 2px;
47229
47255
  --badge-type-icon-size-xs-max-width: 16px;
47230
47256
  --badge-type-icon-size-xs-max-height: 16px;
@@ -47232,6 +47258,8 @@ div.avatar-stack {
47232
47258
  --badge-size-xxs-padding: 0 0.5m;
47233
47259
  --badge-size-xxs-min-width: 16px;
47234
47260
  --badge-size-xxs-min-height: 16px;
47261
+ --badge-size-xxs-max-width: 16px;
47262
+ --badge-size-xxs-max-height: 16px;
47235
47263
  --badge-size-xxs-gap: 0px;
47236
47264
  --badge-type-icon-size-xxs-max-width: 16px;
47237
47265
  --badge-type-icon-size-xxs-max-height: 16px;
@@ -60121,8 +60149,8 @@ div.avatar-stack {
60121
60149
  }
60122
60150
  .react-datepicker--time-only .react-datepicker__time,
60123
60151
  .react-datepicker--time-only .react-datepicker__time-box {
60124
- border-bottom-left-radius: 0.3rem;
60125
- border-bottom-right-radius: 0.3rem;
60152
+ border-bottom-left-radius: 0.3em;
60153
+ border-bottom-right-radius: 0.3em;
60126
60154
  }
60127
60155
  .react-datepicker-popper {
60128
60156
  z-index: 1;
@@ -60139,6 +60167,14 @@ div.avatar-stack {
60139
60167
  fill: #fff;
60140
60168
  color: #fff;
60141
60169
  }
60170
+ .react-datepicker-popper--header-middle[data-placement^=bottom] .react-datepicker__triangle, .react-datepicker-popper--header-bottom[data-placement^=bottom] .react-datepicker__triangle {
60171
+ fill: #fff;
60172
+ color: #fff;
60173
+ }
60174
+ .react-datepicker-popper--header-bottom[data-placement^=top] .react-datepicker__triangle {
60175
+ fill: #f0f0f0;
60176
+ color: #f0f0f0;
60177
+ }
60142
60178
  .react-datepicker__header {
60143
60179
  text-align: center;
60144
60180
  background-color: #f0f0f0;
@@ -60155,9 +60191,25 @@ div.avatar-stack {
60155
60191
  .react-datepicker__header--time:not(.react-datepicker__header--time--only) {
60156
60192
  border-top-left-radius: 0;
60157
60193
  }
60158
- .react-datepicker__header:not(.react-datepicker__header--has-time-select) {
60194
+ .react-datepicker__header:not(.react-datepicker__header--has-time-select, .react-datepicker__header--middle, .react-datepicker__header--bottom) {
60159
60195
  border-top-right-radius: 0.3rem;
60160
60196
  }
60197
+ .react-datepicker__header--middle {
60198
+ border-top: 1px solid #aeaeae;
60199
+ border-radius: 0;
60200
+ margin-top: 4px;
60201
+ }
60202
+ .react-datepicker__header--bottom {
60203
+ border-bottom: none;
60204
+ border-top: 1px solid #aeaeae;
60205
+ border-radius: 0 0 0.3rem 0.3rem;
60206
+ }
60207
+ .react-datepicker__header-wrapper {
60208
+ position: relative;
60209
+ }
60210
+ .react-datepicker__header-wrapper .react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button) {
60211
+ right: 2px;
60212
+ }
60161
60213
  .react-datepicker__year-dropdown-container--select,
60162
60214
  .react-datepicker__month-dropdown-container--select,
60163
60215
  .react-datepicker__month-year-dropdown-container--select,
@@ -60250,7 +60302,7 @@ h2.react-datepicker__current-month {
60250
60302
  float: left;
60251
60303
  }
60252
60304
  .react-datepicker__year {
60253
- margin: 0.4rem;
60305
+ margin: 0.4em;
60254
60306
  text-align: center;
60255
60307
  }
60256
60308
  .react-datepicker__year-wrapper {
@@ -60260,17 +60312,17 @@ h2.react-datepicker__current-month {
60260
60312
  }
60261
60313
  .react-datepicker__year .react-datepicker__year-text {
60262
60314
  display: inline-block;
60263
- width: 4rem;
60315
+ width: 4em;
60264
60316
  margin: 2px;
60265
60317
  }
60266
60318
  .react-datepicker__month {
60267
- margin: 0.4rem;
60319
+ margin: 0.4em;
60268
60320
  text-align: center;
60269
60321
  }
60270
60322
  .react-datepicker__month .react-datepicker__month-text,
60271
60323
  .react-datepicker__month .react-datepicker__quarter-text {
60272
60324
  display: inline-block;
60273
- width: 4rem;
60325
+ width: 4em;
60274
60326
  margin: 2px;
60275
60327
  }
60276
60328
  .react-datepicker__input-time-container {
@@ -60313,7 +60365,7 @@ h2.react-datepicker__current-month {
60313
60365
  .react-datepicker__time-container--with-today-button {
60314
60366
  display: inline;
60315
60367
  border: 1px solid #aeaeae;
60316
- border-radius: 0.3rem;
60368
+ border-radius: 0.3em;
60317
60369
  position: absolute;
60318
60370
  right: -87px;
60319
60371
  top: 0;
@@ -60321,19 +60373,19 @@ h2.react-datepicker__current-month {
60321
60373
  .react-datepicker__time-container .react-datepicker__time {
60322
60374
  position: relative;
60323
60375
  background: white;
60324
- border-bottom-right-radius: 0.3rem;
60376
+ border-bottom-right-radius: 0.3em;
60325
60377
  }
60326
60378
  .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box {
60327
60379
  width: 85px;
60328
60380
  overflow-x: hidden;
60329
60381
  margin: 0 auto;
60330
60382
  text-align: center;
60331
- border-bottom-right-radius: 0.3rem;
60383
+ border-bottom-right-radius: 0.3em;
60332
60384
  }
60333
60385
  .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list {
60334
60386
  list-style: none;
60335
60387
  margin: 0;
60336
- height: calc(195px + 1.7rem / 2);
60388
+ height: calc(195px + 1.7em / 2);
60337
60389
  overflow-y: scroll;
60338
60390
  padding-right: 0;
60339
60391
  padding-left: 0;
@@ -60367,10 +60419,10 @@ h2.react-datepicker__current-month {
60367
60419
  .react-datepicker__week-number {
60368
60420
  color: #ccc;
60369
60421
  display: inline-block;
60370
- width: 1.7rem;
60371
- line-height: 1.7rem;
60422
+ width: 1.7em;
60423
+ line-height: 1.7em;
60372
60424
  text-align: center;
60373
- margin: 0.166rem;
60425
+ margin: 0.166em;
60374
60426
  }
60375
60427
  .react-datepicker__week-number.react-datepicker__week-number--clickable {
60376
60428
  cursor: pointer;
@@ -60400,10 +60452,10 @@ h2.react-datepicker__current-month {
60400
60452
  .react-datepicker__time-name {
60401
60453
  color: #000;
60402
60454
  display: inline-block;
60403
- width: 1.7rem;
60404
- line-height: 1.7rem;
60455
+ width: 1.7em;
60456
+ line-height: 1.7em;
60405
60457
  text-align: center;
60406
- margin: 0.166rem;
60458
+ margin: 0.166em;
60407
60459
  }
60408
60460
  .react-datepicker__day-name--disabled,
60409
60461
  .react-datepicker__day--disabled,
@@ -60619,7 +60671,7 @@ h2.react-datepicker__current-month {
60619
60671
  }
60620
60672
  .react-datepicker__input-container .react-datepicker__calendar-icon {
60621
60673
  position: absolute;
60622
- padding: 0.5rem;
60674
+ padding: 0.5em;
60623
60675
  box-sizing: content-box;
60624
60676
  }
60625
60677
  .react-datepicker__view-calendar-icon input {
@@ -60781,15 +60833,15 @@ h2.react-datepicker__current-month {
60781
60833
  .react-datepicker__portal .react-datepicker__day-name,
60782
60834
  .react-datepicker__portal .react-datepicker__day,
60783
60835
  .react-datepicker__portal .react-datepicker__time-name {
60784
- width: 3rem;
60785
- line-height: 3rem;
60836
+ width: 3em;
60837
+ line-height: 3em;
60786
60838
  }
60787
60839
  @media (max-width: 400px), (max-height: 550px) {
60788
60840
  .react-datepicker__portal .react-datepicker__day-name,
60789
60841
  .react-datepicker__portal .react-datepicker__day,
60790
60842
  .react-datepicker__portal .react-datepicker__time-name {
60791
- width: 2rem;
60792
- line-height: 2rem;
60843
+ width: 2em;
60844
+ line-height: 2em;
60793
60845
  }
60794
60846
  }
60795
60847
  .react-datepicker__portal .react-datepicker__current-month,
@@ -60797,10 +60849,10 @@ h2.react-datepicker__current-month {
60797
60849
  font-size: 1.44rem;
60798
60850
  }
60799
60851
  .react-datepicker__children-container {
60800
- width: 13.8rem;
60801
- margin: 0.4rem;
60802
- padding-right: 0.2rem;
60803
- padding-left: 0.2rem;
60852
+ width: 13.8em;
60853
+ margin: 0.4em;
60854
+ padding-right: 0.2em;
60855
+ padding-left: 0.2em;
60804
60856
  height: auto;
60805
60857
  }
60806
60858
  .react-datepicker__aria-live {
@@ -60819,6 +60871,9 @@ h2.react-datepicker__current-month {
60819
60871
  height: 1em;
60820
60872
  vertical-align: -0.125em;
60821
60873
  }
60874
+ .react-datepicker-popper-offset {
60875
+ margin-top: -0.7em;
60876
+ }
60822
60877
  .react-datepicker {
60823
60878
  font-size: inherit;
60824
60879
  background: var(--date-picker-fill);
@@ -99204,6 +99259,12 @@ div.label {
99204
99259
  display: flex;
99205
99260
  }
99206
99261
  }
99262
+ &-badge {
99263
+ & .badge__value {
99264
+ position: relative;
99265
+ left: -2px;
99266
+ }
99267
+ }
99207
99268
  }
99208
99269
  .select {
99209
99270
  &__option {