@osrd-project/ui-core 0.0.79 → 0.0.82

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 (52) hide show
  1. package/dist/components/{inputs/ComboBox → ComboBox}/ComboBox.d.ts +8 -1
  2. package/dist/components/Dialog.d.ts +22 -0
  3. package/dist/components/SegmentedControl.d.ts +11 -0
  4. package/dist/components/Select.d.ts +1 -1
  5. package/dist/components/Table/Table.d.ts +15 -0
  6. package/dist/components/Table/tableAmbientThemes.d.ts +22 -0
  7. package/dist/components/{inputs/TextArea.d.ts → TextArea.d.ts} +1 -1
  8. package/dist/index.d.ts +17 -14
  9. package/dist/index.esm.js +197 -55
  10. package/dist/index.esm.js.map +1 -1
  11. package/dist/theme.css +292 -70
  12. package/dist/theme.css.map +1 -1
  13. package/package.json +7 -7
  14. /package/dist/components/{buttons/Button.d.ts → Button.d.ts} +0 -0
  15. /package/dist/components/{inputs/Checkbox → Checkbox}/Checkbox.d.ts +0 -0
  16. /package/dist/components/{inputs/Checkbox → Checkbox}/CheckboxList.d.ts +0 -0
  17. /package/dist/components/{inputs/Checkbox → Checkbox}/CheckboxTree.d.ts +0 -0
  18. /package/dist/components/{inputs/Checkbox → Checkbox}/__tests__/utils.spec.d.ts +0 -0
  19. /package/dist/components/{inputs/Checkbox → Checkbox}/index.d.ts +0 -0
  20. /package/dist/components/{inputs/Checkbox → Checkbox}/type.d.ts +0 -0
  21. /package/dist/components/{inputs/Checkbox → Checkbox}/utils.d.ts +0 -0
  22. /package/dist/components/{inputs/ComboBox → ComboBox}/index.d.ts +0 -0
  23. /package/dist/components/{inputs/ComboBox → ComboBox}/useDefaultComboBox.d.ts +0 -0
  24. /package/dist/components/{inputs/datePicker → DatePicker}/Calendar.d.ts +0 -0
  25. /package/dist/components/{inputs/datePicker → DatePicker}/CalendarPicker.d.ts +0 -0
  26. /package/dist/components/{inputs/datePicker → DatePicker}/DatePicker.d.ts +0 -0
  27. /package/dist/components/{inputs/datePicker → DatePicker}/__tests__/useCalendar.spec.d.ts +0 -0
  28. /package/dist/components/{inputs/datePicker → DatePicker}/__tests__/useCalendarPicker.spec.d.ts +0 -0
  29. /package/dist/components/{inputs/datePicker → DatePicker}/__tests__/useDatePicker.spec.d.ts +0 -0
  30. /package/dist/components/{inputs/datePicker → DatePicker}/__tests__/utils.spec.d.ts +0 -0
  31. /package/dist/components/{inputs/datePicker → DatePicker}/index.d.ts +0 -0
  32. /package/dist/components/{inputs/datePicker → DatePicker}/type.d.ts +0 -0
  33. /package/dist/components/{inputs/datePicker → DatePicker}/useCalendar.d.ts +0 -0
  34. /package/dist/components/{inputs/datePicker → DatePicker}/useCalendarPicker.d.ts +0 -0
  35. /package/dist/components/{inputs/datePicker → DatePicker}/useDatePicker.d.ts +0 -0
  36. /package/dist/components/{inputs/datePicker → DatePicker}/utils.d.ts +0 -0
  37. /package/dist/components/{inputs/FieldWrapper.d.ts → FieldWrapper.d.ts} +0 -0
  38. /package/dist/components/{inputs/Hint.d.ts → Hint.d.ts} +0 -0
  39. /package/dist/components/{inputs/Input.d.ts → Input.d.ts} +0 -0
  40. /package/dist/components/{Modal.d.ts → InputModal.d.ts} +0 -0
  41. /package/dist/components/{inputs/InputStatusIcon.d.ts → InputStatusIcon.d.ts} +0 -0
  42. /package/dist/components/{inputs/Label.d.ts → Label.d.ts} +0 -0
  43. /package/dist/components/{inputs/PasswordInput.d.ts → PasswordInput.d.ts} +0 -0
  44. /package/dist/components/{inputs/RadioButton.d.ts → RadioButton.d.ts} +0 -0
  45. /package/dist/components/{inputs/RadioGroup.d.ts → RadioGroup.d.ts} +0 -0
  46. /package/dist/components/{inputs/Slider.d.ts → Slider.d.ts} +0 -0
  47. /package/dist/components/{inputs/StatusMessage.d.ts → StatusMessage.d.ts} +0 -0
  48. /package/dist/components/{inputs/TimePicker.d.ts → TimePicker.d.ts} +0 -0
  49. /package/dist/components/{inputs/TokenInput.d.ts → TokenInput.d.ts} +0 -0
  50. /package/dist/components/{inputs/tolerancePicker → TolerancePicker}/TolerancePicker.d.ts +0 -0
  51. /package/dist/components/{inputs/tolerancePicker → TolerancePicker}/ToleranceRangeGrid.d.ts +0 -0
  52. /package/dist/components/{inputs/tolerancePicker → TolerancePicker}/consts.d.ts +0 -0
package/dist/theme.css CHANGED
@@ -1,4 +1,4 @@
1
- /*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */
1
+ /*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */
2
2
  @layer properties;
3
3
  @layer theme, base, components, utilities;
4
4
  @layer theme {
@@ -7,6 +7,7 @@
7
7
  --font-mono: 'IBM Plex mono', monospace;
8
8
  --spacing: 0.25rem;
9
9
  --font-weight-semibold: 600;
10
+ --radius-xl: 0.75rem;
10
11
  --default-font-family: var(--font-sans);
11
12
  --default-mono-font-family: var(--font-mono);
12
13
  --color-black-1: #00000003;
@@ -21,6 +22,10 @@
21
22
  --color-white-50: #ffffff80;
22
23
  --color-white-75: #ffffffbf;
23
24
  --color-white-100: #ffffff;
25
+ --color-ambientA-5: #f6f8f9;
26
+ --color-ambientB-5: #faf9f5;
27
+ --color-ambientC-5: #f6f9f6;
28
+ --color-ambientD-5: #f8f7fd;
24
29
  --color-grey-5: #f5f5f5;
25
30
  --color-grey-10: #ebebea;
26
31
  --color-grey-20: #d3d1cf;
@@ -76,7 +81,6 @@
76
81
  }
77
82
  abbr:where([title]) {
78
83
  -webkit-text-decoration: underline dotted;
79
- text-decoration: underline;
80
84
  text-decoration: underline dotted;
81
85
  }
82
86
  h1, h2, h3, h4, h5, h6 {
@@ -224,6 +228,9 @@
224
228
  .items-center {
225
229
  align-items: center;
226
230
  }
231
+ .justify-center {
232
+ justify-content: center;
233
+ }
227
234
  .filter {
228
235
  filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
229
236
  }
@@ -253,7 +260,6 @@
253
260
  }
254
261
  abbr:where([title]) {
255
262
  -webkit-text-decoration: underline dotted;
256
- text-decoration: underline;
257
263
  text-decoration: underline dotted;
258
264
  }
259
265
  h1, h2, h3, h4, h5, h6 {
@@ -512,21 +518,28 @@
512
518
  }
513
519
  }
514
520
  &.loading {
515
- height: 2.625rem;
516
- padding: 0.375rem 1.813rem;
517
- &.medium {
518
- height: 2.25rem;
519
- padding: 0.313rem 1.625rem;
520
- }
521
- &.small {
522
- height: 2rem;
523
- padding: 0.063rem 1.25rem;
524
- }
525
- &:disabled {
526
- opacity: 1;
521
+ box-shadow: none !important;
522
+ border: none !important;
523
+ position: relative;
524
+ opacity: 1 !important;
525
+ &::before {
526
+ background-color: var(--color-info-5);
527
+ border-radius: 5px;
528
+ content: '';
529
+ position: absolute;
530
+ inset: 0;
527
531
  }
528
- .icon svg {
529
- animation: spin 3s linear infinite;
532
+ &::after {
533
+ content: '';
534
+ position: absolute;
535
+ aspect-ratio: 1;
536
+ inset: auto 0;
537
+ width: 17px;
538
+ margin: 0 auto;
539
+ --_g: no-repeat radial-gradient(farthest-side, var(--color-info-60) 90%, #0000);
540
+ background: var(--_g) 0 0, var(--_g) 100% 0, var(--_g) 100% 100%, var(--_g) 0 100%;
541
+ background-size: 40% 40%;
542
+ animation: button-loader-animation 0.5s infinite;
530
543
  }
531
544
  }
532
545
  .counter {
@@ -550,11 +563,16 @@
550
563
  opacity: 0.5;
551
564
  }
552
565
  }
566
+ @keyframes button-loader-animation {
567
+ 100% {
568
+ background-position: 100% 0, 100% 100%, 0 100%, 0 0;
569
+ }
570
+ }
553
571
  .ui-checkbox {
554
572
  display: block;
555
573
  position: relative;
556
- padding-left: 1.938rem;
557
- margin-bottom: 0.3rem;
574
+ padding-left: 31px;
575
+ margin-bottom: 4.8px;
558
576
  cursor: pointer;
559
577
  -webkit-user-select: none;
560
578
  user-select: none;
@@ -564,10 +582,10 @@
564
582
  letter-spacing: 0;
565
583
  text-align: left;
566
584
  width: fit-content;
585
+ height: 24px;
567
586
  .label {
568
- line-height: 1.5rem;
569
- padding-top: 0.188rem;
570
- padding-right: 0.35rem;
587
+ line-height: 24px;
588
+ padding: 0 0 0 3px;
571
589
  color: var(--color-grey-80);
572
590
  }
573
591
  &:has(> input:disabled), &:has(> input.read-only) {
@@ -575,16 +593,16 @@
575
593
  }
576
594
  .checkmark {
577
595
  position: absolute;
578
- top: 0.313rem;
579
- left: 0.313rem;
580
- border-radius: 0.188rem;
596
+ top: 2.4px;
597
+ left: 6.4px;
598
+ border-radius: 3px;
581
599
  box-sizing: content-box;
582
- width: 1.125rem;
583
- height: 1.125rem;
584
- border: 0.125rem solid rgba(235, 235, 234, 1);
600
+ width: 18px;
601
+ height: 18px;
602
+ border: 2px solid rgba(235, 235, 234, 1);
585
603
  border: 2.5px solid rgba(211, 209, 207, 1);
586
- border: 0.125rem solid rgba(255, 255, 255, 1);
587
- border: 0.063rem solid rgba(148, 145, 142, 1);
604
+ border: 2px solid rgba(255, 255, 255, 1);
605
+ border: 1px solid rgba(148, 145, 142, 1);
588
606
  opacity: 1;
589
607
  background-image: linear-gradient( 180deg, rgba(255, 255, 255, 1) 0%, rgba(245, 245, 245, 1) 100% );
590
608
  outline: solid 0.125rem #ebebea;
@@ -1118,6 +1136,9 @@
1118
1136
  &.disabled {
1119
1137
  color: var(--color-grey-30);
1120
1138
  }
1139
+ &.open {
1140
+ transform: rotate(180deg) !important;
1141
+ }
1121
1142
  }
1122
1143
  }
1123
1144
  .leading-content-wrapper {
@@ -1281,6 +1302,33 @@
1281
1302
  }
1282
1303
  }
1283
1304
  }
1305
+ .ui-input-modal-overlay {
1306
+ position: absolute;
1307
+ top: 0;
1308
+ left: 0;
1309
+ right: 0;
1310
+ bottom: 0;
1311
+ z-index: 1000;
1312
+ .modal-content {
1313
+ background-color: var(--color-white-100);
1314
+ border-radius: 0.5rem;
1315
+ box-shadow: 0px 1px 0px rgba(255, 255, 255, 1) inset, 0px 4px 7px -3px rgba(24, 68, 239, 0.19), 0px 1px 3px rgba(49, 46, 43, 0.2);
1316
+ position: absolute;
1317
+ width: fit-content;
1318
+ .close-button {
1319
+ position: absolute;
1320
+ top: 16px;
1321
+ right: 16px;
1322
+ color: var(--color-grey-50);
1323
+ &:hover {
1324
+ color: var(--color-grey-90);
1325
+ }
1326
+ &:active {
1327
+ color: var(--color-grey-20);
1328
+ }
1329
+ }
1330
+ }
1331
+ }
1284
1332
  .ui-label-wrapper {
1285
1333
  display: flex;
1286
1334
  align-items: center;
@@ -1616,6 +1664,42 @@
1616
1664
  }
1617
1665
  }
1618
1666
  }
1667
+ .segmented-control {
1668
+ background-color: var(--color-black-5);
1669
+ border-radius: calc(var(--spacing) * 2.5);
1670
+ display: flex;
1671
+ flex-direction: row;
1672
+ gap: var(--spacing);
1673
+ padding: calc(var(--spacing));
1674
+ width: fit-content;
1675
+ .segmented-control-option {
1676
+ border-radius: calc(var(--spacing) * 1.5);
1677
+ border: 2px solid transparent;
1678
+ color: gray;
1679
+ cursor: pointer;
1680
+ height: auto;
1681
+ margin: 0;
1682
+ padding: var(--spacing);
1683
+ svg {
1684
+ display: block !important;
1685
+ }
1686
+ input {
1687
+ display: none;
1688
+ }
1689
+ .segmented-control-option-content {
1690
+ border: 2px solid transparent;
1691
+ }
1692
+ }
1693
+ .segmented-control-option.checked {
1694
+ background: rgba(255, 255, 255, 1);
1695
+ border-color: var(--color-grey-40);
1696
+ box-shadow: rgba(0, 0, 0, 0.1) 0 2px 4px 0, rgba(0, 0, 0, 0.2) 0 1px 1px 0;
1697
+ color: black;
1698
+ .segmented-control-option-content {
1699
+ border-color: var(--color-white-75);
1700
+ }
1701
+ }
1702
+ }
1619
1703
  .ui-range-wrapper {
1620
1704
  width: 112px;
1621
1705
  height: 10px;
@@ -1905,6 +1989,7 @@
1905
1989
  }
1906
1990
  }
1907
1991
  .ui-text-area-field-wrapper {
1992
+ width: 100%;
1908
1993
  .field-and-status-icon {
1909
1994
  align-items: flex-start !important;
1910
1995
  .ui-status-icon {
@@ -1912,16 +1997,16 @@
1912
1997
  }
1913
1998
  }
1914
1999
  .custom-field {
1915
- max-width: 29.563rem;
1916
2000
  .text-area-wrapper {
1917
- padding: 0.1875rem;
1918
2001
  position: relative;
2002
+ display: flex;
2003
+ width: 100%;
1919
2004
  &.focused-by-tab {
1920
2005
  box-shadow: 0 0 0 0.0625rem rgba(37, 106, 250, 1) inset;
1921
2006
  }
1922
2007
  .text-area {
1923
2008
  height: 5.875rem;
1924
- width: 25.375rem;
2009
+ width: 100%;
1925
2010
  line-height: 1.5rem;
1926
2011
  text-align: left;
1927
2012
  vertical-align: top;
@@ -2147,16 +2232,16 @@
2147
2232
  .time-input {
2148
2233
  cursor: pointer;
2149
2234
  }
2150
- .ui-modal-overlay {
2235
+ .ui-input-modal-overlay {
2151
2236
  .tolerance-picker-section {
2152
2237
  display: flex;
2153
- gap: 1rem;
2238
+ gap: 16px;
2154
2239
  align-items: center;
2155
2240
  .tolerance-grid {
2156
2241
  display: grid;
2157
2242
  grid-template-columns: repeat(6, 1fr);
2158
2243
  grid-template-areas: 'a1 a1 a1 a1 a1 a1' 'a2 a3 a4 a5 a6 a7' 'a8 a9 a10 a11 . .' 'a12 a13 a14 a15 . .' 'a16 a17 a18 a19 . .';
2159
- grid-auto-rows: 40px;
2244
+ grid-auto-rows: 32px;
2160
2245
  grid-gap: 10px;
2161
2246
  }
2162
2247
  .tolerance-grid.minus-tolerance {
@@ -2233,47 +2318,21 @@
2233
2318
  caret-color: transparent;
2234
2319
  }
2235
2320
  }
2236
- .ui-modal-overlay {
2237
- position: absolute;
2238
- top: 0;
2239
- left: 0;
2240
- right: 0;
2241
- bottom: 0;
2242
- z-index: 1000;
2243
- .modal-content {
2244
- background-color: var(--color-white-100);
2245
- border-radius: 0.5rem;
2246
- box-shadow: 0px 1px 0px rgba(255, 255, 255, 1) inset, 0px 4px 7px -3px rgba(24, 68, 239, 0.19), 0px 1px 3px rgba(49, 46, 43, 0.2);
2247
- position: absolute;
2248
- .close-button {
2249
- position: absolute;
2250
- top: 16px;
2251
- right: 16px;
2252
- color: var(--color-grey-50);
2253
- &:hover {
2254
- color: var(--color-grey-90);
2255
- }
2256
- &:active {
2257
- color: var(--color-grey-20);
2258
- }
2259
- }
2260
- }
2261
- }
2262
2321
  .ui-select {
2263
2322
  border-radius: 4px;
2264
2323
  border: 1px solid rgba(148, 145, 142, 1);
2265
2324
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.2), 0px 2px 4px rgba(0, 0, 0, 0.1);
2266
- height: 2.5rem;
2267
- padding-inline: 0.813rem 1.875rem;
2325
+ height: 40px;
2326
+ padding-left: 13px;
2327
+ padding-right: 30px;
2268
2328
  overflow: hidden;
2269
2329
  white-space: nowrap;
2270
2330
  text-overflow: ellipsis;
2271
2331
  letter-spacing: 0;
2272
- text-align: left;
2273
- line-height: 1.5rem;
2332
+ line-height: 24px;
2274
2333
  width: 100%;
2275
2334
  appearance: none;
2276
- background: url('data:image/svg+xml;charset=utf-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20width%3D%2216px%22%20height%3D%2216px%22%20viewBox%3D%220%200%2016%2016%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A%20%20%20%20%3Ctitle%3Eicon%2F16%2Ftriangle-up-down-16%3C%2Ftitle%3E%0A%20%20%20%20%3Cg%20id%3D%22icon%2F16%2Ftriangle-up-down-16%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M4.42845467%2C5.56944689%20L7.82445467%2C2.17344689%20C7.8713568%2C2.12642604%207.93504104%2C2.1%208.00145467%2C2.1%20C8.0678683%2C2.1%208.13155254%2C2.12642604%208.17845467%2C2.17344689%20L11.5744547%2C5.56944689%20C11.6461431%2C5.64095399%2011.6676197%2C5.74864161%2011.6288468%2C5.84217853%20C11.5900739%2C5.93571546%2011.4987091%2C5.99662805%2011.3974547%2C5.99644729%20L4.60545467%2C5.99644729%20C4.50420023%2C5.99662805%204.41283543%2C5.93571546%204.37406252%2C5.84217853%20C4.3352896%2C5.74864161%204.35676625%2C5.64095399%204.42845467%2C5.56944689%20Z%20M4.43345467%2C10.4270004%20L7.82945467%2C13.8230004%20C7.8763568%2C13.8700213%207.94004104%2C13.8964473%208.00645467%2C13.8964473%20C8.0728683%2C13.8964473%208.13655254%2C13.8700213%208.18345467%2C13.8230004%20L11.5794547%2C10.4270004%20C11.6511431%2C10.3554933%2011.6726197%2C10.2478057%2011.6338468%2C10.1542688%20C11.5950739%2C10.0607318%2011.5037091%2C9.99981924%2011.4024547%2C10%20L4.61045467%2C10%20C4.50920023%2C9.99981924%204.41783543%2C10.0607318%204.37906252%2C10.1542688%20C4.3402896%2C10.2478057%204.36176625%2C10.3554933%204.43345467%2C10.4270004%20L4.43345467%2C10.4270004%20Z%22%20id%3D%22Path%22%20fill%3D%22%23000000%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E') no-repeat right 0.75rem center;
2335
+ background: url('data:image/svg+xml;charset=utf-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20width%3D%2216px%22%20height%3D%2216px%22%20viewBox%3D%220%200%2016%2016%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A%20%20%20%20%3Ctitle%3Eicon%2F16%2Ftriangle-up-down-16%3C%2Ftitle%3E%0A%20%20%20%20%3Cg%20id%3D%22icon%2F16%2Ftriangle-up-down-16%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M4.42845467%2C5.56944689%20L7.82445467%2C2.17344689%20C7.8713568%2C2.12642604%207.93504104%2C2.1%208.00145467%2C2.1%20C8.0678683%2C2.1%208.13155254%2C2.12642604%208.17845467%2C2.17344689%20L11.5744547%2C5.56944689%20C11.6461431%2C5.64095399%2011.6676197%2C5.74864161%2011.6288468%2C5.84217853%20C11.5900739%2C5.93571546%2011.4987091%2C5.99662805%2011.3974547%2C5.99644729%20L4.60545467%2C5.99644729%20C4.50420023%2C5.99662805%204.41283543%2C5.93571546%204.37406252%2C5.84217853%20C4.3352896%2C5.74864161%204.35676625%2C5.64095399%204.42845467%2C5.56944689%20Z%20M4.43345467%2C10.4270004%20L7.82945467%2C13.8230004%20C7.8763568%2C13.8700213%207.94004104%2C13.8964473%208.00645467%2C13.8964473%20C8.0728683%2C13.8964473%208.13655254%2C13.8700213%208.18345467%2C13.8230004%20L11.5794547%2C10.4270004%20C11.6511431%2C10.3554933%2011.6726197%2C10.2478057%2011.6338468%2C10.1542688%20C11.5950739%2C10.0607318%2011.5037091%2C9.99981924%2011.4024547%2C10%20L4.61045467%2C10%20C4.50920023%2C9.99981924%204.41783543%2C10.0607318%204.37906252%2C10.1542688%20C4.3402896%2C10.2478057%204.36176625%2C10.3554933%204.43345467%2C10.4270004%20L4.43345467%2C10.4270004%20Z%22%20id%3D%22Path%22%20fill%3D%22%23000000%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E') no-repeat right 12px center;
2277
2336
  border-color: var(--color-grey-40);
2278
2337
  background-color: var(--color-black-1);
2279
2338
  color: var(--color-grey-80);
@@ -2296,11 +2355,13 @@
2296
2355
  border: 1px solid rgba(182, 178, 175, 1);
2297
2356
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 1px 0px rgba(0, 0, 0, 0.1);
2298
2357
  color: var(--color-grey-50);
2358
+ background: url('data:image/svg+xml;charset=utf-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20width%3D%2216px%22%20height%3D%2216px%22%20viewBox%3D%220%200%2016%2016%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A%20%20%20%20%3Ctitle%3EForm%2FSelect%2Fx%2FArrows%2FRead-only%3C%2Ftitle%3E%0A%20%20%20%20%3Cdefs%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M0%2C0%20L16%2C0%20L16%2C16%20L0%2C16%20L0%2C0%20Z%22%20id%3D%22path-1%22%3E%3C%2Fpath%3E%0A%20%20%20%20%3C%2Fdefs%3E%0A%20%20%20%20%3Cg%20id%3D%22Form%2FSelect%2Fx%2FArrows%2FRead-only%22%20stroke%3D%22none%22%20fill%3D%22none%22%20xlink%3Ahref%3D%22%23path-1%22%20fill-rule%3D%22nonzero%22%3E%0A%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Icon%22%20fill%3D%22%23B6B3AF%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M4.42845467%2C5.56944689%20L7.82445467%2C2.17344689%20C7.8713568%2C2.12642604%207.93504104%2C2.1%208.00145467%2C2.1%20C8.0678683%2C2.1%208.13155254%2C2.12642604%208.17845467%2C2.17344689%20L11.5744547%2C5.56944689%20C11.6461431%2C5.64095399%2011.6676197%2C5.74864161%2011.6288468%2C5.84217853%20C11.5900739%2C5.93571546%2011.4987091%2C5.99662805%2011.3974547%2C5.99644729%20L4.60545467%2C5.99644729%20C4.50420023%2C5.99662805%204.41283543%2C5.93571546%204.37406252%2C5.84217853%20C4.3352896%2C5.74864161%204.35676625%2C5.64095399%204.42845467%2C5.56944689%20Z%20M4.43345467%2C10.4270004%20L7.82945467%2C13.8230004%20C7.8763568%2C13.8700213%207.94004104%2C13.8964473%208.00645467%2C13.8964473%20C8.0728683%2C13.8964473%208.13655254%2C13.8700213%208.18345467%2C13.8230004%20L11.5794547%2C10.4270004%20C11.6511431%2C10.3554933%2011.6726197%2C10.2478057%2011.6338468%2C10.1542688%20C11.5950739%2C10.0607318%2011.5037091%2C9.99981924%2011.4024547%2C10%20L4.61045467%2C10%20C4.50920023%2C9.99981924%204.41783543%2C10.0607318%204.37906252%2C10.1542688%20C4.3402896%2C10.2478057%204.36176625%2C10.3554933%204.43345467%2C10.4270004%20L4.43345467%2C10.4270004%20Z%22%20id%3D%22Path%22%3E%3C%2Fpath%3E%0A%20%20%20%20%20%20%20%20%3C%2Fg%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E') no-repeat right 12px center;
2299
2359
  }
2300
2360
  &:disabled {
2301
2361
  border: 1px solid rgba(211, 209, 207, 1);
2302
2362
  box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.2), 0px 1px 0px rgba(0, 0, 0, 0.1);
2303
2363
  color: var(--color-grey-30);
2364
+ background: url('data:image/svg+xml;charset=utf-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20width%3D%2216px%22%20height%3D%2216px%22%20viewBox%3D%220%200%2016%2016%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A%20%20%20%20%3Ctitle%3EForm%2FSelect%2Fx%2FArrows%2FDisabled%3C%2Ftitle%3E%0A%20%20%20%20%3Cdefs%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M0%2C0%20L16%2C0%20L16%2C16%20L0%2C16%20L0%2C0%20Z%22%20id%3D%22path-1%22%3E%3C%2Fpath%3E%0A%20%20%20%20%3C%2Fdefs%3E%0A%20%20%20%20%3Cg%20id%3D%22Form%2FSelect%2Fx%2FArrows%2FDisabled%22%20stroke%3D%22none%22%20fill%3D%22none%22%20xlink%3Ahref%3D%22%23path-1%22%20fill-rule%3D%22nonzero%22%3E%0A%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Icon%22%20fill%3D%22%23D3D1CF%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M4.42845467%2C5.56944689%20L7.82445467%2C2.17344689%20C7.8713568%2C2.12642604%207.93504104%2C2.1%208.00145467%2C2.1%20C8.0678683%2C2.1%208.13155254%2C2.12642604%208.17845467%2C2.17344689%20L11.5744547%2C5.56944689%20C11.6461431%2C5.64095399%2011.6676197%2C5.74864161%2011.6288468%2C5.84217853%20C11.5900739%2C5.93571546%2011.4987091%2C5.99662805%2011.3974547%2C5.99644729%20L4.60545467%2C5.99644729%20C4.50420023%2C5.99662805%204.41283543%2C5.93571546%204.37406252%2C5.84217853%20C4.3352896%2C5.74864161%204.35676625%2C5.64095399%204.42845467%2C5.56944689%20Z%20M4.43345467%2C10.4270004%20L7.82945467%2C13.8230004%20C7.8763568%2C13.8700213%207.94004104%2C13.8964473%208.00645467%2C13.8964473%20C8.0728683%2C13.8964473%208.13655254%2C13.8700213%208.18345467%2C13.8230004%20L11.5794547%2C10.4270004%20C11.6511431%2C10.3554933%2011.6726197%2C10.2478057%2011.6338468%2C10.1542688%20C11.5950739%2C10.0607318%2011.5037091%2C9.99981924%2011.4024547%2C10%20L4.61045467%2C10%20C4.50920023%2C9.99981924%204.41783543%2C10.0607318%204.37906252%2C10.1542688%20C4.3402896%2C10.2478057%204.36176625%2C10.3554933%204.43345467%2C10.4270004%20L4.43345467%2C10.4270004%20Z%22%20id%3D%22Path%22%3E%3C%2Fpath%3E%0A%20%20%20%20%20%20%20%20%3C%2Fg%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E') no-repeat right 12px center;
2304
2365
  }
2305
2366
  &.success {
2306
2367
  box-shadow: none;
@@ -2327,10 +2388,171 @@
2327
2388
  background-color: var(--color-white-100);
2328
2389
  }
2329
2390
  &.small {
2330
- height: 2rem;
2331
- padding: 0.375rem 2.5rem 0.375rem 0.563rem;
2391
+ height: 32px;
2392
+ padding-left: 9px;
2393
+ padding-bottom: 2px;
2332
2394
  font-size: 0.875rem;
2333
- line-height: 1.25rem;
2395
+ line-height: 20px;
2396
+ background: url('data:image/svg+xml;charset=utf-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20width%3D%2216px%22%20height%3D%2216px%22%20viewBox%3D%220%200%2016%2016%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A%20%20%20%20%3Ctitle%3Eicon%2F16%2Ftriangle-up-down-16%3C%2Ftitle%3E%0A%20%20%20%20%3Cg%20id%3D%22icon%2F16%2Ftriangle-up-down-16%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M4.42845467%2C5.56944689%20L7.82445467%2C2.17344689%20C7.8713568%2C2.12642604%207.93504104%2C2.1%208.00145467%2C2.1%20C8.0678683%2C2.1%208.13155254%2C2.12642604%208.17845467%2C2.17344689%20L11.5744547%2C5.56944689%20C11.6461431%2C5.64095399%2011.6676197%2C5.74864161%2011.6288468%2C5.84217853%20C11.5900739%2C5.93571546%2011.4987091%2C5.99662805%2011.3974547%2C5.99644729%20L4.60545467%2C5.99644729%20C4.50420023%2C5.99662805%204.41283543%2C5.93571546%204.37406252%2C5.84217853%20C4.3352896%2C5.74864161%204.35676625%2C5.64095399%204.42845467%2C5.56944689%20Z%20M4.43345467%2C10.4270004%20L7.82945467%2C13.8230004%20C7.8763568%2C13.8700213%207.94004104%2C13.8964473%208.00645467%2C13.8964473%20C8.0728683%2C13.8964473%208.13655254%2C13.8700213%208.18345467%2C13.8230004%20L11.5794547%2C10.4270004%20C11.6511431%2C10.3554933%2011.6726197%2C10.2478057%2011.6338468%2C10.1542688%20C11.5950739%2C10.0607318%2011.5037091%2C9.99981924%2011.4024547%2C10%20L4.61045467%2C10%20C4.50920023%2C9.99981924%204.41783543%2C10.0607318%204.37906252%2C10.1542688%20C4.3402896%2C10.2478057%204.36176625%2C10.3554933%204.43345467%2C10.4270004%20L4.43345467%2C10.4270004%20Z%22%20id%3D%22Path%22%20fill%3D%22%23000000%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E') no-repeat right 8px center;
2397
+ &.read-only {
2398
+ background: url('data:image/svg+xml;charset=utf-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20width%3D%2216px%22%20height%3D%2216px%22%20viewBox%3D%220%200%2016%2016%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A%20%20%20%20%3Ctitle%3EForm%2FSelect%2Fx%2FArrows%2FRead-only%3C%2Ftitle%3E%0A%20%20%20%20%3Cdefs%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M0%2C0%20L16%2C0%20L16%2C16%20L0%2C16%20L0%2C0%20Z%22%20id%3D%22path-1%22%3E%3C%2Fpath%3E%0A%20%20%20%20%3C%2Fdefs%3E%0A%20%20%20%20%3Cg%20id%3D%22Form%2FSelect%2Fx%2FArrows%2FRead-only%22%20stroke%3D%22none%22%20fill%3D%22none%22%20xlink%3Ahref%3D%22%23path-1%22%20fill-rule%3D%22nonzero%22%3E%0A%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Icon%22%20fill%3D%22%23B6B3AF%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M4.42845467%2C5.56944689%20L7.82445467%2C2.17344689%20C7.8713568%2C2.12642604%207.93504104%2C2.1%208.00145467%2C2.1%20C8.0678683%2C2.1%208.13155254%2C2.12642604%208.17845467%2C2.17344689%20L11.5744547%2C5.56944689%20C11.6461431%2C5.64095399%2011.6676197%2C5.74864161%2011.6288468%2C5.84217853%20C11.5900739%2C5.93571546%2011.4987091%2C5.99662805%2011.3974547%2C5.99644729%20L4.60545467%2C5.99644729%20C4.50420023%2C5.99662805%204.41283543%2C5.93571546%204.37406252%2C5.84217853%20C4.3352896%2C5.74864161%204.35676625%2C5.64095399%204.42845467%2C5.56944689%20Z%20M4.43345467%2C10.4270004%20L7.82945467%2C13.8230004%20C7.8763568%2C13.8700213%207.94004104%2C13.8964473%208.00645467%2C13.8964473%20C8.0728683%2C13.8964473%208.13655254%2C13.8700213%208.18345467%2C13.8230004%20L11.5794547%2C10.4270004%20C11.6511431%2C10.3554933%2011.6726197%2C10.2478057%2011.6338468%2C10.1542688%20C11.5950739%2C10.0607318%2011.5037091%2C9.99981924%2011.4024547%2C10%20L4.61045467%2C10%20C4.50920023%2C9.99981924%204.41783543%2C10.0607318%204.37906252%2C10.1542688%20C4.3402896%2C10.2478057%204.36176625%2C10.3554933%204.43345467%2C10.4270004%20L4.43345467%2C10.4270004%20Z%22%20id%3D%22Path%22%3E%3C%2Fpath%3E%0A%20%20%20%20%20%20%20%20%3C%2Fg%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E') no-repeat right 8px center;
2399
+ }
2400
+ &:disabled {
2401
+ background: url('data:image/svg+xml;charset=utf-8,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%0A%3Csvg%20width%3D%2216px%22%20height%3D%2216px%22%20viewBox%3D%220%200%2016%2016%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%0A%20%20%20%20%3Ctitle%3EForm%2FSelect%2Fx%2FArrows%2FDisabled%3C%2Ftitle%3E%0A%20%20%20%20%3Cdefs%3E%0A%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M0%2C0%20L16%2C0%20L16%2C16%20L0%2C16%20L0%2C0%20Z%22%20id%3D%22path-1%22%3E%3C%2Fpath%3E%0A%20%20%20%20%3C%2Fdefs%3E%0A%20%20%20%20%3Cg%20id%3D%22Form%2FSelect%2Fx%2FArrows%2FDisabled%22%20stroke%3D%22none%22%20fill%3D%22none%22%20xlink%3Ahref%3D%22%23path-1%22%20fill-rule%3D%22nonzero%22%3E%0A%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Icon%22%20fill%3D%22%23D3D1CF%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M4.42845467%2C5.56944689%20L7.82445467%2C2.17344689%20C7.8713568%2C2.12642604%207.93504104%2C2.1%208.00145467%2C2.1%20C8.0678683%2C2.1%208.13155254%2C2.12642604%208.17845467%2C2.17344689%20L11.5744547%2C5.56944689%20C11.6461431%2C5.64095399%2011.6676197%2C5.74864161%2011.6288468%2C5.84217853%20C11.5900739%2C5.93571546%2011.4987091%2C5.99662805%2011.3974547%2C5.99644729%20L4.60545467%2C5.99644729%20C4.50420023%2C5.99662805%204.41283543%2C5.93571546%204.37406252%2C5.84217853%20C4.3352896%2C5.74864161%204.35676625%2C5.64095399%204.42845467%2C5.56944689%20Z%20M4.43345467%2C10.4270004%20L7.82945467%2C13.8230004%20C7.8763568%2C13.8700213%207.94004104%2C13.8964473%208.00645467%2C13.8964473%20C8.0728683%2C13.8964473%208.13655254%2C13.8700213%208.18345467%2C13.8230004%20L11.5794547%2C10.4270004%20C11.6511431%2C10.3554933%2011.6726197%2C10.2478057%2011.6338468%2C10.1542688%20C11.5950739%2C10.0607318%2011.5037091%2C9.99981924%2011.4024547%2C10%20L4.61045467%2C10%20C4.50920023%2C9.99981924%204.41783543%2C10.0607318%204.37906252%2C10.1542688%20C4.3402896%2C10.2478057%204.36176625%2C10.3554933%204.43345467%2C10.4270004%20L4.43345467%2C10.4270004%20Z%22%20id%3D%22Path%22%3E%3C%2Fpath%3E%0A%20%20%20%20%20%20%20%20%3C%2Fg%3E%0A%20%20%20%20%3C%2Fg%3E%0A%3C%2Fsvg%3E') no-repeat right 8px center;
2402
+ }
2403
+ }
2404
+ }
2405
+ .table-container {
2406
+ width: 100%;
2407
+ border-collapse: collapse;
2408
+ border: none;
2409
+ th, td {
2410
+ height: 40px;
2411
+ font-weight: 400;
2412
+ border: 1px solid var(--color-grey-30);
2413
+ }
2414
+ thead {
2415
+ th {
2416
+ background: color-mix(in srgb, #000000 5%, #faf9f5 100%);
2417
+ @supports (color: color-mix(in lab, red, red)) {
2418
+ background: color-mix(in srgb, var(--color-black-100) 5%, var(--color-ambientB-5) 100%);
2419
+ }
2420
+ padding-inline: 4px;
2421
+ padding-top: 4px;
2422
+ font-size: 0.75rem;
2423
+ line-height: 14px;
2424
+ color: var(--color-grey-50);
2425
+ text-align: left;
2426
+ vertical-align: top;
2427
+ }
2428
+ }
2429
+ td[class^='col-'] {
2430
+ color: var(--color-grey-80);
2431
+ text-align: center;
2432
+ vertical-align: middle;
2433
+ padding-inline: 4px;
2434
+ font-size: 1rem;
2435
+ line-height: 24px;
2436
+ box-shadow: inset 0 1px 0 var(--color-white-100);
2437
+ position: relative;
2438
+ overflow: hidden;
2439
+ }
2440
+ }
2441
+ .table-container.ambient thead th {
2442
+ background: var(--mix-color-1);
2443
+ @supports (color: color-mix(in lab, red, red)) {
2444
+ background: color-mix(in srgb, var(--mix-color-1) 10%, var(--mix-color-2) 100%);
2445
+ }
2446
+ }
2447
+ .table-container.ambient tbody tr:nth-child(odd) {
2448
+ background: var(--row-bg-odd);
2449
+ }
2450
+ .table-container.ambient tbody tr:nth-child(even) {
2451
+ background: var(--row-bg-even);
2452
+ }
2453
+ .ui-dialog-overlay {
2454
+ background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.7) 100%);
2455
+ bottom: 0;
2456
+ height: 100%;
2457
+ left: 0;
2458
+ position: fixed;
2459
+ right: 0;
2460
+ top: 0;
2461
+ width: 100%;
2462
+ z-index: 1000;
2463
+ overflow: auto;
2464
+ align-items: safe center;
2465
+ .dialog-content {
2466
+ background-color: var(--color-ambientB-5);
2467
+ border-radius: var(--radius-xl);
2468
+ box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 1), 0 9px 8px -3px rgba(0, 0, 0, 0.49), 0 32px 40px -12px rgba(0, 0, 0, 0.9);
2469
+ display: flex;
2470
+ flex-direction: column;
2471
+ margin: calc(var(--spacing) * 6);
2472
+ max-width: calc(100vw - (var(--spacing) * 12));
2473
+ min-width: 560px;
2474
+ position: relative;
2475
+ header {
2476
+ background-color: var(--color-white-100);
2477
+ border-radius: var(--radius-xl);
2478
+ display: flex;
2479
+ flex-grow: 0;
2480
+ gap: calc(var(--spacing) * 2);
2481
+ padding: calc(var(--spacing) * 5) calc(var(--spacing) * 8);
2482
+ h1, h2, h3, h4, h5 {
2483
+ font-weight: var(--font-weight-semibold);
2484
+ font-size: 1.5rem;
2485
+ margin-bottom: 0;
2486
+ }
2487
+ }
2488
+ section {
2489
+ box-shadow: 0 1px 0 0 inset rgba(0, 0, 0, 0.25), 0 -1px 0 0 inset rgba(0, 0, 0, 0.25);
2490
+ flex-grow: 1;
2491
+ overflow: auto;
2492
+ padding: calc(var(--spacing) * 8);
2493
+ }
2494
+ footer {
2495
+ align-content: center;
2496
+ background-color: var(--color-white-100);
2497
+ border-radius: var(--radius-xl);
2498
+ display: flex;
2499
+ flex-direction: row;
2500
+ flex-grow: 0;
2501
+ gap: calc(var(--spacing) * 6);
2502
+ justify-content: flex-end;
2503
+ padding: calc(var(--spacing) * 8);
2504
+ .buttons {
2505
+ display: flex;
2506
+ gap: 24px;
2507
+ flex-shrink: 0;
2508
+ }
2509
+ button {
2510
+ font-size: 1rem;
2511
+ }
2512
+ }
2513
+ &.with-error {
2514
+ footer {
2515
+ display: flex;
2516
+ justify-content: space-between;
2517
+ align-items: center;
2518
+ padding-left: 16px;
2519
+ padding-block: 23px;
2520
+ background-color: var(--color-error-5);
2521
+ .error {
2522
+ display: flex;
2523
+ align-items: center;
2524
+ gap: 8px;
2525
+ color: var(--color-error-60);
2526
+ font-weight: 600;
2527
+ }
2528
+ }
2529
+ }
2530
+ }
2531
+ .dialog-content.fullscreen {
2532
+ width: calc(100vw - (var(--spacing) * 12));
2533
+ height: calc(100vh - (var(--spacing) * 12));
2534
+ }
2535
+ .dialog-content.ambientA {
2536
+ background-color: var(--color-ambientA-5);
2537
+ }
2538
+ .dialog-content.ambientB {
2539
+ background-color: var(--color-ambientB-5);
2540
+ }
2541
+ .dialog-content.ambientC {
2542
+ background-color: var(--color-ambientC-5);
2543
+ }
2544
+ .dialog-content.ambientD {
2545
+ background-color: var(--color-ambientD-5);
2546
+ }
2547
+ }
2548
+ .ui-dialog-overlay.scroll {
2549
+ padding: calc(var(--spacing) * 8) 0;
2550
+ }
2551
+ @media screen and (max-width: 600px) {
2552
+ .ui-dialog-overlay {
2553
+ .dialog-content {
2554
+ min-width: auto;
2555
+ }
2334
2556
  }
2335
2557
  }
2336
2558
  @font-face {