@7shifts/sous-chef 4.5.1 → 4.6.0

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.
@@ -1,11 +1,16 @@
1
1
  import React from 'react';
2
2
  import { WeekStart } from '../../utils/date';
3
+ import { HighlightGroup } from '../../utils/highlight';
3
4
  import { DateFilterMode } from './types';
4
5
  type Props = {
5
6
  mode?: DateFilterMode;
6
7
  weekStart?: WeekStart;
7
8
  value: Date;
8
9
  onChange: (selected: Date) => void;
10
+ /** Highlight one or more groups of dates below the calendar, each with its
11
+ * own shape, colour theme, and legend label. Applies to the day and week
12
+ * calendars (not the month picker). */
13
+ highlightedDays?: HighlightGroup[] | HighlightGroup;
9
14
  testId?: string;
10
15
  };
11
16
  declare const DateFilter: React.FC<Props>;
@@ -1,11 +1,16 @@
1
1
  import React from 'react';
2
2
  import { WeekStart } from '../../utils/date';
3
+ import { HighlightGroup } from '../../utils/highlight';
3
4
  type Props = {
4
5
  name: string;
5
6
  /** If not provided it will generate a random id so the label links properly with the text input */
6
7
  id?: string;
7
8
  value?: Date;
8
9
  disabledDays?: (day: Date) => boolean;
10
+ /** Highlight one or more groups of dates below the calendar, each with its
11
+ * own shape, colour theme, and legend label. Example use cases: pay days,
12
+ * holidays, blackout periods. */
13
+ highlightedDays?: HighlightGroup[] | HighlightGroup;
9
14
  /** Reference this for valid formats: https://date-fns.org/v2.18.0/docs/format */
10
15
  format?: string;
11
16
  initialMonth?: Date;
@@ -1,5 +1,6 @@
1
1
  import React, { MutableRefObject } from 'react';
2
2
  import { BlockedDays, WeekStart } from '../../../utils/date';
3
+ import { HighlightGroup } from '../../../utils/highlight';
3
4
  type Props = {
4
5
  weekStart?: WeekStart;
5
6
  start?: Date;
@@ -12,6 +13,9 @@ type Props = {
12
13
  * [doc](https://react-day-picker-v7.netlify.app/api/DayPicker#disabledDays) to see what
13
14
  * values you can use. */
14
15
  disabledDays?: BlockedDays;
16
+ /** Highlight one or more groups of dates, each with its own shape, colour
17
+ * theme, and legend label, e.g. pay days or holidays. */
18
+ highlightedDays?: HighlightGroup[] | HighlightGroup;
15
19
  anchorRef: MutableRefObject<HTMLElement | null>;
16
20
  testId?: string;
17
21
  onMonthChange?: (month: Date) => void;
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  import { WeekStart, DateRange, BlockedDays, DisabledDays } from '../../utils/date';
3
+ import { HighlightGroup } from '../../utils/highlight';
3
4
  type Props = {
4
5
  name: string;
5
6
  /** If not provided it will generate a random id so the label links properly with the text input */
@@ -7,6 +8,11 @@ type Props = {
7
8
  value?: DateRange;
8
9
  /** It disable some dates so the user can't click on them. Refer to this [doc](https://react-day-picker.js.org/api/types/matcher) to see what values you can use. */
9
10
  disabledDays?: DisabledDays | BlockedDays;
11
+ /** Highlight one or more groups of dates below the calendar, each with its
12
+ * own shape, colour theme, and legend label. Each group's `dates` accepts
13
+ * the same Matcher types as `disabledDays` (plus the pattern helpers).
14
+ * Example use cases: pay days, holidays, blackout periods. */
15
+ highlightedDays?: HighlightGroup[] | HighlightGroup;
10
16
  /** Reference this for valid formats: https://date-fns.org/v2.18.0/docs/format */
11
17
  format?: string;
12
18
  onChange?: (e: DateRange) => void;
@@ -1,10 +1,12 @@
1
1
  import React from 'react';
2
2
  import { WeekStart, BlockedDays } from '../../../utils/date';
3
+ import { HighlightGroup } from '../../../utils/highlight';
3
4
  type Props = {
4
5
  name: string;
5
6
  id: string;
6
7
  format: string;
7
8
  disabledDays?: BlockedDays;
9
+ highlightedDays?: HighlightGroup[] | HighlightGroup;
8
10
  start?: Date;
9
11
  end?: Date;
10
12
  placeholder: string;
@@ -16,5 +18,5 @@ type Props = {
16
18
  onDayClick: () => void;
17
19
  testId?: string;
18
20
  };
19
- declare const FromDate: ({ name, id, format, disabledDays, start, end, placeholder, weekStart, maxDays, disabled, readOnly, onChange, onDayClick, testId }: Props) => React.JSX.Element;
21
+ declare const FromDate: ({ name, id, format, disabledDays, highlightedDays, start, end, placeholder, weekStart, maxDays, disabled, readOnly, onChange, onDayClick, testId }: Props) => React.JSX.Element;
20
22
  export default FromDate;
@@ -1,9 +1,11 @@
1
1
  import React from 'react';
2
2
  import { WeekStart, BlockedDays } from '../../../utils/date';
3
+ import { HighlightGroup } from '../../../utils/highlight';
3
4
  type Props = {
4
5
  name: string;
5
6
  format: string;
6
7
  disabledDays?: BlockedDays;
8
+ highlightedDays?: HighlightGroup[] | HighlightGroup;
7
9
  start?: Date;
8
10
  end?: Date;
9
11
  placeholder: string;
@@ -1,11 +1,16 @@
1
1
  import React from 'react';
2
2
  import { WeekStart } from '../../utils/date';
3
+ import { HighlightGroup } from '../../utils/highlight';
3
4
  type Props = {
4
5
  name: string;
5
6
  /** If not provided it will generate a random id so the label links properly with the text input */
6
7
  id?: string;
7
8
  value?: Date;
8
9
  disabledDays?: (day: Date) => boolean;
10
+ /** Highlight one or more groups of dates below the calendar, each with its
11
+ * own shape, colour theme, and legend label. Example use cases: pay days,
12
+ * holidays, blackout periods. */
13
+ highlightedDays?: HighlightGroup[] | HighlightGroup;
9
14
  /** Reference this for valid formats: https://date-fns.org/v2.18.0/docs/format */
10
15
  format?: string;
11
16
  initialMonth?: Date;
@@ -31,4 +31,8 @@ export type { PillSelectOption } from './PillSelectField/types';
31
31
  export type { AsyncSelectOptions } from './AsyncSelectField/types';
32
32
  export type { FormikType } from './Form/types';
33
33
  export type { PhoneFieldCountryCode } from './PhoneField/types';
34
+ export type { HighlightGroup, HighlightShape, HighlightTheme } from '../utils/highlight';
35
+ export { HIGHLIGHT_SHAPE } from '../utils/highlight';
36
+ export type { Weekday } from '../utils/highlight-patterns';
37
+ export { nthWeekdayOfMonth, everyOtherWeekday, firstOfMonth, lastOfMonth } from '../utils/highlight-patterns';
34
38
  export { isValidPhoneNumber } from './validations';
package/dist/index.css CHANGED
@@ -2014,13 +2014,13 @@ h5._i2LHD {
2014
2014
  ._et9Fs {
2015
2015
  --rdp-cell-size: 37px;
2016
2016
  --rdp-caption-font-size: var(--font-size-300);
2017
- --rdp-accent-color: var(--color-primary-container-variant);
2017
+ --rdp-accent-color: var(--color-surface-container-highest);
2018
2018
  --rdp-background-color: color-mix(
2019
2019
  in srgb,
2020
2020
  var(--color-surface-color) 100%,
2021
2021
  var(--color-surface-inverse) 5%
2022
2022
  );
2023
- --rdp-accent-color-dark: var(--color-primary-color);
2023
+ --rdp-accent-color-dark: var(--color-surface-container-highest);
2024
2024
  --rdp-background-color-dark: var(--color-surface-on-color);
2025
2025
  --rdp-outline: 2px solid var(--rdp-accent-color); /* Outline border for focused elements */
2026
2026
  --rdp-outline-selected: 3px solid var(--rdp-accent-color); /* Outline border for focused _and_ selected elements */
@@ -2060,7 +2060,7 @@ h5._i2LHD {
2060
2060
  }
2061
2061
 
2062
2062
  ._X7MoW:not(._AeJUw) {
2063
- color: var(--color-primary-color);
2063
+ color: var(--color-secondary-color);
2064
2064
  font-weight: var(--p-font-weight-bold);
2065
2065
  text-decoration: underline;
2066
2066
  }
@@ -2081,13 +2081,13 @@ h5._i2LHD {
2081
2081
  }
2082
2082
 
2083
2083
  ._eK8pw._eK8pw._eK8pw._eK8pw:not(:disabled) {
2084
- background-color: var(--color-primary-container-variant);
2084
+ background-color: var(--color-surface-container-highest);
2085
2085
  color: var(--color-primary-on-container-variant);
2086
2086
  opacity: 1;
2087
2087
  }
2088
2088
  ._eK8pw._eK8pw._eK8pw._eK8pw:not(:disabled):hover {
2089
- background-color: var(--color-primary-color);
2090
- color: var(--color-primary-on-color);
2089
+ background-color: var(--color-surface-inverse);
2090
+ color: var(--color-surface-on-inverse);
2091
2091
  }
2092
2092
 
2093
2093
  ._eK8pw[disabled] {
@@ -2098,13 +2098,13 @@ h5._i2LHD {
2098
2098
  ._QLSA6 {
2099
2099
  --rdp-cell-size: 37px;
2100
2100
  --rdp-caption-font-size: var(--font-size-300);
2101
- --rdp-accent-color: var(--color-primary-container-variant);
2101
+ --rdp-accent-color: var(--color-surface-container-highest);
2102
2102
  --rdp-background-color: color-mix(
2103
2103
  in srgb,
2104
2104
  var(--color-surface-color) 100%,
2105
2105
  var(--color-surface-inverse) 5%
2106
2106
  );
2107
- --rdp-accent-color-dark: var(--color-primary-color);
2107
+ --rdp-accent-color-dark: var(--color-surface-container-highest);
2108
2108
  --rdp-background-color-dark: var(--color-surface-on-color);
2109
2109
  --rdp-outline: 2px solid var(--rdp-accent-color); /* Outline border for focused elements */
2110
2110
  --rdp-outline-selected: 3px solid var(--rdp-accent-color); /* Outline border for focused _and_ selected elements */
@@ -2144,7 +2144,7 @@ h5._i2LHD {
2144
2144
  }
2145
2145
 
2146
2146
  ._Snv-V:not(._Zf-6C) {
2147
- color: var(--color-primary-color);
2147
+ color: var(--color-secondary-color);
2148
2148
  font-weight: var(--p-font-weight-bold);
2149
2149
  text-decoration: underline;
2150
2150
  }
@@ -2233,6 +2233,180 @@ h5._i2LHD {
2233
2233
  background: var(--color-surface-container);
2234
2234
  box-shadow: 0 0 12px -3px var(--color-shadow-overlay);
2235
2235
  }
2236
+ ._ucr9m {
2237
+ position: relative;
2238
+ }
2239
+ ._ucr9m::after {
2240
+ content: "";
2241
+ position: absolute;
2242
+ inset: -2px;
2243
+ pointer-events: none;
2244
+ }
2245
+
2246
+ ._ucr9m._ucr9m {
2247
+ overflow: visible;
2248
+ }
2249
+
2250
+ ._mLAwT {
2251
+ --highlight-color: var(--color-success-color);
2252
+ }
2253
+
2254
+ ._Uji-g {
2255
+ --highlight-color: var(--color-danger-color);
2256
+ }
2257
+
2258
+ ._pe9ss {
2259
+ --highlight-color: var(--color-warning-color);
2260
+ }
2261
+
2262
+ ._OfzGg {
2263
+ --highlight-color: var(--color-info-color);
2264
+ }
2265
+
2266
+ ._Pywaj {
2267
+ --highlight-color: var(--color-upsell-color);
2268
+ }
2269
+
2270
+ ._5WRkx {
2271
+ --highlight-color: var(--color-neutral-color);
2272
+ }
2273
+
2274
+ ._ucr9m._0LzN8::after {
2275
+ border: 1.5px solid var(--highlight-color);
2276
+ border-radius: 50%;
2277
+ }
2278
+
2279
+ ._N-Dl4._0LzN8 {
2280
+ border: 1.5px solid var(--highlight-color);
2281
+ border-radius: 50%;
2282
+ }
2283
+
2284
+ ._ucr9m._eCqCU::after {
2285
+ border: 1.5px dashed var(--highlight-color);
2286
+ border-radius: 50%;
2287
+ }
2288
+
2289
+ ._N-Dl4._eCqCU {
2290
+ border: 1.5px dashed var(--highlight-color);
2291
+ border-radius: 50%;
2292
+ }
2293
+
2294
+ ._ucr9m._-pO-1::after {
2295
+ border: 1.5px solid var(--highlight-color);
2296
+ }
2297
+
2298
+ ._N-Dl4._-pO-1 {
2299
+ border: 1.5px solid var(--highlight-color);
2300
+ }
2301
+
2302
+ ._ucr9m._7PoYh::after {
2303
+ border: 1.5px dashed var(--highlight-color);
2304
+ }
2305
+
2306
+ ._N-Dl4._7PoYh {
2307
+ border: 1.5px dashed var(--highlight-color);
2308
+ }
2309
+
2310
+ ._ucr9m._ywc-V::after {
2311
+ background-color: var(--highlight-color);
2312
+ mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.1'%3E%3Cpolygon%20points='7.44%201%2016.56%201%2023%207.44%2023%2016.56%2016.56%2023%207.44%2023%201%2016.56%201%207.44'/%3E%3C/svg%3E");
2313
+ -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.1'%3E%3Cpolygon%20points='7.44%201%2016.56%201%2023%207.44%2023%2016.56%2016.56%2023%207.44%2023%201%2016.56%201%207.44'/%3E%3C/svg%3E");
2314
+ mask-repeat: no-repeat;
2315
+ -webkit-mask-repeat: no-repeat;
2316
+ mask-position: center;
2317
+ -webkit-mask-position: center;
2318
+ mask-size: contain;
2319
+ -webkit-mask-size: contain;
2320
+ }
2321
+
2322
+ ._N-Dl4._ywc-V {
2323
+ background-color: var(--highlight-color);
2324
+ mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='3'%3E%3Cpolygon%20points='7.44%201%2016.56%201%2023%207.44%2023%2016.56%2016.56%2023%207.44%2023%201%2016.56%201%207.44'/%3E%3C/svg%3E");
2325
+ -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='3'%3E%3Cpolygon%20points='7.44%201%2016.56%201%2023%207.44%2023%2016.56%2016.56%2023%207.44%2023%201%2016.56%201%207.44'/%3E%3C/svg%3E");
2326
+ mask-repeat: no-repeat;
2327
+ -webkit-mask-repeat: no-repeat;
2328
+ mask-position: center;
2329
+ -webkit-mask-position: center;
2330
+ mask-size: contain;
2331
+ -webkit-mask-size: contain;
2332
+ }
2333
+
2334
+ ._ucr9m._vF4Ka::after {
2335
+ background-color: var(--highlight-color);
2336
+ mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.1'%3E%3Cpolygon%20points='12%201%2014.23%203.69%2017.5%202.47%2018.08%205.92%2021.53%206.5%2020.31%209.77%2023%2012%2020.31%2014.23%2021.53%2017.5%2018.08%2018.08%2017.5%2021.53%2014.23%2020.31%2012%2023%209.77%2020.31%206.5%2021.53%205.92%2018.08%202.47%2017.5%203.69%2014.23%201%2012%203.69%209.77%202.47%206.5%205.92%205.92%206.5%202.47%209.77%203.69'/%3E%3C/svg%3E");
2337
+ -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='1.1'%3E%3Cpolygon%20points='12%201%2014.23%203.69%2017.5%202.47%2018.08%205.92%2021.53%206.5%2020.31%209.77%2023%2012%2020.31%2014.23%2021.53%2017.5%2018.08%2018.08%2017.5%2021.53%2014.23%2020.31%2012%2023%209.77%2020.31%206.5%2021.53%205.92%2018.08%202.47%2017.5%203.69%2014.23%201%2012%203.69%209.77%202.47%206.5%205.92%205.92%206.5%202.47%209.77%203.69'/%3E%3C/svg%3E");
2338
+ mask-repeat: no-repeat;
2339
+ -webkit-mask-repeat: no-repeat;
2340
+ mask-position: center;
2341
+ -webkit-mask-position: center;
2342
+ mask-size: contain;
2343
+ -webkit-mask-size: contain;
2344
+ }
2345
+
2346
+ ._N-Dl4._vF4Ka {
2347
+ background-color: var(--highlight-color);
2348
+ mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='3'%3E%3Cpolygon%20points='12%201%2014.23%203.69%2017.5%202.47%2018.08%205.92%2021.53%206.5%2020.31%209.77%2023%2012%2020.31%2014.23%2021.53%2017.5%2018.08%2018.08%2017.5%2021.53%2014.23%2020.31%2012%2023%209.77%2020.31%206.5%2021.53%205.92%2018.08%202.47%2017.5%203.69%2014.23%201%2012%203.69%209.77%202.47%206.5%205.92%205.92%206.5%202.47%209.77%203.69'/%3E%3C/svg%3E");
2349
+ -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='black'%20stroke-width='3'%3E%3Cpolygon%20points='12%201%2014.23%203.69%2017.5%202.47%2018.08%205.92%2021.53%206.5%2020.31%209.77%2023%2012%2020.31%2014.23%2021.53%2017.5%2018.08%2018.08%2017.5%2021.53%2014.23%2020.31%2012%2023%209.77%2020.31%206.5%2021.53%205.92%2018.08%202.47%2017.5%203.69%2014.23%201%2012%203.69%209.77%202.47%206.5%205.92%205.92%206.5%202.47%209.77%203.69'/%3E%3C/svg%3E");
2350
+ mask-repeat: no-repeat;
2351
+ -webkit-mask-repeat: no-repeat;
2352
+ mask-position: center;
2353
+ -webkit-mask-position: center;
2354
+ mask-size: contain;
2355
+ -webkit-mask-size: contain;
2356
+ }
2357
+
2358
+ ._iB2Db {
2359
+ display: flex;
2360
+ flex-wrap: wrap;
2361
+ gap: 10px 14px;
2362
+ padding: 16px;
2363
+ border-top: 1px solid var(--color-outline-variant);
2364
+ margin: 0 4px;
2365
+ }
2366
+
2367
+ ._YauE7 {
2368
+ display: flex;
2369
+ align-items: center;
2370
+ gap: 4px;
2371
+ }
2372
+
2373
+ ._N-Dl4 {
2374
+ flex-shrink: 0;
2375
+ width: 12px;
2376
+ height: 12px;
2377
+ box-sizing: border-box;
2378
+ }
2379
+
2380
+ ._lMmc7 {
2381
+ font-family: var(--font-family-body);
2382
+ font-size: var(--font-size-100);
2383
+ line-height: 1rem;
2384
+ color: var(--color-surface-on-color);
2385
+ }
2386
+ ._TjAon {
2387
+ padding: 16px;
2388
+ border-top: 1px solid var(--color-outline-variant);
2389
+ }
2390
+ ._BbYmq {
2391
+ display: flex;
2392
+ align-items: center;
2393
+ gap: 4px;
2394
+ }
2395
+ ._utSi- {
2396
+ box-sizing: border-box;
2397
+ width: 12px;
2398
+ height: 12px;
2399
+ }
2400
+ ._utSi- svg {
2401
+ display: block;
2402
+ }
2403
+ ._mP9vd {
2404
+ border: 3px solid;
2405
+ }
2406
+ ._6zlZT {
2407
+ border: 3px solid;
2408
+ border-radius: 50%;
2409
+ }
2236
2410
  ._Id4qm {
2237
2411
  position: relative;
2238
2412
  }
@@ -3580,10 +3754,10 @@ input:disabled + ._kmvBP::after {
3580
3754
  color: var(--color-surface-on-color);
3581
3755
  }
3582
3756
  ._QxJjU {
3583
- color: var(--color-primary-color);
3757
+ color: var(--color-secondary-color);
3584
3758
  }
3585
3759
  ._TqBVI {
3586
- background-color: var(--color-primary-container);
3760
+ background-color: var(--color-surface-container-highest);
3587
3761
  }
3588
3762
  ._5TJrn:hover {
3589
3763
  background-color: var(--color-primary-container);
@@ -4260,13 +4434,13 @@ input:disabled + ._Yfxkl::after {
4260
4434
  ._SsQ7L {
4261
4435
  --rdp-cell-size: 37px;
4262
4436
  --rdp-caption-font-size: var(--font-size-300);
4263
- --rdp-accent-color: var(--color-primary-container-variant);
4437
+ --rdp-accent-color: var(--color-surface-container-highest);
4264
4438
  --rdp-background-color: color-mix(
4265
4439
  in srgb,
4266
4440
  var(--color-surface-color) 100%,
4267
4441
  var(--color-surface-inverse) 5%
4268
4442
  );
4269
- --rdp-accent-color-dark: var(--color-primary-color);
4443
+ --rdp-accent-color-dark: var(--color-surface-container-highest);
4270
4444
  --rdp-background-color-dark: var(--color-surface-on-color);
4271
4445
  --rdp-outline: 2px solid var(--rdp-accent-color); /* Outline border for focused elements */
4272
4446
  --rdp-outline-selected: 3px solid var(--rdp-accent-color); /* Outline border for focused _and_ selected elements */
@@ -4306,7 +4480,7 @@ input:disabled + ._Yfxkl::after {
4306
4480
  }
4307
4481
 
4308
4482
  ._lFzs7:not(._TjttB) {
4309
- color: var(--color-primary-color);
4483
+ color: var(--color-secondary-color);
4310
4484
  font-weight: var(--p-font-weight-bold);
4311
4485
  text-decoration: underline;
4312
4486
  }
@@ -4327,11 +4501,11 @@ input:disabled + ._Yfxkl::after {
4327
4501
  }
4328
4502
 
4329
4503
  ._rJolM._rJolM {
4330
- color: var(--color-primary-color);
4504
+ color: var(--color-surface-inverse);
4331
4505
  border-radius: 0;
4332
4506
  }
4333
4507
  ._rJolM._rJolM:hover {
4334
- color: var(--color-primary-color);
4508
+ color: var(--color-surface-inverse);
4335
4509
  }
4336
4510
  ._rJolM._rJolM:disabled {
4337
4511
  background-color: var(--color-primary-container-variant);
@@ -4341,8 +4515,8 @@ input:disabled + ._Yfxkl::after {
4341
4515
  ._nVIPx._nVIPx {
4342
4516
  border-top-right-radius: 0;
4343
4517
  border-bottom-right-radius: 0;
4344
- color: var(--color-primary-on-color);
4345
- background-color: var(--color-primary-color);
4518
+ color: var(--color-surface-on-inverse);
4519
+ background-color: var(--color-surface-inverse);
4346
4520
  }
4347
4521
  ._nVIPx._nVIPx:disabled {
4348
4522
  background-color: var(--color-primary-container-variant);
@@ -4352,8 +4526,8 @@ input:disabled + ._Yfxkl::after {
4352
4526
  ._Y50yT._Y50yT:not(._nVIPx) {
4353
4527
  border-top-left-radius: 0;
4354
4528
  border-bottom-left-radius: 0;
4355
- color: var(--color-primary-on-color);
4356
- background-color: var(--color-primary-color);
4529
+ color: var(--color-surface-on-inverse);
4530
+ background-color: var(--color-surface-inverse);
4357
4531
  }
4358
4532
  ._Y50yT._Y50yT:not(._nVIPx):disabled {
4359
4533
  background-color: var(--color-primary-container-variant);