@handijitcom/ui 2.0.0 → 3.0.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.
Files changed (107) hide show
  1. package/README.md +67 -62
  2. package/build/calendar.cjs +1 -1
  3. package/build/calendar.cjs.map +1 -1
  4. package/build/calendar.css +1 -1
  5. package/build/calendar.js +109 -111
  6. package/build/calendar.js.map +1 -1
  7. package/build/chat.cjs +1 -1
  8. package/build/chat.cjs.map +1 -1
  9. package/build/chat.css +1 -1
  10. package/build/chat.js +2 -2
  11. package/build/chat.js.map +1 -1
  12. package/build/components/Alert/style.css +1 -1
  13. package/build/components/Avatar/index.cjs.map +1 -1
  14. package/build/components/Avatar/index.d.cts +1 -1
  15. package/build/components/Avatar/index.d.ts +1 -1
  16. package/build/components/Avatar/index.js.map +1 -1
  17. package/build/components/Avatar/style.css +1 -1
  18. package/build/components/Badge/index.cjs +1 -1
  19. package/build/components/Badge/index.cjs.map +1 -1
  20. package/build/components/Badge/index.d.cts +4 -2
  21. package/build/components/Badge/index.d.ts +4 -2
  22. package/build/components/Badge/index.js +1 -1
  23. package/build/components/Badge/index.js.map +1 -1
  24. package/build/components/Badge/style.css +1 -1
  25. package/build/components/BrandSurface/index.cjs +2 -0
  26. package/build/components/BrandSurface/index.cjs.map +1 -0
  27. package/build/components/BrandSurface/index.d.cts +46 -0
  28. package/build/components/BrandSurface/index.d.ts +46 -0
  29. package/build/components/BrandSurface/index.js +128 -0
  30. package/build/components/BrandSurface/index.js.map +1 -0
  31. package/build/components/BrandSurface/style.css +1 -0
  32. package/build/components/Button/index.cjs +1 -1
  33. package/build/components/Button/index.js +1 -1
  34. package/build/components/Button/style.css +1 -1
  35. package/build/components/CodeBadge/style.css +1 -1
  36. package/build/components/CopyField/style.css +1 -1
  37. package/build/components/DataTable/style.css +1 -1
  38. package/build/components/Eyebrow/index.cjs.map +1 -1
  39. package/build/components/Eyebrow/index.d.cts +1 -1
  40. package/build/components/Eyebrow/index.d.ts +1 -1
  41. package/build/components/Eyebrow/index.js.map +1 -1
  42. package/build/components/Eyebrow/style.css +1 -1
  43. package/build/components/Modal/style.css +1 -1
  44. package/build/components/Progress/index.cjs +1 -1
  45. package/build/components/Progress/index.cjs.map +1 -1
  46. package/build/components/Progress/index.d.cts +2 -2
  47. package/build/components/Progress/index.d.ts +2 -2
  48. package/build/components/Progress/index.js +1 -1
  49. package/build/components/Progress/index.js.map +1 -1
  50. package/build/components/Progress/style.css +1 -1
  51. package/build/components/Rating/style.css +1 -1
  52. package/build/components/RatingInput/style.css +1 -1
  53. package/build/components/Stat/style.css +1 -1
  54. package/build/components/StatStrip/index.cjs +1 -1
  55. package/build/components/StatStrip/index.cjs.map +1 -1
  56. package/build/components/StatStrip/index.d.cts +3 -3
  57. package/build/components/StatStrip/index.d.ts +3 -3
  58. package/build/components/StatStrip/index.js +1 -1
  59. package/build/components/StatStrip/index.js.map +1 -1
  60. package/build/components/StatStrip/style.css +1 -1
  61. package/build/components/StatusDot/index.cjs +1 -1
  62. package/build/components/StatusDot/index.cjs.map +1 -1
  63. package/build/components/StatusDot/index.d.cts +5 -3
  64. package/build/components/StatusDot/index.d.ts +5 -3
  65. package/build/components/StatusDot/index.js +1 -1
  66. package/build/components/StatusDot/index.js.map +1 -1
  67. package/build/components/StatusDot/style.css +1 -1
  68. package/build/components/TagInput/style.css +1 -1
  69. package/build/components/Textarea/style.css +1 -1
  70. package/build/components/Timeline/style.css +1 -1
  71. package/build/components/Toast/style.css +1 -1
  72. package/build/design/index.cjs +84 -178
  73. package/build/design/index.cjs.map +1 -1
  74. package/build/design/index.d.cts +72 -63
  75. package/build/design/index.d.mts +72 -63
  76. package/build/design/index.mjs +84 -178
  77. package/build/design/index.mjs.map +1 -1
  78. package/build/design/index.umd.cjs +1 -1
  79. package/build/design/index.umd.cjs.map +1 -1
  80. package/build/design/tokens.css +62 -177
  81. package/build/design/tokens.json +66 -168
  82. package/build/design/tokens.scss +48 -178
  83. package/build/enums/ui-variant.enum.cjs +1 -1
  84. package/build/enums/ui-variant.enum.cjs.map +1 -1
  85. package/build/enums/ui-variant.enum.d.cts +2 -2
  86. package/build/enums/ui-variant.enum.d.ts +2 -2
  87. package/build/enums/ui-variant.enum.js +1 -1
  88. package/build/enums/ui-variant.enum.js.map +1 -1
  89. package/build/index.cjs +1 -1
  90. package/build/index.d.cts +1 -1
  91. package/build/index.d.ts +1 -1
  92. package/build/index.js +11 -11
  93. package/build/scss/_mixins.scss +8 -10
  94. package/build/scss/_variables.scss +19 -39
  95. package/build/styles.css +21 -21
  96. package/build/types/calendar/Calendar/index.d.cts +1 -1
  97. package/build/types/calendar/Calendar/index.d.ts +1 -1
  98. package/build/types/calendar/core/types.d.cts +3 -2
  99. package/build/types/calendar/core/types.d.ts +3 -2
  100. package/package.json +11 -11
  101. package/build/components/Band/index.cjs +0 -2
  102. package/build/components/Band/index.cjs.map +0 -1
  103. package/build/components/Band/index.d.cts +0 -45
  104. package/build/components/Band/index.d.ts +0 -45
  105. package/build/components/Band/index.js +0 -127
  106. package/build/components/Band/index.js.map +0 -1
  107. package/build/components/Band/style.css +0 -1
@@ -1,45 +0,0 @@
1
- import { FC, ReactNode } from 'react';
2
- /** Where a decorative layer sits; `start` and `end` follow the writing direction. */
3
- export type BandSide = 'start' | 'end' | 'both' | 'none';
4
- /** A supergraphic's outline: the shape of `logos.mark` of `@handijitcom/ui/design` fits. */
5
- export type BandBlueprintShape = {
6
- viewBox: string;
7
- /** Path data of the body, drawn in the blueprint fill and outline. */
8
- body: string;
9
- /** Path data of the mark's dot, filled with the accent like the logo's. */
10
- dot?: string;
11
- };
12
- type BandProps = {
13
- children: ReactNode;
14
- /** The element. A `section` is a landmark only with a name: pass `aria-labelledby`. */
15
- as?: 'section' | 'div' | 'header' | 'footer' | 'aside';
16
- /** Soft cobalt glows at the top corners. */
17
- glow?: BandSide;
18
- /** The dot grid, fading out towards the content. */
19
- dots?: BandSide;
20
- /** Decorative artwork at the bottom end (a `BandBlueprint`); hidden below the tablet width. */
21
- artwork?: ReactNode;
22
- /** A full-width strip under the content, outside its padding (`StatStrip variant="band"`). */
23
- footer?: ReactNode;
24
- 'aria-label'?: string;
25
- 'aria-labelledby'?: string;
26
- className?: string;
27
- id?: string;
28
- testId?: string;
29
- };
30
- type BlueprintProps = {
31
- shape: BandBlueprintShape;
32
- className?: string;
33
- testId?: string;
34
- };
35
- /**
36
- * Band — the brand band: the navy surface of a hero, a closing call or a footer, the same in
37
- * both themes. Its imagery (gradient, glows, dot grid) is inline SVG, decorative and hidden from
38
- * assistive technology; nothing of it is a CSS gradient. Descendants draw their focus ring in
39
- * `band-focus`, and the `ACCENT` button glows softly on it.
40
- * @example <Band as="section" aria-labelledby="cta" footer={<StatStrip variant="band" … />}>
41
- */
42
- declare const Band: FC<BandProps>;
43
- export declare const BandBlueprint: FC<BlueprintProps>;
44
- declare const _default: typeof Band;
45
- export default _default;
@@ -1,45 +0,0 @@
1
- import { FC, ReactNode } from 'react';
2
- /** Where a decorative layer sits; `start` and `end` follow the writing direction. */
3
- export type BandSide = 'start' | 'end' | 'both' | 'none';
4
- /** A supergraphic's outline: the shape of `logos.mark` of `@handijitcom/ui/design` fits. */
5
- export type BandBlueprintShape = {
6
- viewBox: string;
7
- /** Path data of the body, drawn in the blueprint fill and outline. */
8
- body: string;
9
- /** Path data of the mark's dot, filled with the accent like the logo's. */
10
- dot?: string;
11
- };
12
- type BandProps = {
13
- children: ReactNode;
14
- /** The element. A `section` is a landmark only with a name: pass `aria-labelledby`. */
15
- as?: 'section' | 'div' | 'header' | 'footer' | 'aside';
16
- /** Soft cobalt glows at the top corners. */
17
- glow?: BandSide;
18
- /** The dot grid, fading out towards the content. */
19
- dots?: BandSide;
20
- /** Decorative artwork at the bottom end (a `BandBlueprint`); hidden below the tablet width. */
21
- artwork?: ReactNode;
22
- /** A full-width strip under the content, outside its padding (`StatStrip variant="band"`). */
23
- footer?: ReactNode;
24
- 'aria-label'?: string;
25
- 'aria-labelledby'?: string;
26
- className?: string;
27
- id?: string;
28
- testId?: string;
29
- };
30
- type BlueprintProps = {
31
- shape: BandBlueprintShape;
32
- className?: string;
33
- testId?: string;
34
- };
35
- /**
36
- * Band — the brand band: the navy surface of a hero, a closing call or a footer, the same in
37
- * both themes. Its imagery (gradient, glows, dot grid) is inline SVG, decorative and hidden from
38
- * assistive technology; nothing of it is a CSS gradient. Descendants draw their focus ring in
39
- * `band-focus`, and the `ACCENT` button glows softly on it.
40
- * @example <Band as="section" aria-labelledby="cta" footer={<StatStrip variant="band" … />}>
41
- */
42
- declare const Band: FC<BandProps>;
43
- export declare const BandBlueprint: FC<BlueprintProps>;
44
- declare const _default: typeof Band;
45
- export default _default;
@@ -1,127 +0,0 @@
1
- "use client";
2
- import { jsxs as d, jsx as e, Fragment as B } from "react/jsx-runtime";
3
- import { memo as k, useId as p } from "react";
4
- import { band as r } from "@handijitcom/ui/design";
5
- import { cx as u } from "../../helpers/class-name.helper.js";
6
- import { named as _ } from "../../helpers/component.helper.js";
7
- const a = {"band":"ui-band-R7KBU","band__backdrop":"ui-band__backdrop-Af55y","band__stop-from":"ui-band__stop-from-00hAo","band__stop-to":"ui-band__stop-to-DVQUx","band__glow-centre":"ui-band__glow-centre-fJw2q","band__glow-edge":"ui-band__glow-edge-MfIb7","band__dot":"ui-band__dot-Wf9Ap","band__mask":"ui-band__mask-XnF25","band__fade-edge":"ui-band__fade-edge-RwkBW","band__fade-clear":"ui-band__fade-clear-6PPNV","band__artwork":"ui-band__artwork-2jDWA","band__body":"ui-band__body-xJs8K","band--artwork":"ui-band--artwork-YtNLU","band__footer":"ui-band__footer-jzQWy","blueprint":"ui-blueprint-jiZgz","blueprint__stop-from":"ui-blueprint__stop-from-Lcz-1","blueprint__stop-to":"ui-blueprint__stop-to-squap","blueprint__body":"ui-blueprint__body-iq9T5","blueprint__dot":"ui-blueprint__dot-DtmUM"};
8
- const C = {
9
- start: { cx: "8%", cy: "14%", r: "42%" },
10
- end: { cx: "92%", cy: "22%", r: "38%" }
11
- }, b = 0.24, h = (t) => t === "both" ? ["start", "end"] : t === "none" ? [] : [t], G = (t) => h(t).flatMap(
12
- (s) => s === "start" ? [
13
- [0, !0],
14
- [b, !1]
15
- ] : [
16
- [1 - b, !1],
17
- [1, !0]
18
- ]
19
- ), g = (t, s) => `${t}-${s.replace(/[^\w-]/g, "")}`, O = ({
20
- children: t,
21
- as: s = "section",
22
- glow: o = "both",
23
- dots: n = "end",
24
- artwork: c,
25
- footer: m,
26
- "aria-label": N,
27
- "aria-labelledby": x,
28
- className: y,
29
- id: $,
30
- testId: v
31
- }) => {
32
- const l = g("ui-band", p()), f = G(n);
33
- return /* @__PURE__ */ d(
34
- s,
35
- {
36
- id: $,
37
- className: u(a.band, c !== void 0 && a["band--artwork"], y),
38
- "aria-label": N,
39
- "aria-labelledby": x,
40
- "data-ui-band": "",
41
- "data-testid": v,
42
- children: [
43
- /* @__PURE__ */ d("svg", { className: a.band__backdrop, "aria-hidden": "true", focusable: "false", children: [
44
- /* @__PURE__ */ d("defs", { children: [
45
- /* @__PURE__ */ d("linearGradient", { id: `${l}-fill`, x1: "0", y1: "0", x2: "0", y2: "1", children: [
46
- /* @__PURE__ */ e("stop", { offset: "0", className: a["band__stop-from"] }),
47
- /* @__PURE__ */ e("stop", { offset: r.gradientHold, className: a["band__stop-from"] }),
48
- /* @__PURE__ */ e("stop", { offset: "1", className: a["band__stop-to"] })
49
- ] }),
50
- /* @__PURE__ */ d("radialGradient", { id: `${l}-glow`, children: [
51
- /* @__PURE__ */ e("stop", { offset: "0", className: a["band__glow-centre"] }),
52
- /* @__PURE__ */ e("stop", { offset: "1", className: a["band__glow-edge"] })
53
- ] }),
54
- f.length > 0 && /* @__PURE__ */ d(B, { children: [
55
- /* @__PURE__ */ e(
56
- "pattern",
57
- {
58
- id: `${l}-dots`,
59
- width: r.dotCell,
60
- height: r.dotCell,
61
- patternUnits: "userSpaceOnUse",
62
- children: /* @__PURE__ */ e(
63
- "circle",
64
- {
65
- className: a.band__dot,
66
- cx: r.dotCell / 2,
67
- cy: r.dotCell / 2,
68
- r: r.dotRadius
69
- }
70
- )
71
- }
72
- ),
73
- /* @__PURE__ */ e("linearGradient", { id: `${l}-fade`, x1: "0", y1: "0", x2: "1", y2: "0", children: f.map(([i, w]) => /* @__PURE__ */ e(
74
- "stop",
75
- {
76
- offset: i,
77
- className: w ? a["band__fade-edge"] : a["band__fade-clear"]
78
- },
79
- i
80
- )) }),
81
- /* @__PURE__ */ e("mask", { id: `${l}-mask`, className: a.band__mask, children: /* @__PURE__ */ e("rect", { width: "100%", height: "100%", fill: `url(#${l}-fade)` }) })
82
- ] })
83
- ] }),
84
- /* @__PURE__ */ e("rect", { width: "100%", height: "100%", fill: `url(#${l}-fill)` }),
85
- h(o).map((i) => /* @__PURE__ */ e("circle", { ...C[i], fill: `url(#${l}-glow)` }, i)),
86
- f.length > 0 && /* @__PURE__ */ e(
87
- "rect",
88
- {
89
- width: "100%",
90
- height: "100%",
91
- fill: `url(#${l}-dots)`,
92
- mask: `url(#${l}-mask)`
93
- }
94
- )
95
- ] }),
96
- c !== void 0 && /* @__PURE__ */ e("div", { className: a.band__artwork, "aria-hidden": "true", children: c }),
97
- /* @__PURE__ */ e("div", { className: a.band__body, children: t }),
98
- m !== void 0 && /* @__PURE__ */ e("div", { className: a.band__footer, children: m })
99
- ]
100
- }
101
- );
102
- }, H = ({ shape: t, className: s, testId: o }) => {
103
- const n = g("ui-blueprint", p());
104
- return /* @__PURE__ */ d(
105
- "svg",
106
- {
107
- className: u(a.blueprint, s),
108
- viewBox: t.viewBox,
109
- "aria-hidden": "true",
110
- focusable: "false",
111
- "data-testid": o,
112
- children: [
113
- /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ d("linearGradient", { id: `${n}-fill`, x1: "0", y1: "0", x2: "0", y2: "1", children: [
114
- /* @__PURE__ */ e("stop", { offset: "0", className: a["blueprint__stop-from"] }),
115
- /* @__PURE__ */ e("stop", { offset: r.blueprintHold, className: a["blueprint__stop-to"] })
116
- ] }) }),
117
- /* @__PURE__ */ e("path", { className: a.blueprint__body, fill: `url(#${n}-fill)`, d: t.body }),
118
- t.dot !== void 0 && /* @__PURE__ */ e("path", { className: a.blueprint__dot, d: t.dot })
119
- ]
120
- }
121
- );
122
- }, D = /* @__PURE__ */ _(H, "BandBlueprint"), E = /* @__PURE__ */ k(/* @__PURE__ */ _(O, "Band"));
123
- export {
124
- D as BandBlueprint,
125
- E as default
126
- };
127
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../../../src/components/Band/index.tsx"],"sourcesContent":["'use client';\n\nimport { type FC, memo, type ReactNode, useId } from 'react';\n\nimport { band } from '@handijitcom/ui/design';\n\nimport { cx } from '../../helpers/class-name.helper';\nimport { named } from '../../helpers/component.helper';\n\nimport styles from './index.module.scss';\n\n/** Where a decorative layer sits; `start` and `end` follow the writing direction. */\nexport type BandSide = 'start' | 'end' | 'both' | 'none';\n\n/** A supergraphic's outline: the shape of `logos.mark` of `@handijitcom/ui/design` fits. */\nexport type BandBlueprintShape = {\n viewBox: string;\n /** Path data of the body, drawn in the blueprint fill and outline. */\n body: string;\n /** Path data of the mark's dot, filled with the accent like the logo's. */\n dot?: string;\n};\n\ntype BandProps = {\n children: ReactNode;\n /** The element. A `section` is a landmark only with a name: pass `aria-labelledby`. */\n as?: 'section' | 'div' | 'header' | 'footer' | 'aside';\n /** Soft cobalt glows at the top corners. */\n glow?: BandSide;\n /** The dot grid, fading out towards the content. */\n dots?: BandSide;\n /** Decorative artwork at the bottom end (a `BandBlueprint`); hidden below the tablet width. */\n artwork?: ReactNode;\n /** A full-width strip under the content, outside its padding (`StatStrip variant=\"band\"`). */\n footer?: ReactNode;\n 'aria-label'?: string;\n 'aria-labelledby'?: string;\n className?: string;\n id?: string;\n testId?: string;\n};\n\ntype BlueprintProps = {\n shape: BandBlueprintShape;\n className?: string;\n testId?: string;\n};\n\n/*\n * The glow circles, in percent of the band: a radius in percent is measured against the band's\n * normalised diagonal, so the glow grows with the band instead of flooding a phone-sized one.\n */\nconst GLOWS = {\n start: { cx: '8%', cy: '14%', r: '42%' },\n end: { cx: '92%', cy: '22%', r: '38%' },\n} as const;\n\n/*\n * Where the dot grid is visible along the band's width: full at the edge, gone by a quarter of\n * the way in, so the content column stays clear.\n */\nconst DOT_REACH = 0.24;\n\nconst sidesOf = (side: BandSide): ('start' | 'end')[] => {\n if (side === 'both') return ['start', 'end'];\n if (side === 'none') return [];\n return [side];\n};\n\n/** The mask stops of the dot grid: `true` is the edge opacity, `false` transparent. */\nconst fadeStops = (side: BandSide): [offset: number, isEdge: boolean][] =>\n sidesOf(side).flatMap(edge =>\n edge === 'start'\n ? [\n [0, true],\n [DOT_REACH, false],\n ]\n : [\n [1 - DOT_REACH, false],\n [1, true],\n ],\n );\n\n/*\n * `useId` makes the module a client one (`'use client'`): two bands on a page, or the same band\n * rendered twice, must not share gradient ids. It returns `:r1:`, `«r1»` or `_r_1_` by React\n * version; an SVG `url(#…)` wants plain characters.\n */\nconst svgId = (prefix: string, id: string): string => `${prefix}-${id.replace(/[^\\w-]/g, '')}`;\n\n/**\n * Band — the brand band: the navy surface of a hero, a closing call or a footer, the same in\n * both themes. Its imagery (gradient, glows, dot grid) is inline SVG, decorative and hidden from\n * assistive technology; nothing of it is a CSS gradient. Descendants draw their focus ring in\n * `band-focus`, and the `ACCENT` button glows softly on it.\n * @example <Band as=\"section\" aria-labelledby=\"cta\" footer={<StatStrip variant=\"band\" … />}>\n */\nconst Band: FC<BandProps> = ({\n children,\n as: Tag = 'section',\n glow = 'both',\n dots = 'end',\n artwork,\n footer,\n 'aria-label': ariaLabel,\n 'aria-labelledby': ariaLabelledBy,\n className,\n id,\n testId,\n}) => {\n const base = svgId('ui-band', useId());\n const fade = fadeStops(dots);\n\n return (\n <Tag\n id={id}\n className={cx(styles.band, artwork !== undefined && styles['band--artwork'], className)}\n aria-label={ariaLabel}\n aria-labelledby={ariaLabelledBy}\n data-ui-band=\"\"\n data-testid={testId}\n >\n <svg className={styles.band__backdrop} aria-hidden=\"true\" focusable=\"false\">\n <defs>\n <linearGradient id={`${base}-fill`} x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\">\n <stop offset=\"0\" className={styles['band__stop-from']} />\n <stop offset={band.gradientHold} className={styles['band__stop-from']} />\n <stop offset=\"1\" className={styles['band__stop-to']} />\n </linearGradient>\n <radialGradient id={`${base}-glow`}>\n <stop offset=\"0\" className={styles['band__glow-centre']} />\n <stop offset=\"1\" className={styles['band__glow-edge']} />\n </radialGradient>\n {fade.length > 0 && (\n <>\n <pattern\n id={`${base}-dots`}\n width={band.dotCell}\n height={band.dotCell}\n patternUnits=\"userSpaceOnUse\"\n >\n <circle\n className={styles.band__dot}\n cx={band.dotCell / 2}\n cy={band.dotCell / 2}\n r={band.dotRadius}\n />\n </pattern>\n <linearGradient id={`${base}-fade`} x1=\"0\" y1=\"0\" x2=\"1\" y2=\"0\">\n {fade.map(([offset, isEdge]) => (\n <stop\n key={offset}\n offset={offset}\n className={isEdge ? styles['band__fade-edge'] : styles['band__fade-clear']}\n />\n ))}\n </linearGradient>\n <mask id={`${base}-mask`} className={styles.band__mask}>\n <rect width=\"100%\" height=\"100%\" fill={`url(#${base}-fade)`} />\n </mask>\n </>\n )}\n </defs>\n <rect width=\"100%\" height=\"100%\" fill={`url(#${base}-fill)`} />\n {sidesOf(glow).map(side => (\n <circle key={side} {...GLOWS[side]} fill={`url(#${base}-glow)`} />\n ))}\n {fade.length > 0 && (\n <rect\n width=\"100%\"\n height=\"100%\"\n fill={`url(#${base}-dots)`}\n mask={`url(#${base}-mask)`}\n />\n )}\n </svg>\n\n {artwork !== undefined && (\n <div className={styles.band__artwork} aria-hidden=\"true\">\n {artwork}\n </div>\n )}\n\n <div className={styles.band__body}>{children}</div>\n\n {footer !== undefined && <div className={styles.band__footer}>{footer}</div>}\n </Tag>\n );\n};\n\n/**\n * BandBlueprint — a supergraphic in the band's blueprint style: a fill that fades from\n * `band-line` into `band-bg`, a `band-line-strong` outline and the solid coral dot of the logo.\n * Decorative only (`aria-hidden`); give it to `Band`'s `artwork`.\n * @example <BandBlueprint shape={logos.mark} />\n */\nconst Blueprint: FC<BlueprintProps> = ({ shape, className, testId }) => {\n const base = svgId('ui-blueprint', useId());\n\n return (\n <svg\n className={cx(styles.blueprint, className)}\n viewBox={shape.viewBox}\n aria-hidden=\"true\"\n focusable=\"false\"\n data-testid={testId}\n >\n <defs>\n <linearGradient id={`${base}-fill`} x1=\"0\" y1=\"0\" x2=\"0\" y2=\"1\">\n <stop offset=\"0\" className={styles['blueprint__stop-from']} />\n <stop offset={band.blueprintHold} className={styles['blueprint__stop-to']} />\n </linearGradient>\n </defs>\n <path className={styles.blueprint__body} fill={`url(#${base}-fill)`} d={shape.body} />\n {shape.dot !== undefined && <path className={styles.blueprint__dot} d={shape.dot} />}\n </svg>\n );\n};\n\nexport const BandBlueprint: FC<BlueprintProps> = /*#__PURE__*/ named(Blueprint, 'BandBlueprint');\n\nexport default /*#__PURE__*/ memo(/*#__PURE__*/ named(Band, 'Band')) as typeof Band;\n"],"names":["GLOWS","DOT_REACH","sidesOf","side","fadeStops","edge","svgId","prefix","id","Band","children","Tag","glow","dots","artwork","footer","ariaLabel","ariaLabelledBy","className","testId","base","useId","fade","jsxs","cx","styles","jsx","band","Fragment","offset","isEdge","Blueprint","shape","BandBlueprint","named","index","memo"],"mappings":";;;;;;;AAmDA,MAAMA,IAAQ;AAAA,EACZ,OAAO,EAAE,IAAI,MAAM,IAAI,OAAO,GAAG,MAAA;AAAA,EACjC,KAAK,EAAE,IAAI,OAAO,IAAI,OAAO,GAAG,MAAA;AAClC,GAMMC,IAAY,MAEZC,IAAU,CAACC,MACXA,MAAS,SAAe,CAAC,SAAS,KAAK,IACvCA,MAAS,SAAe,CAAA,IACrB,CAACA,CAAI,GAIRC,IAAY,CAACD,MACjBD,EAAQC,CAAI,EAAE;AAAA,EAAQ,CAAAE,MACpBA,MAAS,UACL;AAAA,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QAAO,KAAI,WAAWD,EAAO,sBAAsB,GAAG;AAAA,UAC5D,gBAAAC,EAAC,UAAK,QAAQC,EAAK,eAAe,WAAWF,EAAO,oBAAoB,EAAA,CAAG;AAAA,QAAA,EAAA,CAC7E,EAAA,CACF;AAAA,QACA,gBAAAC,EAAC,QAAA,EAAK,WAAWD,EAAO,iBAAiB,MAAM,QAAQL,CAAI,UAAU,GAAGY,EAAM,KAAA,CAAM;AAAA,QACnFA,EAAM,QAAQ,UAAa,gBAAAN,EAAC,QAAA,EAAK,WAAWD,EAAO,gBAAgB,GAAGO,EAAM,IAAA,CAAK;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGxF,GAEaC,IAAkD,gBAAAC,EAAMH,GAAW,eAAe,GAE/FI,IAA6B,gBAAAC,EAAmB,gBAAAF,EAAMzB,GAAM,MAAM,CAAC;"}
@@ -1 +0,0 @@
1
- @layer ui{.ui-band-R7KBU{position:relative;isolation:isolate;overflow:clip;display:flex;flex-direction:column;border:1px solid var(--hd-band-edge);border-radius:var(--ui-band-radius, var(--hd-radius-lg));background-color:var(--hd-band-bg);color:var(--hd-band-text);--ui-ring-color: var(--hd-band-focus)}@media (max-width: 640px){.ui-band-R7KBU{border-radius:var(--ui-band-radius, var(--hd-radius-md))}}.ui-band__backdrop-Af55y{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;width:100%;height:100%;pointer-events:none}[dir=rtl] .ui-band__backdrop-Af55y{transform:scaleX(-1)}.ui-band__stop-from-00hAo{stop-color:var(--hd-band-gradient-from)}.ui-band__stop-to-DVQUx{stop-color:var(--hd-band-gradient-to)}.ui-band__glow-centre-fJw2q{stop-color:var(--hd-band-glow);stop-opacity:var(--hd-band-glow-alpha)}.ui-band__glow-edge-MfIb7{stop-color:var(--hd-band-glow);stop-opacity:0}.ui-band__dot-Wf9Ap{fill:var(--hd-band-dot)}.ui-band__mask-XnF25{mask-type:alpha}.ui-band__fade-edge-RwkBW{stop-opacity:var(--hd-band-dot-alpha)}.ui-band__fade-clear-6PPNV{stop-opacity:0}.ui-band__artwork-2jDWA{position:absolute;inset-inline-end:clamp(var(--hd-space-6),3.5vw,var(--hd-space-12));bottom:0;z-index:-1;width:var(--ui-band-artwork-width, 120px);pointer-events:none}@media (max-width: 1024px){.ui-band__artwork-2jDWA{display:none}}.ui-band__body-xJs8K{position:relative;padding:var(--ui-band-padding, clamp(var(--hd-space-6), 4vw, var(--hd-space-12)) clamp(var(--hd-space-5), 4vw, var(--hd-space-12)))}@media (min-width: 1025px){.ui-band--artwork-YtNLU .ui-band__body-xJs8K{padding-inline-end:calc(var(--ui-band-artwork-width, 120px) + var(--hd-space-16))}}.ui-band__footer-jzQWy{position:relative}@media (forced-colors: active){.ui-band-R7KBU{border-color:CanvasText}.ui-band__backdrop-Af55y,.ui-band__artwork-2jDWA{display:none}}.ui-blueprint-jiZgz{display:block;width:100%;height:auto;overflow:visible}.ui-blueprint__stop-from-Lcz-1{stop-color:var(--hd-band-blueprint-from)}.ui-blueprint__stop-to-squap{stop-color:var(--hd-band-blueprint-to)}.ui-blueprint__body-iq9T5{stroke:var(--hd-band-blueprint-stroke);stroke-width:2px;stroke-linejoin:round;vector-effect:non-scaling-stroke}.ui-blueprint__dot-DtmUM{fill:var(--hd-accent)}@media (forced-colors: active){.ui-blueprint-jiZgz{display:none}}}