design-system-silkhaus 4.0.0-beta.color-names.4 → 4.0.0-beta.color-names.6

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.
package/dist/index.js CHANGED
@@ -19,8 +19,8 @@ var ze = (e, t) => {
19
19
  t.indexOf(n) < 0 && V0.call(e, n) && (r[n] = e[n]);
20
20
  return r;
21
21
  };
22
- import { j as u, t as Ve, c as AC, d as Re, e as xe, u as Lp, g as HC, h as Ap, i as Hp, k as Fp, l as qp, F as Vp, A as wa, m as $p, o as Bp, n as Wp, C as Fr, p as zp, q as wt, r as af, s as FC, v as of, w as Up, x as qC, y as VC, z as $C, a as W0, B as C2, D as BC } from "./index-cVxmO35M.js";
23
- import { E as B$, G as W$, H as z$ } from "./index-cVxmO35M.js";
22
+ import { j as u, t as Ve, c as AC, d as Re, e as xe, u as Lp, g as HC, h as Ap, i as Hp, k as Fp, l as qp, F as Vp, A as wa, m as $p, o as Bp, n as Wp, C as Fr, p as zp, q as wt, r as af, s as FC, v as of, w as Up, x as qC, y as VC, z as $C, a as W0, B as C2, D as BC } from "./index-CS40ZeSb.js";
23
+ import { E as B$, G as W$, H as z$ } from "./index-CS40ZeSb.js";
24
24
  import * as ee from "react";
25
25
  import de, { useState as Le, useMemo as Pr, useEffect as Ge, useCallback as Ze, forwardRef as wr, createContext as sf, useRef as mt, useContext as fa, useDebugValue as z0, useLayoutEffect as lf, isValidElement as _n, useSyncExternalStore as WC, cloneElement as w2 } from "react";
26
26
  import Ne from "moment";
@@ -49,7 +49,10 @@ function Ei(e) {
49
49
  }), r;
50
50
  }
51
51
  const U0 = {
52
- primary: "ds-bg-Background-accentPrimary-100 ds-text-Text-textPrimaryInverse ds-rounded-sm hover:ds-text-Text-textPrimaryInverse hover:ds-bg-Background-accentPrimary-highlight active:ds-bg-Background-accentPrimary-darkened focus:ds-rounded-none focus:ds-bg-Background-accentPrimary-100 focus:ds-border focus:ds-border-Fills-inversePrimary focus:ds-shadow-[0px_0px_0px_1px_rgba(109,54,169,1)] disabled:focus:ds-shadow-none disabled:ds-bg-Background-accentPrimary-20",
52
+ primary: (
53
+ // eslint-disable-next-line tailwind/no-hardcoded-colors -- TODO: use tailwind classes with design system tokens instead of hardcoded colors
54
+ "ds-bg-Background-accentPrimary-100 ds-text-Text-textPrimaryInverse ds-rounded-sm hover:ds-text-Text-textPrimaryInverse hover:ds-bg-Background-accentPrimary-highlight active:ds-bg-Background-accentPrimary-darkened focus:ds-rounded-none focus:ds-bg-Background-accentPrimary-100 focus:ds-border focus:ds-border-Fills-inversePrimary focus:ds-shadow-[0px_0px_0px_1px_rgba(109,54,169,1)] disabled:focus:ds-shadow-none disabled:ds-bg-Background-accentPrimary-20"
55
+ ),
53
56
  secondary: "ds-text-Background-accentPrimary-100 ds-rounded-sm ds-border ds-border-Fills-secondary hover:ds-text-Background-accentPrimary-100 hover:ds-border hover:ds-bg-Background-accentPrimary-5 hover:ds-border-Fills-primary active:ds-text-Background-accentPrimary-100 active:ds-border active:ds-border-Fills-Background-accentPrimary-100 active:ds-bg-Background-accentPrimary-5 focus:ds-bg-Background-accentPrimary-5 focus:ds-bg-Background-accentPrimary-5 focus:ds-text-accentPrimary-100 focus:ds-border-2 focus:ds-border-Background-accentPrimary-100 disabled:ds-border disabled:ds-border-Fills-tertiary disabled:ds-text-Text-tertiary disabled:ds-bg-transparent",
54
57
  tertiary: "ds-text-Text-secondary ds-rounded-sm hover:ds-bg-Fills-quinary active:ds-bg-Fills-quinary focus:ds-bg-Fills-quaternary disabled:ds-text-Fills-quaternary disabled:ds-bg-Fills-quinary",
55
58
  quaternary: "ds-text-accentPrimary-100 ds-rounded-sm hover:ds-bg-Background-accentPrimary-5 active:ds-bg-Background-accentPrimary-5 focus:ds-bg-Background-accentPrimary-100 focus:ds-text-Text-textPrimaryInverse disabled:ds-text-Background-accentPrimary-20",
@@ -5069,7 +5072,9 @@ const cw = de.forwardRef(
5069
5072
  className: Ve(
5070
5073
  Re(
5071
5074
  "ds-z-10 ds-mx-[2.5px] ds-block ds-h-[4px] ds-w-[5px] ds-rounded-[1px]",
5075
+ // eslint-disable-next-line tailwind/no-hardcoded-colors -- TODO: use tailwind classes with design system tokens instead of hardcoded colors
5072
5076
  s !== r && "ds-bg-[rgba(255,255,255,0.5)]",
5077
+ // eslint-disable-next-line tailwind/no-hardcoded-colors -- TODO: use tailwind classes with design system tokens instead of hardcoded colors
5073
5078
  s === r && "ds-bg-[rgba(255,255,255,0.8)]"
5074
5079
  )
5075
5080
  )
@@ -5286,7 +5291,9 @@ const sv = de.forwardRef(
5286
5291
  ({
5287
5292
  progress: e,
5288
5293
  text: t = "",
5294
+ // eslint-disable-next-line tailwind/no-hardcoded-colors -- TODO: use tailwind classes with design system tokens instead of hardcoded colors
5289
5295
  borderColor: r = "rgba(0, 0, 0, 0.1)",
5296
+ // eslint-disable-next-line tailwind/no-hardcoded-colors -- TODO: use tailwind classes with design system tokens instead of hardcoded colors
5290
5297
  progressColor: n = "#542686",
5291
5298
  size: a = "48px",
5292
5299
  strokeWidth: i = 3,
@@ -22956,7 +22963,9 @@ const sM = de.forwardRef(
22956
22963
  overflow: "hidden",
22957
22964
  height: "100vh",
22958
22965
  "& .DayPicker_weekHeader": {
22966
+ // eslint-disable-next-line tailwind/no-hardcoded-colors -- TODO: use tailwind classes with design system tokens instead of hardcoded colors
22959
22967
  backgroundColor: "#f0f2f5",
22968
+ // eslint-disable-next-line tailwind/no-hardcoded-colors -- TODO: use tailwind classes with design system tokens instead of hardcoded colors
22960
22969
  boxShadow: "0 6px 12px 0 rgba(0, 0, 0, 0.12)"
22961
22970
  },
22962
22971
  "& .DayPicker_weekHeader_li ": {
@@ -22966,6 +22975,7 @@ const sM = de.forwardRef(
22966
22975
  paddingTop: "25px"
22967
22976
  },
22968
22977
  "& .info-panel": {
22978
+ // eslint-disable-next-line tailwind/no-hardcoded-colors -- TODO: use tailwind classes with design system tokens instead of hardcoded colors
22969
22979
  boxShadow: "0 -6px 12px 0 rgba(0, 0, 0, 0.12)",
22970
22980
  position: "relative",
22971
22981
  zIndex: 10
@@ -23522,7 +23532,8 @@ const HM = wr((e, t) => {
23522
23532
  {
23523
23533
  className: Re(
23524
23534
  !l && "ds-p-6",
23525
- l && "ds-relative ds-flex ds-items-center ds-justify-center ds-px-8 ds-py-4 ds-shadow-[0px_2px_8px_0px_rgba(0,0,0,0.08)]"
23535
+ l && // eslint-disable-next-line tailwind/no-hardcoded-colors -- TODO: use tailwind classes with design system tokens instead of hardcoded colors
23536
+ "ds-relative ds-flex ds-items-center ds-justify-center ds-px-8 ds-py-4 ds-shadow-[0px_2px_8px_0px_rgba(0,0,0,0.08)]"
23526
23537
  ),
23527
23538
  children: [
23528
23539
  /* @__PURE__ */ u.jsx(
@@ -23699,7 +23710,9 @@ const k$ = ({
23699
23710
  ),
23700
23711
  r && /* @__PURE__ */ u.jsx("div", { children: r })
23701
23712
  ] }), qM = {
23713
+ // eslint-disable-next-line tailwind/no-hardcoded-colors -- TODO: use tailwind classes with design system tokens instead of hardcoded colors
23702
23714
  light: "ds-bg-[rgba(255,255,255,0.64)] ds-text-Text-primary",
23715
+ // eslint-disable-next-line tailwind/no-hardcoded-colors -- TODO: use tailwind classes with design system tokens instead of hardcoded colors
23703
23716
  dark: "ds-bg-[rgba(0,0,0,0.24)] ds-text-Fills-inversePrimary",
23704
23717
  amenity: "ds-bg-Fills-quinary ds-text-Text-secondary"
23705
23718
  }, A2 = wr(
@@ -26363,8 +26376,10 @@ const Bk = de.forwardRef(
26363
26376
  ref: I,
26364
26377
  className: xe(
26365
26378
  "ds-box-border ds-w-full ds-overflow-hidden ds-rounded",
26366
- (!m || y === "none") && "ds-border-2 ds-border-Fills-quaternary ds-bg-Background-primary hover:ds-shadow-[0_12px_24px_0_rgba(0,0,0,0.12)]",
26367
- m && y === "selected" && "ds-border-2 ds-border-accentPrimary-100 ds-bg-accentPrimary-5 ds-bg-opacity-50 hover:ds-shadow-[0_12px_24px_0_rgba(0,0,0,0.12)]",
26379
+ (!m || y === "none") && // eslint-disable-next-line tailwind/no-hardcoded-colors -- TODO: use tailwind classes with design system tokens instead of hardcoded colors
26380
+ "ds-border-2 ds-border-Fills-quaternary ds-bg-Background-primary hover:ds-shadow-[0_12px_24px_0_rgba(0,0,0,0.12)]",
26381
+ m && y === "selected" && // eslint-disable-next-line tailwind/no-hardcoded-colors -- TODO: use tailwind classes with design system tokens instead of hardcoded colors
26382
+ "ds-border-2 ds-border-accentPrimary-100 ds-bg-accentPrimary-5 ds-bg-opacity-50 hover:ds-shadow-[0_12px_24px_0_rgba(0,0,0,0.12)]",
26368
26383
  m && y && [
26369
26384
  "added"
26370
26385
  /* Added */
@@ -31469,6 +31484,7 @@ const Cb = ({
31469
31484
  ref: a,
31470
31485
  className: Ve(
31471
31486
  Re(
31487
+ // eslint-disable-next-line tailwind/no-hardcoded-colors -- TODO: use tailwind classes with design system tokens instead of hardcoded colors
31472
31488
  "ds-mt-4 ds-h-[117px] ds-w-[145px] ds-flex-col ds-items-start ds-justify-center ds-gap-2 ds-rounded ds-border-[1px] ds-bg-Background-primary ds-p-4 ds-shadow-[0px_12px_24px_0px_rgba(0,0,0,0.12)] ds-tablet:ds-flex",
31473
31489
  t
31474
31490
  )
@@ -31688,7 +31704,10 @@ const cp = () => /* @__PURE__ */ u.jsx("div", { className: "ds-absolute ds-left-
31688
31704
  /* @__PURE__ */ u.jsx(
31689
31705
  "span",
31690
31706
  {
31691
- className: "ds-z-[2] ds-ml-2 ds-inline-flex ds-h-[32px] ds-w-[48px] ds-cursor-pointer ds-items-center ds-justify-center ds-border-[1px] ds-border-solid ds-border-[#00000040]",
31707
+ className: (
31708
+ // eslint-disable-next-line tailwind/no-hardcoded-colors -- TODO: use tailwind classes with design system tokens instead of hardcoded colors
31709
+ "ds-z-[2] ds-ml-2 ds-inline-flex ds-h-[32px] ds-w-[48px] ds-cursor-pointer ds-items-center ds-justify-center ds-border-[1px] ds-border-solid ds-border-[#00000040]"
31710
+ ),
31692
31711
  onClick: d,
31693
31712
  children: /* @__PURE__ */ u.jsx(_2, { className: "ds-size-4" })
31694
31713
  }
@@ -32107,6 +32126,7 @@ const E$ = pt, R$ = (e) => {
32107
32126
  "div",
32108
32127
  {
32109
32128
  className: xe(
32129
+ // eslint-disable-next-line tailwind/no-hardcoded-colors -- TODO: use tailwind classes with design system tokens instead of hardcoded colors
32110
32130
  "ds-flex ds-max-h-dvh ds-flex-col ds-items-center ds-bg-Background-primary ds-p-4 ds-pb-8 ds-shadow-[0px_12px_24px_0px_rgba(0,0,0,0.12)] ds-tablet:ds-max-h-[80dvh] ds-tablet:ds-max-w-[496px] ds-tablet:ds-rounded ds-tablet:ds-pb-4",
32111
32131
  n
32112
32132
  ),
@@ -33132,6 +33152,7 @@ const j$ = ({
33132
33152
  {
33133
33153
  ref: h,
33134
33154
  className: xe(
33155
+ // eslint-disable-next-line tailwind/no-hardcoded-colors -- TODO: use tailwind classes with design system tokens instead of hardcoded colors
33135
33156
  "ds-absolute ds-z-[1000] ds-m-0 ds-mt-2 ds-max-h-60 ds-w-full ds-min-w-max ds-list-none ds-overflow-y-auto ds-rounded-sm ds-border ds-border-Fills-primary ds-bg-Background-primary ds-shadow-[0px_12px_24px_0px_rgba(0,0,0,0.12)]"
33136
33157
  ),
33137
33158
  children: e.map((y) => /* @__PURE__ */ u.jsx(
@@ -33264,6 +33285,7 @@ const j$ = ({
33264
33285
  className: xe(
33265
33286
  "ds-flex ds-items-center ds-gap-1 ds-rounded-sm ds-bg-Fills-quaternary ds-px-4 ds-py-2 ds-text-mediumFootnoteEmphasized",
33266
33287
  {
33288
+ // eslint-disable-next-line tailwind/no-hardcoded-colors -- TODO: use tailwind classes with design system tokens instead of hardcoded colors
33267
33289
  "group-hover:ds-bg-[rgba(0,0,0,0.15)]": !e,
33268
33290
  "ds-pointer-events-none": e
33269
33291
  }
@@ -33349,6 +33371,7 @@ const j$ = ({
33349
33371
  className: xe(
33350
33372
  "ds-group ds-size-6 ds-flex-shrink-0 ds-appearance-none ds-rounded-full ds-border ds-border-Fills-primary checked:ds-border-4 checked:ds-border-Fills-inversePrimary checked:ds-bg-Background-primaryInverse checked:ds-ring-1 checked:ds-ring-Fills-primary",
33351
33373
  s,
33374
+ // eslint-disable-next-line tailwind/no-restricted-token -- Cannot use design system any design system color token here
33352
33375
  { "ds-cursor-not-allowed ds-border-gray-400 ds-bg-gray-200": r },
33353
33376
  { "ds-cursor-pointer": !r }
33354
33377
  ),
@@ -33453,6 +33476,7 @@ const $H = ({
33453
33476
  "div",
33454
33477
  {
33455
33478
  className: xe(
33479
+ // eslint-disable-next-line tailwind/no-hardcoded-colors -- TODO: use tailwind classes with design system tokens instead of hardcoded colors
33456
33480
  "ds-flex ds-flex-row ds-gap-1 ds-rounded ds-bg-[#F2F2F2] ds-px-2 ds-py-1",
33457
33481
  t
33458
33482
  ),
@@ -33462,6 +33486,7 @@ const $H = ({
33462
33486
  onClick: () => o(l.value),
33463
33487
  className: xe(
33464
33488
  "transition-colors ds-flex ds-flex-row ds-items-center ds-justify-center ds-gap-1 ds-rounded ds-px-4 ds-py-1 hover:ds-cursor-pointer",
33489
+ // eslint-disable-next-line tailwind/no-restricted-token -- Cannot use design system any design system color token here
33465
33490
  a === l.value ? "ds-bg-Background-primary" : "hover:ds-bg-gray-200"
33466
33491
  ),
33467
33492
  children: [
@@ -33481,6 +33506,7 @@ const A$ = (e) => {
33481
33506
  "div",
33482
33507
  {
33483
33508
  className: xe(
33509
+ // eslint-disable-next-line tailwind/no-hardcoded-colors -- TODO: use tailwind classes with design system tokens instead of hardcoded colors
33484
33510
  "ds-flex ds-gap-4 ds-bg-Background-primary ds-p-4 hover:ds-bg-[#F6F8FC]",
33485
33511
  s && "ds-cursor-pointer",
33486
33512
  t
@@ -33575,6 +33601,7 @@ const w0 = ({
33575
33601
  style: y
33576
33602
  }, k()), {
33577
33603
  className: Ve(
33604
+ // eslint-disable-next-line tailwind/no-hardcoded-colors -- TODO: use tailwind classes with design system tokens instead of hardcoded colors
33578
33605
  "ds-z-[29999] ds-rounded ds-bg-Background-primary ds-shadow-[0px_4px_18px_0px_rgba(0,0,0,0.17)]",
33579
33606
  r
33580
33607
  ),
@@ -34970,6 +34997,7 @@ const q$ = ({
34970
34997
  root: {
34971
34998
  width: "100dvw",
34972
34999
  height: "100dvh",
35000
+ // eslint-disable-next-line tailwind/no-restricted-token -- Cannot use design system any design system color token here
34973
35001
  background: "black"
34974
35002
  },
34975
35003
  container: {
@@ -35396,44 +35424,47 @@ const kq = ({
35396
35424
  cancelLabel: t,
35397
35425
  onApply: r,
35398
35426
  onCancel: n
35399
- }) => /* @__PURE__ */ u.jsxs("div", { className: "ds-flex ds-items-center ds-gap-4 ds-bg-Background-primary ds-p-4 ds-shadow-[0px_-1px_1px_0px_rgba(0,0,0,0.25)] ds-tablet:ds-justify-end ds-tablet:ds-border-t ds-tablet:ds-border-Fills-quintiary ds-tablet:ds-shadow-none", children: [
35400
- /* @__PURE__ */ u.jsx(
35401
- C2,
35402
- {
35403
- color: "secondary",
35404
- onClick: n,
35405
- className: "ds-hidden ds-tablet:ds-flex",
35406
- children: t
35407
- }
35408
- ),
35409
- /* @__PURE__ */ u.jsx(
35410
- C2,
35411
- {
35412
- color: "primary",
35413
- onClick: r,
35414
- className: "ds-hidden ds-tablet:ds-flex",
35415
- children: e
35416
- }
35417
- ),
35418
- /* @__PURE__ */ u.jsx(
35419
- wt,
35420
- {
35421
- color: "secondary",
35422
- onClick: n,
35423
- className: "ds-flex-grow ds-tablet:ds-hidden",
35424
- children: t
35425
- }
35426
- ),
35427
- /* @__PURE__ */ u.jsx(
35428
- wt,
35429
- {
35430
- color: "primary",
35431
- onClick: r,
35432
- className: "ds-flex-grow ds-tablet:ds-hidden",
35433
- children: e
35434
- }
35435
- )
35436
- ] }), Eq = ({
35427
+ }) => (
35428
+ // eslint-disable-next-line tailwind/no-hardcoded-colors -- TODO: use tailwind classes with design system tokens instead of hardcoded colors
35429
+ /* @__PURE__ */ u.jsxs("div", { className: "ds-flex ds-items-center ds-gap-4 ds-bg-Background-primary ds-p-4 ds-shadow-[0px_-1px_1px_0px_rgba(0,0,0,0.25)] ds-tablet:ds-justify-end ds-tablet:ds-border-t ds-tablet:ds-border-Fills-quintiary ds-tablet:ds-shadow-none", children: [
35430
+ /* @__PURE__ */ u.jsx(
35431
+ C2,
35432
+ {
35433
+ color: "secondary",
35434
+ onClick: n,
35435
+ className: "ds-hidden ds-tablet:ds-flex",
35436
+ children: t
35437
+ }
35438
+ ),
35439
+ /* @__PURE__ */ u.jsx(
35440
+ C2,
35441
+ {
35442
+ color: "primary",
35443
+ onClick: r,
35444
+ className: "ds-hidden ds-tablet:ds-flex",
35445
+ children: e
35446
+ }
35447
+ ),
35448
+ /* @__PURE__ */ u.jsx(
35449
+ wt,
35450
+ {
35451
+ color: "secondary",
35452
+ onClick: n,
35453
+ className: "ds-flex-grow ds-tablet:ds-hidden",
35454
+ children: t
35455
+ }
35456
+ ),
35457
+ /* @__PURE__ */ u.jsx(
35458
+ wt,
35459
+ {
35460
+ color: "primary",
35461
+ onClick: r,
35462
+ className: "ds-flex-grow ds-tablet:ds-hidden",
35463
+ children: e
35464
+ }
35465
+ )
35466
+ ] })
35467
+ ), Eq = ({
35437
35468
  trigger: e,
35438
35469
  getSelectedValueDisplayText: t,
35439
35470
  value: r,