@stisocial/ui 0.2.0 → 0.2.1

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 (42) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/components/TimeSlotPicker/TimeSlotPicker.d.ts +1 -11
  3. package/dist/components/TimeSlotPicker/TimeSlotPicker.js +2 -24
  4. package/dist/components/TimeSlotPicker/index.d.ts +3 -2
  5. package/dist/components/TimeSlotPicker/timeSlots.d.ts +12 -0
  6. package/dist/components/TimeSlotPicker/timeSlots.js +25 -0
  7. package/dist/id/AccountMenu/AccountMenu.css +128 -44
  8. package/dist/id/AccountMenu/AccountMenu.d.ts +37 -9
  9. package/dist/id/AccountMenu/AccountMenu.js +138 -65
  10. package/dist/id/AccountMenu/AccountMenu.module.js +16 -9
  11. package/dist/id/AccountMenu/index.d.ts +2 -2
  12. package/dist/id/AppSwitcher/AppSwitcher.css +153 -31
  13. package/dist/id/AppSwitcher/AppSwitcher.d.ts +31 -6
  14. package/dist/id/AppSwitcher/AppSwitcher.js +90 -37
  15. package/dist/id/AppSwitcher/AppSwitcher.module.js +12 -6
  16. package/dist/id/AppSwitcher/index.d.ts +2 -2
  17. package/dist/id/OrgSwitcher/OrgSwitcher.css +129 -17
  18. package/dist/id/OrgSwitcher/OrgSwitcher.d.ts +30 -5
  19. package/dist/id/OrgSwitcher/OrgSwitcher.js +110 -74
  20. package/dist/id/OrgSwitcher/OrgSwitcher.module.js +11 -7
  21. package/dist/id/OrgSwitcher/index.d.ts +2 -2
  22. package/dist/id/PermissionGate/PermissionGate.css +25 -14
  23. package/dist/id/PermissionGate/PermissionGate.d.ts +3 -1
  24. package/dist/id/PermissionGate/PermissionGate.js +15 -8
  25. package/dist/id/PermissionGate/PermissionGate.module.js +6 -5
  26. package/dist/id/SignInButton/SignInButton.css +179 -0
  27. package/dist/id/SignInButton/SignInButton.d.ts +12 -3
  28. package/dist/id/SignInButton/SignInButton.js +37 -18
  29. package/dist/id/SignInButton/SignInButton.module.js +10 -0
  30. package/dist/id/_internal/StiMark/StiMark.css +28 -0
  31. package/dist/id/_internal/StiMark/StiMark.js +37 -0
  32. package/dist/id/_internal/StiMark/StiMark.module.js +8 -0
  33. package/dist/id/index.d.ts +4 -4
  34. package/dist/id/index.js +4 -4
  35. package/dist/index.d.ts +3 -2
  36. package/dist/index.js +2 -1
  37. package/dist/messages/messages.d.ts +7 -0
  38. package/dist/messages/messages.js +14 -0
  39. package/dist/styles.css +644 -106
  40. package/dist/text/text.d.ts +5 -1
  41. package/dist/text/text.js +8 -2
  42. package/package.json +1 -1
@@ -23,7 +23,7 @@ function hasPermission(granted, required, match = "all") {
23
23
  * açıklamasını. Yalnız GÖRÜNÜMÜ düzenler; yetki denetimi her zaman sunucuda yeniden yapılmalıdır.
24
24
  * Sunucu bileşenidir.
25
25
  */
26
- function PermissionGate({ granted, require, match = "all", fallback, denied, deniedTitle, children, className, id }) {
26
+ function PermissionGate({ granted, require, match = "all", fallback, denied, deniedTitle, deniedAction, children, className, id }) {
27
27
  if (hasPermission(granted, require, match)) return /* @__PURE__ */ jsx(Fragment, { children });
28
28
  if (fallback !== void 0) return /* @__PURE__ */ jsx(Fragment, { children: fallback });
29
29
  if (!denied && !deniedTitle) return null;
@@ -38,13 +38,20 @@ function PermissionGate({ granted, require, match = "all", fallback, denied, den
38
38
  children: /* @__PURE__ */ jsx(LockIcon, {})
39
39
  }), /* @__PURE__ */ jsxs("div", {
40
40
  className: PermissionGate_module_default.text,
41
- children: [deniedTitle ? /* @__PURE__ */ jsx("p", {
42
- className: PermissionGate_module_default.title,
43
- children: deniedTitle
44
- }) : null, denied ? /* @__PURE__ */ jsx("p", {
45
- className: PermissionGate_module_default.description,
46
- children: denied
47
- }) : null]
41
+ children: [
42
+ deniedTitle ? /* @__PURE__ */ jsx("p", {
43
+ className: PermissionGate_module_default.title,
44
+ children: deniedTitle
45
+ }) : null,
46
+ denied ? /* @__PURE__ */ jsx("p", {
47
+ className: PermissionGate_module_default.description,
48
+ children: denied
49
+ }) : null,
50
+ deniedAction ? /* @__PURE__ */ jsx("div", {
51
+ className: PermissionGate_module_default.action,
52
+ children: deniedAction
53
+ }) : null
54
+ ]
48
55
  })]
49
56
  });
50
57
  }
@@ -1,10 +1,11 @@
1
1
  import './PermissionGate.css';
2
2
  // src/id/PermissionGate/PermissionGate.module.css
3
3
  var PermissionGate_module_default = {
4
- "root": "sti-PermissionGate-root-bf743",
5
- "icon": "sti-PermissionGate-icon-01cb9",
6
- "text": "sti-PermissionGate-text-4385b",
7
- "title": "sti-PermissionGate-title-074a4",
8
- "description": "sti-PermissionGate-description-c623a"
4
+ "root": "sti-PermissionGate-root-5f706",
5
+ "icon": "sti-PermissionGate-icon-c225d",
6
+ "text": "sti-PermissionGate-text-3358e",
7
+ "action": "sti-PermissionGate-action-69333",
8
+ "title": "sti-PermissionGate-title-9e7ef",
9
+ "description": "sti-PermissionGate-description-3002e"
9
10
  };
10
11
  export { PermissionGate_module_default as default };
@@ -0,0 +1,179 @@
1
+ @layer sti.reset, sti.tokens, sti.base, sti.components, sti.variants, sti.utilities;
2
+ @layer sti.components {
3
+ .sti-SignInButton-root-d5651 {
4
+ --sti-signin-h: var(--sti-control-h-md);
5
+ --sti-signin-badge: calc(var(--sti-signin-h) - var(--sti-space-2));
6
+ --sti-signin-inset: var(--sti-space-1);
7
+ --sti-signin-gap: var(--sti-space-3);
8
+ --sti-signin-pe: var(--sti-space-5);
9
+ --sti-signin-font-size: var(--sti-font-size-sm);
10
+ --sti-signin-bg: var(--sti-fill-accent);
11
+ --sti-signin-fg: var(--sti-fg-on-accent);
12
+ --sti-signin-border: transparent;
13
+ --sti-signin-shadow: none;
14
+ align-items: center;
15
+ gap: var(--sti-signin-gap);
16
+ box-sizing: border-box;
17
+ min-inline-size: 0;
18
+ max-inline-size: 100%;
19
+ min-block-size: var(--sti-signin-h);
20
+ padding-block: 0;
21
+ padding-inline: var(--sti-signin-inset) var(--sti-signin-pe);
22
+ border: var(--sti-border-width) solid var(--sti-signin-border);
23
+ border-radius: var(--sti-radius-pill);
24
+ background: var(--sti-signin-bg);
25
+ box-shadow: var(--sti-signin-shadow);
26
+ color: var(--sti-signin-fg);
27
+ font-family: var(--sti-font-text);
28
+ font-size: var(--sti-signin-font-size);
29
+ font-weight: var(--sti-font-weight-semibold);
30
+ letter-spacing: .01em;
31
+ white-space: nowrap;
32
+ vertical-align: middle;
33
+ cursor: pointer;
34
+ -webkit-user-select: none;
35
+ user-select: none;
36
+ -webkit-tap-highlight-color: transparent;
37
+ transition: background-color var(--sti-duration-fast) var(--sti-ease-snap),
38
+ border-color var(--sti-duration-fast) var(--sti-ease-snap),
39
+ color var(--sti-duration-fast) var(--sti-ease-snap),
40
+ box-shadow var(--sti-duration-base) var(--sti-ease-out),
41
+ transform var(--sti-duration-fast) var(--sti-ease-snap);
42
+ line-height: 1;
43
+ text-decoration: none;
44
+ display: inline-flex;
45
+ position: relative;
46
+ }
47
+
48
+ .sti-SignInButton-root-d5651[data-size="sm"] {
49
+ --sti-signin-h: var(--sti-control-h-sm);
50
+ --sti-signin-gap: var(--sti-space-2);
51
+ --sti-signin-pe: var(--sti-space-4);
52
+ }
53
+
54
+ .sti-SignInButton-root-d5651[data-size="lg"] {
55
+ --sti-signin-h: var(--sti-control-h-lg);
56
+ --sti-signin-pe: var(--sti-space-6);
57
+ --sti-signin-font-size: var(--sti-font-size-body);
58
+ }
59
+
60
+ @media (pointer: coarse) {
61
+ .sti-SignInButton-root-d5651[data-size="sm"] {
62
+ --sti-signin-h: var(--sti-control-h-md);
63
+ }
64
+ }
65
+
66
+ .sti-SignInButton-root-d5651[data-full-width] {
67
+ inline-size: 100%;
68
+ display: flex;
69
+ }
70
+
71
+ .sti-SignInButton-root-d5651[data-full-width] .sti-SignInButton-label-82fd6 {
72
+ text-align: center;
73
+ white-space: normal;
74
+ text-wrap: balance;
75
+ line-height: var(--sti-line-height-sm);
76
+ padding-block: var(--sti-space-2);
77
+ flex: auto;
78
+ }
79
+
80
+ .sti-SignInButton-balance-c62d0 {
81
+ inline-size: calc(var(--sti-signin-badge) - var(--sti-signin-pe) + var(--sti-signin-inset));
82
+ flex: none;
83
+ }
84
+
85
+ .sti-SignInButton-root-d5651[data-variant="secondary"] {
86
+ --sti-signin-bg: var(--sti-bg-surface);
87
+ --sti-signin-fg: var(--sti-fg);
88
+ --sti-signin-border: var(--sti-border-strong);
89
+ }
90
+
91
+ .sti-SignInButton-root-d5651[data-variant="inverse"] {
92
+ --sti-signin-bg: var(--sti-bg-inverse);
93
+ --sti-signin-fg: var(--sti-fg-inverse);
94
+ }
95
+
96
+ @media (hover: hover) {
97
+ .sti-SignInButton-root-d5651[data-hovered]:not([data-disabled], [data-pending])[data-variant="primary"] {
98
+ --sti-signin-bg: var(--sti-fill-accent-hover);
99
+ --sti-signin-shadow: 0 0 40px color-mix(in oklab, var(--sti-fill-accent) 35%, transparent);
100
+ }
101
+
102
+ .sti-SignInButton-root-d5651[data-hovered]:not([data-disabled], [data-pending])[data-variant="secondary"] {
103
+ --sti-signin-border: var(--sti-border-accent);
104
+ --sti-signin-bg: var(--sti-bg-accent-subtle);
105
+ }
106
+
107
+ .sti-SignInButton-root-d5651[data-hovered]:not([data-disabled], [data-pending])[data-variant="inverse"] {
108
+ --sti-signin-shadow: 0 0 0 var(--sti-border-width-strong) var(--sti-focus-ring);
109
+ }
110
+ }
111
+
112
+ .sti-SignInButton-root-d5651[data-pressed]:not([data-disabled], [data-pending]) {
113
+ transform: scale(.98);
114
+ }
115
+
116
+ .sti-SignInButton-root-d5651[data-focus-visible] {
117
+ outline: var(--sti-focus-ring-width) solid var(--sti-focus-ring);
118
+ outline-offset: var(--sti-focus-ring-offset);
119
+ }
120
+
121
+ .sti-SignInButton-root-d5651[data-disabled] {
122
+ opacity: var(--sti-opacity-disabled);
123
+ cursor: not-allowed;
124
+ }
125
+
126
+ .sti-SignInButton-root-d5651[data-pending] {
127
+ cursor: progress;
128
+ }
129
+
130
+ .sti-SignInButton-badge-3b086 {
131
+ box-sizing: border-box;
132
+ inline-size: var(--sti-signin-badge);
133
+ block-size: var(--sti-signin-badge);
134
+ border-radius: var(--sti-radius-pill);
135
+ background: var(--sti-bg-canvas);
136
+ box-shadow: inset 0 0 0 var(--sti-border-width) var(--sti-border-subtle);
137
+ color: var(--sti-fg);
138
+ flex: none;
139
+ place-items: center;
140
+ display: inline-grid;
141
+ }
142
+
143
+ .sti-SignInButton-root-d5651[data-variant="secondary"] .sti-SignInButton-badge-3b086 {
144
+ background: var(--sti-bg-subtle);
145
+ }
146
+
147
+ .sti-SignInButton-mark-c9c2d {
148
+ block-size: 58%;
149
+ inline-size: 58%;
150
+ }
151
+
152
+ .sti-SignInButton-label-82fd6 {
153
+ min-inline-size: 0;
154
+ }
155
+
156
+ @media (forced-colors: active) {
157
+ .sti-SignInButton-root-d5651 {
158
+ border-color: buttontext;
159
+ }
160
+
161
+ .sti-SignInButton-root-d5651[data-focus-visible] {
162
+ outline-color: highlight;
163
+ }
164
+
165
+ .sti-SignInButton-badge-3b086 {
166
+ border: var(--sti-border-width) solid ButtonText;
167
+ }
168
+ }
169
+
170
+ @media (prefers-reduced-motion: reduce) {
171
+ .sti-SignInButton-root-d5651 {
172
+ transition: none;
173
+ }
174
+
175
+ .sti-SignInButton-root-d5651[data-pressed] {
176
+ transform: none;
177
+ }
178
+ }
179
+ }
@@ -4,17 +4,26 @@ export interface SignInButtonProps {
4
4
  onPress?: () => void;
5
5
  /** Düğme metni; varsayılan "STI ID ile oturum açın". */
6
6
  label?: string;
7
+ /**
8
+ * `primary`: turkuaz dolgu (sayfanın ana eylemi); `secondary`: yüzey ve kenar (başka oturum
9
+ * yöntemlerinin yanında); `inverse`: ters renk (koyu ya da renkli zemin üstünde).
10
+ */
7
11
  variant?: "primary" | "secondary" | "inverse";
8
12
  size?: "sm" | "md" | "lg";
13
+ /** Kabını doldurur: monogram başta, metin ortada kalır. */
9
14
  fullWidth?: boolean;
10
- /** Oturum açma sürerken: basma yok sayılır, ekran okuyucuya "Oturum açılıyor" duyurulur. */
15
+ /**
16
+ * Oturum açma sürerken: monogramın yerinde dönen gösterge, metin "Oturum açılıyor"; basma yok
17
+ * sayılır ve durum ekran okuyucuya duyurulur.
18
+ */
11
19
  isPending?: boolean;
12
20
  isDisabled?: boolean;
13
21
  className?: string;
14
22
  id?: string;
15
23
  }
16
24
  /**
17
- * "STI ID ile oturum açın" düğmesi: kalkan ikonlu, üç boyda, tam genişlikte kullanılabilir.
18
- * `href` verilirse bağlantı (Enter), verilmezse düğmedir (Enter ve Boşluk).
25
+ * "STI ID ile oturum açın" marka düğmesi: başta yuvarlak karoda STI monogramı, üç tür ve üç boy.
26
+ * `href` verilirse bağlantıdır (Enter), verilmezse düğmedir (Enter ve Boşluk). Beklerken bağlantı
27
+ * yerine meşgul düğme çizilir; ikinci basış yeni bir yönlendirme başlatmaz.
19
28
  */
20
29
  export declare function SignInButton({ href, onPress, label, variant, size, fullWidth, isPending, isDisabled, className, id }: SignInButtonProps): import("react").JSX.Element;
@@ -1,34 +1,53 @@
1
1
  "use client";
2
2
  import { useMessages } from "../../provider/UIProvider.js";
3
- import { Button } from "../../components/Button/Button.js";
4
- import { ShieldCheckIcon } from "../../icons/generated/ShieldCheckIcon.js";
5
- import { jsx } from "react/jsx-runtime";
3
+ import { Spinner } from "../../components/Spinner/Spinner.js";
4
+ import { StiMark } from "../_internal/StiMark/StiMark.js";
5
+ import SignInButton_module_default from "./SignInButton.module.js";
6
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
7
+ import { Button, Link } from "react-aria-components";
6
8
  // src/id/SignInButton/SignInButton.tsx
7
9
  /**
8
- * "STI ID ile oturum açın" düğmesi: kalkan ikonlu, üç boyda, tam genişlikte kullanılabilir.
9
- * `href` verilirse bağlantı (Enter), verilmezse düğmedir (Enter ve Boşluk).
10
+ * "STI ID ile oturum açın" marka düğmesi: başta yuvarlak karoda STI monogramı, üç tür ve üç boy.
11
+ * `href` verilirse bağlantıdır (Enter), verilmezse düğmedir (Enter ve Boşluk). Beklerken bağlantı
12
+ * yerine meşgul düğme çizilir; ikinci basış yeni bir yönlendirme başlatmaz.
10
13
  */
11
14
  function SignInButton({ href, onPress, label, variant = "primary", size = "md", fullWidth, isPending, isDisabled, className, id }) {
12
15
  const t = useMessages();
13
16
  const text = isPending ? t.idSignInPending : label ?? t.idSignInWith;
14
- const common = {
15
- variant,
16
- size,
17
- fullWidth,
18
- isDisabled,
19
- className,
17
+ const shared = {
20
18
  id,
21
- iconStart: /* @__PURE__ */ jsx(ShieldCheckIcon, {})
19
+ className: [SignInButton_module_default.root, className].filter(Boolean).join(" "),
20
+ "data-variant": variant,
21
+ "data-size": size,
22
+ "data-full-width": fullWidth ? "" : void 0,
23
+ isDisabled
22
24
  };
23
- return href !== void 0 && !isPending ? /* @__PURE__ */ jsx(Button, {
24
- ...common,
25
+ const content = /* @__PURE__ */ jsxs(Fragment, { children: [
26
+ /* @__PURE__ */ jsx("span", {
27
+ className: SignInButton_module_default.badge,
28
+ "aria-hidden": "true",
29
+ children: isPending ? /* @__PURE__ */ jsx(Spinner, { size: "sm" }) : /* @__PURE__ */ jsx(StiMark, { className: SignInButton_module_default.mark })
30
+ }),
31
+ /* @__PURE__ */ jsx("span", {
32
+ className: SignInButton_module_default.label,
33
+ children: text
34
+ }),
35
+ fullWidth ? /* @__PURE__ */ jsx("span", {
36
+ className: SignInButton_module_default.balance,
37
+ "aria-hidden": "true"
38
+ }) : null
39
+ ] });
40
+ if (href !== void 0 && !isPending) return /* @__PURE__ */ jsx(Link, {
41
+ ...shared,
25
42
  href,
26
- children: text
27
- }) : /* @__PURE__ */ jsx(Button, {
28
- ...common,
43
+ onPress,
44
+ children: content
45
+ });
46
+ return /* @__PURE__ */ jsx(Button, {
47
+ ...shared,
29
48
  isPending,
30
49
  onPress,
31
- children: text
50
+ children: content
32
51
  });
33
52
  }
34
53
  export { SignInButton };
@@ -0,0 +1,10 @@
1
+ import './SignInButton.css';
2
+ // src/id/SignInButton/SignInButton.module.css
3
+ var SignInButton_module_default = {
4
+ "root": "sti-SignInButton-root-d5651",
5
+ "label": "sti-SignInButton-label-82fd6",
6
+ "balance": "sti-SignInButton-balance-c62d0",
7
+ "badge": "sti-SignInButton-badge-3b086",
8
+ "mark": "sti-SignInButton-mark-c9c2d"
9
+ };
10
+ export { SignInButton_module_default as default };
@@ -0,0 +1,28 @@
1
+ @layer sti.reset, sti.tokens, sti.base, sti.components, sti.variants, sti.utilities;
2
+ @layer sti.components {
3
+ .sti-StiMark-root-b3ba6 {
4
+ --sti-mark-ink: var(--sti-fg);
5
+ --sti-mark-signal: var(--sti-fill-accent);
6
+ block-size: 1em;
7
+ inline-size: 1em;
8
+ display: block;
9
+ }
10
+
11
+ .sti-StiMark-ink-f5538 {
12
+ fill: var(--sti-mark-ink);
13
+ }
14
+
15
+ .sti-StiMark-signal-35b7e {
16
+ stroke: var(--sti-mark-signal);
17
+ }
18
+
19
+ @media (forced-colors: active) {
20
+ .sti-StiMark-ink-f5538 {
21
+ fill: canvastext;
22
+ }
23
+
24
+ .sti-StiMark-signal-35b7e {
25
+ stroke: canvastext;
26
+ }
27
+ }
28
+ }
@@ -0,0 +1,37 @@
1
+ import StiMark_module_default from "./StiMark.module.js";
2
+ import { jsx, jsxs } from "react/jsx-runtime";
3
+ // src/id/_internal/StiMark/StiMark.tsx
4
+ /** stisocial monogramının "s" çizimi (STI ID logosuyla birebir aynı; apps/id lib/brand/monogram). */
5
+ const S_PATH = "M301 -10Q169 -10 98.5 38.5Q28 87 28 175V179H216V169Q216 149 232.5 143.5Q249 138 302 138Q348 138 362.5 143.0Q377 148 377 162Q377 174 367.0 178.5Q357 183 322 187L176 203Q16 220 16 348Q16 421 79.5 467.5Q143 514 276 514Q544 514 544 327V323H356V329Q356 350 340.0 358.5Q324 367 270 367Q227 367 214.0 361.0Q201 355 201 340Q201 329 213.5 323.0Q226 317 268 313L368 302Q475 290 518.5 254.0Q562 218 562 152Q562 80 493.0 35.0Q424 -10 301 -10Z";
6
+ const S_FLIP = "scale(1,-1) translate(-16,-514)";
7
+ /**
8
+ * STI monogramı (süs): öndeki dolu "s" yazı rengiyle, arkadaki konturlu "s" turkuazla çizilir.
9
+ * Renkler bileşen değişkenleriyle değiştirilir (`--sti-mark-ink`, `--sti-mark-signal`). Dahili parça.
10
+ */
11
+ function StiMark({ className }) {
12
+ return /* @__PURE__ */ jsxs("svg", {
13
+ className: [StiMark_module_default.root, className].filter(Boolean).join(" "),
14
+ viewBox: "-24 -24 794 762",
15
+ fill: "none",
16
+ "aria-hidden": "true",
17
+ focusable: "false",
18
+ children: [/* @__PURE__ */ jsx("g", {
19
+ transform: "translate(200,190)",
20
+ children: /* @__PURE__ */ jsx("g", {
21
+ transform: S_FLIP,
22
+ children: /* @__PURE__ */ jsx("path", {
23
+ d: S_PATH,
24
+ className: StiMark_module_default.signal,
25
+ strokeWidth: 34
26
+ })
27
+ })
28
+ }), /* @__PURE__ */ jsx("g", {
29
+ transform: S_FLIP,
30
+ children: /* @__PURE__ */ jsx("path", {
31
+ d: S_PATH,
32
+ className: StiMark_module_default.ink
33
+ })
34
+ })]
35
+ });
36
+ }
37
+ export { StiMark };
@@ -0,0 +1,8 @@
1
+ import './StiMark.css';
2
+ // src/id/_internal/StiMark/StiMark.module.css
3
+ var StiMark_module_default = {
4
+ "root": "sti-StiMark-root-b3ba6",
5
+ "ink": "sti-StiMark-ink-f5538",
6
+ "signal": "sti-StiMark-signal-35b7e"
7
+ };
8
+ export { StiMark_module_default as default };
@@ -1,10 +1,10 @@
1
- import { AccountMenu, AccountMenuAccount, AccountMenuItem, AccountMenuProps } from "./AccountMenu/AccountMenu.js";
1
+ import { AccountMenu, AccountMenuAccount, AccountMenuItem, AccountMenuOtherAccount, AccountMenuPanel, AccountMenuPanelProps, AccountMenuProps } from "./AccountMenu/AccountMenu.js";
2
2
  import "./AccountMenu/index.js";
3
- import { AppSwitcher, AppSwitcherApp, AppSwitcherProps } from "./AppSwitcher/AppSwitcher.js";
3
+ import { AppSwitcher, AppSwitcherApp, AppSwitcherPanel, AppSwitcherPanelProps, AppSwitcherProps, appMonogram } from "./AppSwitcher/AppSwitcher.js";
4
4
  import "./AppSwitcher/index.js";
5
- import { OrgSwitcher, OrgSwitcherOrg, OrgSwitcherProps } from "./OrgSwitcher/OrgSwitcher.js";
5
+ import { OrgSwitcher, OrgSwitcherOrg, OrgSwitcherPanel, OrgSwitcherPanelProps, OrgSwitcherProps } from "./OrgSwitcher/OrgSwitcher.js";
6
6
  import "./OrgSwitcher/index.js";
7
7
  import { PermissionGate, PermissionGateProps, PermissionMatch, hasPermission } from "./PermissionGate/PermissionGate.js";
8
8
  import "./PermissionGate/index.js";
9
9
  import { SignInButton, SignInButtonProps } from "./SignInButton/SignInButton.js";
10
- export { AccountMenu, AccountMenuAccount, AccountMenuItem, AccountMenuProps, AppSwitcher, AppSwitcherApp, AppSwitcherProps, OrgSwitcher, OrgSwitcherOrg, OrgSwitcherProps, PermissionGate, PermissionGateProps, PermissionMatch, SignInButton, SignInButtonProps, hasPermission };
10
+ export { AccountMenu, AccountMenuAccount, AccountMenuItem, AccountMenuOtherAccount, AccountMenuPanel, AccountMenuPanelProps, AccountMenuProps, AppSwitcher, AppSwitcherApp, AppSwitcherPanel, AppSwitcherPanelProps, AppSwitcherProps, OrgSwitcher, OrgSwitcherOrg, OrgSwitcherPanel, OrgSwitcherPanelProps, OrgSwitcherProps, PermissionGate, PermissionGateProps, PermissionMatch, SignInButton, SignInButtonProps, appMonogram, hasPermission };
package/dist/id/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import { AccountMenu } from "./AccountMenu/AccountMenu.js";
2
- import { AppSwitcher } from "./AppSwitcher/AppSwitcher.js";
3
- import { OrgSwitcher } from "./OrgSwitcher/OrgSwitcher.js";
1
+ import { AccountMenu, AccountMenuPanel } from "./AccountMenu/AccountMenu.js";
2
+ import { AppSwitcher, AppSwitcherPanel, appMonogram } from "./AppSwitcher/AppSwitcher.js";
3
+ import { OrgSwitcher, OrgSwitcherPanel } from "./OrgSwitcher/OrgSwitcher.js";
4
4
  import { PermissionGate, hasPermission } from "./PermissionGate/PermissionGate.js";
5
5
  import { SignInButton } from "./SignInButton/SignInButton.js";
6
- export { AccountMenu, AppSwitcher, OrgSwitcher, PermissionGate, SignInButton, hasPermission };
6
+ export { AccountMenu, AccountMenuPanel, AppSwitcher, AppSwitcherPanel, OrgSwitcher, OrgSwitcherPanel, PermissionGate, SignInButton, appMonogram, hasPermission };
package/dist/index.d.ts CHANGED
@@ -457,7 +457,8 @@ import { useTheme } from "./components/ThemeScript/useTheme.js";
457
457
  import { ThemeSwitch, ThemeSwitchProps } from "./components/ThemeSwitch/ThemeSwitch.js";
458
458
  import { TimeField, TimeFieldProps } from "./components/TimeField/TimeField.js";
459
459
  import "./components/TimeField/index.js";
460
- import { TimeSlot, TimeSlotPicker, TimeSlotPickerProps, timeSlots } from "./components/TimeSlotPicker/TimeSlotPicker.js";
460
+ import { TimeSlot, timeSlots } from "./components/TimeSlotPicker/timeSlots.js";
461
+ import { TimeSlotPicker, TimeSlotPickerProps } from "./components/TimeSlotPicker/TimeSlotPicker.js";
461
462
  import "./components/TimeSlotPicker/index.js";
462
463
  import { TimeZoneSelect, TimeZoneSelectProps, formatOffset, timeZoneOffset } from "./components/TimeZoneSelect/TimeZoneSelect.js";
463
464
  import "./components/TimeZoneSelect/index.js";
@@ -518,4 +519,4 @@ import "./components/YearPicker/index.js";
518
519
  import { ARIA_HIDDEN_INPUT_STYLE, CSP_STYLE_ATTR_DIRECTIVE, CSP_STYLE_ATTR_HASHES } from "./csp/csp.js";
519
520
  import { capitalize, compare, containsStrict, initials, matchesLoose, searchKey, sortBy, template, toLower, toUpper } from "./text/text.js";
520
521
  import { formatIban, formatTrPhone, ibanBankCode, isTrMobile, isValidIban, isValidIdCardSerial, isValidKep, isValidMersis, isValidTckn, isValidVkn, normalizeIban, normalizeTrPhone } from "./validate/turkey.js";
521
- export { ARIA_HIDDEN_INPUT_STYLE, AVATAR_COLORS, Accent, AccentProps, Accordion, AccordionItem, AccordionProps, AccordionSize, AccordionVariant, ActionBar, ActionBarProps, AddressFields, AddressFieldsProps, AddressText, type AddressTextProps, Alert, AlertDialog, AlertDialogProps, AlertProps, AlertTone, Amount, type AmountProps, AnchorNav, AnchorNavItem, AnchorNavProps, Announcer, AnnouncerProps, AppHeader, AppHeaderProps, AppShell, AppShellProps, ArrowLink, ArrowLinkProps, ArrowLinkSize, AspectRatio, AspectRatioProps, AspectRatioValue, Avatar, AvatarColor, AvatarGroup, AvatarGroupProps, AvatarProps, type AvatarShape, type AvatarSize, BackLink, BackLinkActionProps, BackLinkHrefProps, BackLinkProps, BackLinkSize, Badge, BadgeCountProps, BadgeLabelProps, BadgeProps, BadgeSize, BadgeTone, BadgeVariant, Bank, BankKind, BankSelect, BankSelectProps, Banner, BannerProps, BannerTone, BillingPeriod, Bleed, BleedAmount, BleedBreakpoint, BleedProps, Blockquote, BlockquoteProps, BlockquoteVariant, BottomNav, BottomNavItem, BottomNavProps, BottomSheet, BottomSheetProps, BreadcrumbItem, Breadcrumbs, BreadcrumbsProps, Button, ButtonActionProps, ButtonGroup, ButtonGroupLayout, ButtonGroupProps, ButtonLinkProps, ButtonProps, ButtonSize, ButtonVariant, COMMON_EMAIL_DOMAINS, COMPANY_TYPES, CSP_STYLE_ATTR_DIRECTIVE, CSP_STYLE_ATTR_HASHES, Calendar, CalendarProps, Callout, CalloutCautionTone, CalloutProps, CalloutTone, Card, CardLink, CardLinkProps, CardProps, CardVariant, Center, CenterMaxWidth, CenterProps, CharacterCounter, CharacterCounterProps, ChatMessage, ChatMessageProps, ChatMessageStatus, Checkbox, CheckboxBaseProps, CheckboxCard, CheckboxCardProps, CheckboxCards, CheckboxCardsProps, CheckboxGroup, CheckboxGroupProps, CheckboxProps, Chip, ChipGroup, ChipGroupProps, ChipProps, ChipSelectionMode, ChipSize, ChoiceCard, ChoiceCardProps, ChoiceCards, ChoiceCardsMultipleProps, ChoiceCardsProps, ChoiceCardsSingleProps, ClientOnly, ClientOnlyProps, CloseButton, CloseButtonProps, Coachmark, CoachmarkAction, CoachmarkProps, Code, CodeProps, ColorPicker, ColorPickerProps, ColorSwatchOption, ColorSwatchPicker, ColorSwatchPickerProps, Columns, ColumnsProps, ColumnsRatio, Combobox, ComboboxProps, Command, CommandPalette, CommandPaletteProps, Comment, CommentAuthor, CommentThread, CommentThreadProps, CompanyType, CompanyTypeSelect, CompanyTypeSelectProps, ConfirmButton, ConfirmButtonProps, Container, ContainerElement, ContainerProps, ContainerSize, ContextMenu, ContextMenuProps, ContextualHelp, ContextualHelpProps, CopyButton, CopyButtonProps, Countdown, CountdownProps, CountrySelect, CountrySelectProps, CreateToastQueueOptions, type CropState, CurrencyField, CurrencyFieldProps, type CurrencyOptions, DEFAULT_MESSAGES, DEFAULT_THEME_STORAGE_KEY, DEFAULT_TIME_ZONE, DEFAULT_TOAST_TIMEOUT, DEFAULT_WORKING_HOURS, DangerZone, DangerZoneProps, DateField, DateFieldProps, DatePicker, type DatePickerProps, DateRangePicker, DateRangePickerProps, DateRangePreset, type DateRangeValue, type DateStyle, DateTime, type DateTimeFormat, DateTimePicker, DateTimePickerProps, type DateTimeProps, type DateValue, type DayLabels, DayProblem, DescriptionItem, DescriptionItemProps, DescriptionList, DescriptionListLayout, DescriptionListProps, Dialog, DialogProps, Disclosure, DisclosureProps, DisclosureSize, DisclosureVariant, DistrictSelect, DistrictSelectProps, Divider, DividerProps, DownloadActionProps, DownloadButton, DownloadButtonProps, DownloadLinkProps, Drawer, DrawerProps, DropdownMenu, DropdownMenuProps, Duration, DurationField, DurationFieldProps, type DurationProps, EMOJI_CATEGORIES, EmailField, EmailFieldProps, EmailLink, type EmailLinkProps, type EmojiCategory, type EmojiEntry, EmojiPicker, EmojiPickerProps, EmptyState, EmptyStateProps, EntityHeader, EntityHeaderFact, EntityHeaderProps, ErrorBoundary, ErrorBoundaryFallbackProps, ErrorBoundaryProps, type ErrorMessage, ErrorPage, ErrorPageKind, ErrorPageProps, ErrorState, ErrorStateProps, Eyebrow, EyebrowProps, FavoriteKind, FavoriteToggle, FavoriteToggleProps, FeedbackCategory, FeedbackSubmission, FeedbackWidget, FeedbackWidgetProps, FieldDescription, FieldErrorText, type FieldErrorTextProps, FieldLabel, type FieldLabelProps, Fieldset, FieldsetProps, Figure, FigureProps, FileKind, FileList, FileListItem, FileListProps, type FileRejection, type FileRules, FileSize, type FileSizeProps, FileUpload, FileUploadProps, FilterGroup, FilterPanel, FilterPanelProps, FloatingActionButton, FloatingActionButtonActionProps, FloatingActionButtonLinkProps, FloatingActionButtonPlacement, FloatingActionButtonProps, FloatingActionButtonSize, FloatingActionButtonVariant, FocusTrap, FocusTrapProps, FootnoteItem, FootnoteRef, FootnoteRefProps, Footnotes, FootnotesProps, Form, FormErrorItem, FormErrorSummary, FormErrorSummaryProps, FormProps, FormValues, type FormatContext, FormattedNumber, type FormattedNumberFormat, type FormattedNumberProps, type Formatter, Frequency, FullscreenOverlay, FullscreenOverlayProps, Grid, GridColumnCount, GridElement, GridMinItemWidth, GridProps, GridResponsiveColumns, Heading, HeadingLevel, HeadingProps, HeadingSize, Highlight, type HighlightMatching, type HighlightOptions, HighlightProps, type HighlightRange, HoverCard, HoverCardProps, IMAGE_UPLOAD_TYPES, IYS_CHANNELS, IbanField, IbanFieldProps, IbanText, type IbanTextProps, IconButton, IconButtonActionProps, IconButtonLinkProps, IconButtonProps, IconButtonSize, IconButtonVariant, IconPicker, IconPickerProps, IdCardSerialField, IdCardSerialFieldProps, ImageUpload, ImageUploadProps, ImageUploadValue, InfiniteList, InfiniteListProps, Inline, InlineEdit, InlineEditProps, InlineElement, InlineMessage, InlineMessageProps, InlineMessageTone, InlineProps, InputGroup, InputGroupProps, InviteMembers, InviteMembersProps, InviteRequest, InviteResult, InviteRole, IysChannel, IysConsent, IysConsentProps, Kbd, KbdProps, KepAddressField, KepAddressFieldProps, KeyValue, KeyValueOrientation, KeyValueProps, KvkkConsent, KvkkConsentProps, LOCALES, Language, LanguageSwitch, LanguageSwitchProps, type LayoutBreakpoint, type LayoutRootProps, Lightbox, LightboxImage, LightboxProps, Link, type LinkProps, LinkRow, LinkRows, LinkRowsProps, type LinkSize, type LinkVariant, List, ListGap, ListItem, ListItemProps, ListMarker, ListProps, Listbox, type ListItem$1 as ListboxItem, ListboxMultipleProps, type ListOption as ListboxOption, ListboxProps, type ListSection as ListboxSection, ListboxSingleProps, LoadingBoundary, LoadingBoundaryProps, LoadingOverlay, LoadingOverlayProps, type Locale, MAX_MARKDOWN_LENGTH, MIN_TOAST_TIMEOUT, Mark, MarkProps, MarkTone, Markdown, type MarkdownProps, type MaskSlot, MaskedField, MaskedFieldProps, Masonry, MasonryBreakpoint, MasonryColumnCount, MasonryColumns, MasonryProps, MasterDetail, MasterDetailProps, MatrixPermission, MatrixPermissionGroup, MatrixRole, MentionUser, Mentions, MentionsProps, Menu, MenuItem, MenuItemProps, MenuPopover, MenuPopoverProps, MenuProps, MenuSection, MenuSectionProps, MenuSeparator, MersisField, MersisFieldProps, Meter, type MeterLevel, MeterProps, MeterSize, MobileNav, MobileNavProps, MonthPicker, MonthPickerProps, MultiSelect, MultiSelectProps, NaceCodeSelect, NaceCodeSelectProps, type NavItem, NavRail, NavRailItem, NavRailProps, NavigationAttempt, NeighborhoodSelect, NeighborhoodSelectProps, NewPasswordField, NewPasswordFieldProps, NotificationBell, NotificationBellProps, NotificationCenter, NotificationCenterProps, NotificationFilter, NotificationItem, NumberField, NumberFieldProps, type NumberUnitDisplay, OfflineIndicator, OfflineIndicatorProps, OnboardingChecklist, OnboardingChecklistProps, OnboardingTask, type OptionLoader, type OptionSearch, OtpField, OtpFieldProps, type OverlayContent, PageHeader, PageHeaderProps, PageItem, Pagination, PaginationProps, type PasswordEstimate, PasswordField, PasswordFieldProps, type PasswordScore, PasswordStrength, PasswordStrengthProps, type PasswordWarning, PersonItem, PersonItemProps, PersonItemSize, PhoneField, PhoneFieldProps, PhoneLink, type PhoneLinkProps, type Placement, PlateField, PlateFieldProps, type Politeness, Popover, PopoverProps, Portal, PortalProps, PostalCodeField, PostalCodeFieldProps, PrevNext, PrevNextLink, PrevNextProps, PricingFeature, PricingPlan, PricingTable, PricingTableProps, PrintButton, PrintButtonProps, ProgressBar, ProgressBarProps, ProgressCircle, ProgressCircleProps, ProgressCircleSize, ProgressLabelProps, ProgressSize, ProgressTone, PromptDialog, PromptDialogProps, Prose, ProseProps, ProseSize, Province, ProvinceSelect, ProvinceSelectProps, QuarterPicker, QuarterPickerProps, RRULE_DAYS, RRuleDay, Radio, RadioCard, RadioCardProps, RadioCards, RadioCardsProps, RadioGroup, RadioGroupProps, RadioProps, RangeCalendar, RangeCalendarProps, RangeSlider, RangeSliderProps, RangeValue, Rating, RatingDisplay, RatingDisplayProps, RatingProps, Reaction, ReactionOption, ReactionPicker, ReactionPickerProps, ReadMore, ReadMoreLines, ReadMoreProps, Recurrence, RecurrencePicker, RecurrencePickerProps, RelativeTime, type RelativeTimeProps, RoleMatrix, RoleMatrixProps, RolePermissions, SPACES, ScrollArea, ScrollAreaMaxHeight, ScrollAreaProps, type ScrollAxis, ScrollShadow, ScrollShadowProps, SearchField, SearchFieldProps, SearchResult, SearchResults, SearchResultsProps, Section, SectionProps, SectionSpacing, SegmentedControl, SegmentedControlItem, type SegmentedControlItemProps, type SegmentedControlProps, type SegmentedControlSize, SegmentedNav, SegmentedNavProps, Select, type SelectBaseProps, SelectProps, SettingsRow, SettingsRowIds, SettingsRowProps, SettingsSection, SettingsSectionProps, ShareButton, ShareButtonProps, ShareMethod, Shortcut, ShortcutGroup, ShortcutsDialog, ShortcutsDialogProps, Show, ShowBreakpoint, ShowProps, SideNav, SideNavItem, SideNavProps, SideNavSection, SignaturePad, SignaturePadProps, SignatureValue, Skeleton, SkeletonAspectRatio, SkeletonProps, SkeletonShape, SkeletonTextSize, SkeletonWidth, SkipLink, SkipLinkProps, Slider, SliderProps, type Space, Spacer, SpacerProps, Spinner, SpinnerProps, SplitButton, SplitButtonItem, SplitButtonProps, SplitView, SplitViewProps, Stack, StackElement, StackProps, Stat, StatFormat, StatGroup, StatGroupProps, StatGroupVariant, StatProps, StatSize, StatTrend, StatusDot, StatusDotProps, StatusDotStatus, StatusDotTone, StepItem, StepStatus, Steps, StepsProps, Sticky, StickyOffset, StickyProps, Submenu, SubmenuProps, SuccessState, SuccessStateProps, Surface, SurfaceBackground, SurfaceElement, SurfaceProps, Switch, SwitchProps, THEMES, THEME_CHANGE_EVENT, TR_BANKS, TR_PROVINCES, TURNSTILE_SCRIPT_URL, Tab, TabList, TabListProps, TabPanel, TabPanelProps, TabProps, Table, TableAlign, TableColumn, TableOfContents, TableOfContentsProps, TableProps, TableRowData, TableSize, Tabs, TabsProps, Tag, TagInput, TagInputProps, TagLinkProps, TagProps, TagSize, TagStaticProps, TaxIdField, TaxIdFieldProps, TaxIdKind, TaxOfficeSelect, TaxOfficeSelectProps, TcknField, TcknFieldProps, Text, TextArea, TextAreaProps, TextField, TextFieldProps, TextFieldType, TextProps, TextSize, TextTone, Theme, ThemeOptions, ThemeScript, ThemeScriptProps, ThemeSwitch, ThemeSwitchProps, TimeField, TimeFieldProps, TimeRange, TimeSlot, TimeSlotPicker, TimeSlotPickerProps, TimeZoneSelect, TimeZoneSelectProps, ToastAction, ToastContent, ToastController, ToastOptions, ToastPlacement, ToastQueue, ToastQueueProps, ToastTone, TocItem, ToggleButton, type ToggleButtonProps, type ToggleButtonSize, type ToggleButtonVariant, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleGroupVariant, Toolbar, ToolbarGroup, ToolbarGroupProps, ToolbarProps, ToolbarSeparator, Tooltip, TooltipProps, TopNav, TopNavProps, TopProgressBar, TopProgressBarProps, Tour, TourProps, TourStep, TransferList, TransferListProps, TrashItem, TrashView, TrashViewProps, type TreeNode, TreeSelect, TreeSelectMultipleProps, TreeSelectProps, TreeSelectSingleProps, TreeView, TreeViewNode, TreeViewProps, Truncate, TruncateEndProps, TruncateMiddleProps, TruncateProps, TurkishAddress, TurnstileApi, TurnstileField, TurnstileFieldProps, type UIMessageKey, type UIMessages, UIProvider, type UIProviderProps, UnsavedChangesPrompt, UnsavedChangesPromptProps, UnsavedChangesState, UpdatePrompt, UpdatePromptProps, UploadItem, UploadQueue, UploadQueueProps, UploadQueueStatus, UploadStatus, UrlField, UrlFieldProps, UsageMeter, UsageMeterProps, UseUnsavedChangesOptions, type ValidationContext, VisuallyHidden, type VisuallyHiddenProps, VknField, VknFieldProps, WEEKDAYS, WeekPicker, WeekPickerProps, Weekday, WhatsNew, WhatsNewChange, WhatsNewFilter, WhatsNewKind, WhatsNewProps, WhatsNewRelease, Wizard, WizardProps, WizardStep, WorkingHours, WorkingHoursEditor, WorkingHoursEditorProps, type YearDisplay, YearPicker, YearPickerProps, announce, avatarColorOf, avatarGroupCounts, badgeCountText, bankByCode, capitalize, characterCount, clampCrop, companyTypeName, compare, containsPersonalInfo, containsStrict, contextOf, createFormatter, createToastQueue, currentTheme, dayKey, dayProblem, defaultRangePresets, describeAccept, describeRecurrence, estimatePasswordStrength, extractRaw, fileExtension, fileKey, fileKind, filterTree, findMentions, footnoteId, footnoteRefId, formatCalendarDate, formatCalendarDateTime, formatClock, formatCompact, formatCurrency, formatDate, formatDateRange, formatDateTime, formatDuration, formatFileSize, formatIban, formatList, formatMasked, formatMonthYear, formatNumber, formatOffset, formatPercent, formatPlate, formatRRule, formatRelativeTime, formatTime, formatTrPhone, headingSlug, highlightRanges, highlightTerms, ibanBankCode, iconLabel, initials, isAllowedProtocol, isCommonPassword, isEmailAddress, isTheme, isTrMobile, isValidIban, isValidIdCardSerial, isValidKep, isValidMersis, isValidPhone, isValidPlate, isValidTckn, isValidVkn, isoWeekOf, isoWeekRange, matchesAccept, matchesLoose, mentionQuery, messagesFor, nodePath, normalizeIban, normalizeIdCardSerial, normalizeNaceQuery, normalizeTrPhone, normalizeUrl, nthWeekdayOf, pageItems, parseMask, parseNumber, parsePlate, parseRRule, partitionFiles, provinceByCode, quarterRange, resolveGridColumns, resolveToastTimeout, safeUrl, searchContains, searchFold, searchKey, setTheme, slotCount, sortBy, sortRanges, sourceRect, splitInternational, statGroupColumns, statTrend, stepStatus, suggestEmail, tabbables, taxIdKind, template, themeScript, themeScriptHash, timeSlots, timeZoneOffset, toE164, toLocale, toLower, toUpper, toast, trickle, useFormatter, useIsClient, useLocale, useMessages, useTheme, useUnsavedChanges, useValidationMessage, validateWorkingHours, weekdayOf };
522
+ export { ARIA_HIDDEN_INPUT_STYLE, AVATAR_COLORS, Accent, AccentProps, Accordion, AccordionItem, AccordionProps, AccordionSize, AccordionVariant, ActionBar, ActionBarProps, AddressFields, AddressFieldsProps, AddressText, type AddressTextProps, Alert, AlertDialog, AlertDialogProps, AlertProps, AlertTone, Amount, type AmountProps, AnchorNav, AnchorNavItem, AnchorNavProps, Announcer, AnnouncerProps, AppHeader, AppHeaderProps, AppShell, AppShellProps, ArrowLink, ArrowLinkProps, ArrowLinkSize, AspectRatio, AspectRatioProps, AspectRatioValue, Avatar, AvatarColor, AvatarGroup, AvatarGroupProps, AvatarProps, type AvatarShape, type AvatarSize, BackLink, BackLinkActionProps, BackLinkHrefProps, BackLinkProps, BackLinkSize, Badge, BadgeCountProps, BadgeLabelProps, BadgeProps, BadgeSize, BadgeTone, BadgeVariant, Bank, BankKind, BankSelect, BankSelectProps, Banner, BannerProps, BannerTone, BillingPeriod, Bleed, BleedAmount, BleedBreakpoint, BleedProps, Blockquote, BlockquoteProps, BlockquoteVariant, BottomNav, BottomNavItem, BottomNavProps, BottomSheet, BottomSheetProps, BreadcrumbItem, Breadcrumbs, BreadcrumbsProps, Button, ButtonActionProps, ButtonGroup, ButtonGroupLayout, ButtonGroupProps, ButtonLinkProps, ButtonProps, ButtonSize, ButtonVariant, COMMON_EMAIL_DOMAINS, COMPANY_TYPES, CSP_STYLE_ATTR_DIRECTIVE, CSP_STYLE_ATTR_HASHES, Calendar, CalendarProps, Callout, CalloutCautionTone, CalloutProps, CalloutTone, Card, CardLink, CardLinkProps, CardProps, CardVariant, Center, CenterMaxWidth, CenterProps, CharacterCounter, CharacterCounterProps, ChatMessage, ChatMessageProps, ChatMessageStatus, Checkbox, CheckboxBaseProps, CheckboxCard, CheckboxCardProps, CheckboxCards, CheckboxCardsProps, CheckboxGroup, CheckboxGroupProps, CheckboxProps, Chip, ChipGroup, ChipGroupProps, ChipProps, ChipSelectionMode, ChipSize, ChoiceCard, ChoiceCardProps, ChoiceCards, ChoiceCardsMultipleProps, ChoiceCardsProps, ChoiceCardsSingleProps, ClientOnly, ClientOnlyProps, CloseButton, CloseButtonProps, Coachmark, CoachmarkAction, CoachmarkProps, Code, CodeProps, ColorPicker, ColorPickerProps, ColorSwatchOption, ColorSwatchPicker, ColorSwatchPickerProps, Columns, ColumnsProps, ColumnsRatio, Combobox, ComboboxProps, Command, CommandPalette, CommandPaletteProps, Comment, CommentAuthor, CommentThread, CommentThreadProps, CompanyType, CompanyTypeSelect, CompanyTypeSelectProps, ConfirmButton, ConfirmButtonProps, Container, ContainerElement, ContainerProps, ContainerSize, ContextMenu, ContextMenuProps, ContextualHelp, ContextualHelpProps, CopyButton, CopyButtonProps, Countdown, CountdownProps, CountrySelect, CountrySelectProps, CreateToastQueueOptions, type CropState, CurrencyField, CurrencyFieldProps, type CurrencyOptions, DEFAULT_MESSAGES, DEFAULT_THEME_STORAGE_KEY, DEFAULT_TIME_ZONE, DEFAULT_TOAST_TIMEOUT, DEFAULT_WORKING_HOURS, DangerZone, DangerZoneProps, DateField, DateFieldProps, DatePicker, type DatePickerProps, DateRangePicker, DateRangePickerProps, DateRangePreset, type DateRangeValue, type DateStyle, DateTime, type DateTimeFormat, DateTimePicker, DateTimePickerProps, type DateTimeProps, type DateValue, type DayLabels, DayProblem, DescriptionItem, DescriptionItemProps, DescriptionList, DescriptionListLayout, DescriptionListProps, Dialog, DialogProps, Disclosure, DisclosureProps, DisclosureSize, DisclosureVariant, DistrictSelect, DistrictSelectProps, Divider, DividerProps, DownloadActionProps, DownloadButton, DownloadButtonProps, DownloadLinkProps, Drawer, DrawerProps, DropdownMenu, DropdownMenuProps, Duration, DurationField, DurationFieldProps, type DurationProps, EMOJI_CATEGORIES, EmailField, EmailFieldProps, EmailLink, type EmailLinkProps, type EmojiCategory, type EmojiEntry, EmojiPicker, EmojiPickerProps, EmptyState, EmptyStateProps, EntityHeader, EntityHeaderFact, EntityHeaderProps, ErrorBoundary, ErrorBoundaryFallbackProps, ErrorBoundaryProps, type ErrorMessage, ErrorPage, ErrorPageKind, ErrorPageProps, ErrorState, ErrorStateProps, Eyebrow, EyebrowProps, FavoriteKind, FavoriteToggle, FavoriteToggleProps, FeedbackCategory, FeedbackSubmission, FeedbackWidget, FeedbackWidgetProps, FieldDescription, FieldErrorText, type FieldErrorTextProps, FieldLabel, type FieldLabelProps, Fieldset, FieldsetProps, Figure, FigureProps, FileKind, FileList, FileListItem, FileListProps, type FileRejection, type FileRules, FileSize, type FileSizeProps, FileUpload, FileUploadProps, FilterGroup, FilterPanel, FilterPanelProps, FloatingActionButton, FloatingActionButtonActionProps, FloatingActionButtonLinkProps, FloatingActionButtonPlacement, FloatingActionButtonProps, FloatingActionButtonSize, FloatingActionButtonVariant, FocusTrap, FocusTrapProps, FootnoteItem, FootnoteRef, FootnoteRefProps, Footnotes, FootnotesProps, Form, FormErrorItem, FormErrorSummary, FormErrorSummaryProps, FormProps, FormValues, type FormatContext, FormattedNumber, type FormattedNumberFormat, type FormattedNumberProps, type Formatter, Frequency, FullscreenOverlay, FullscreenOverlayProps, Grid, GridColumnCount, GridElement, GridMinItemWidth, GridProps, GridResponsiveColumns, Heading, HeadingLevel, HeadingProps, HeadingSize, Highlight, type HighlightMatching, type HighlightOptions, HighlightProps, type HighlightRange, HoverCard, HoverCardProps, IMAGE_UPLOAD_TYPES, IYS_CHANNELS, IbanField, IbanFieldProps, IbanText, type IbanTextProps, IconButton, IconButtonActionProps, IconButtonLinkProps, IconButtonProps, IconButtonSize, IconButtonVariant, IconPicker, IconPickerProps, IdCardSerialField, IdCardSerialFieldProps, ImageUpload, ImageUploadProps, ImageUploadValue, InfiniteList, InfiniteListProps, Inline, InlineEdit, InlineEditProps, InlineElement, InlineMessage, InlineMessageProps, InlineMessageTone, InlineProps, InputGroup, InputGroupProps, InviteMembers, InviteMembersProps, InviteRequest, InviteResult, InviteRole, IysChannel, IysConsent, IysConsentProps, Kbd, KbdProps, KepAddressField, KepAddressFieldProps, KeyValue, KeyValueOrientation, KeyValueProps, KvkkConsent, KvkkConsentProps, LOCALES, Language, LanguageSwitch, LanguageSwitchProps, type LayoutBreakpoint, type LayoutRootProps, Lightbox, LightboxImage, LightboxProps, Link, type LinkProps, LinkRow, LinkRows, LinkRowsProps, type LinkSize, type LinkVariant, List, ListGap, ListItem, ListItemProps, ListMarker, ListProps, Listbox, type ListItem$1 as ListboxItem, ListboxMultipleProps, type ListOption as ListboxOption, ListboxProps, type ListSection as ListboxSection, ListboxSingleProps, LoadingBoundary, LoadingBoundaryProps, LoadingOverlay, LoadingOverlayProps, type Locale, MAX_MARKDOWN_LENGTH, MIN_TOAST_TIMEOUT, Mark, MarkProps, MarkTone, Markdown, type MarkdownProps, type MaskSlot, MaskedField, MaskedFieldProps, Masonry, MasonryBreakpoint, MasonryColumnCount, MasonryColumns, MasonryProps, MasterDetail, MasterDetailProps, MatrixPermission, MatrixPermissionGroup, MatrixRole, MentionUser, Mentions, MentionsProps, Menu, MenuItem, MenuItemProps, MenuPopover, MenuPopoverProps, MenuProps, MenuSection, MenuSectionProps, MenuSeparator, MersisField, MersisFieldProps, Meter, type MeterLevel, MeterProps, MeterSize, MobileNav, MobileNavProps, MonthPicker, MonthPickerProps, MultiSelect, MultiSelectProps, NaceCodeSelect, NaceCodeSelectProps, type NavItem, NavRail, NavRailItem, NavRailProps, NavigationAttempt, NeighborhoodSelect, NeighborhoodSelectProps, NewPasswordField, NewPasswordFieldProps, NotificationBell, NotificationBellProps, NotificationCenter, NotificationCenterProps, NotificationFilter, NotificationItem, NumberField, NumberFieldProps, type NumberUnitDisplay, OfflineIndicator, OfflineIndicatorProps, OnboardingChecklist, OnboardingChecklistProps, OnboardingTask, type OptionLoader, type OptionSearch, OtpField, OtpFieldProps, type OverlayContent, PageHeader, PageHeaderProps, PageItem, Pagination, PaginationProps, type PasswordEstimate, PasswordField, PasswordFieldProps, type PasswordScore, PasswordStrength, PasswordStrengthProps, type PasswordWarning, PersonItem, PersonItemProps, PersonItemSize, PhoneField, PhoneFieldProps, PhoneLink, type PhoneLinkProps, type Placement, PlateField, PlateFieldProps, type Politeness, Popover, PopoverProps, Portal, PortalProps, PostalCodeField, PostalCodeFieldProps, PrevNext, PrevNextLink, PrevNextProps, PricingFeature, PricingPlan, PricingTable, PricingTableProps, PrintButton, PrintButtonProps, ProgressBar, ProgressBarProps, ProgressCircle, ProgressCircleProps, ProgressCircleSize, ProgressLabelProps, ProgressSize, ProgressTone, PromptDialog, PromptDialogProps, Prose, ProseProps, ProseSize, Province, ProvinceSelect, ProvinceSelectProps, QuarterPicker, QuarterPickerProps, RRULE_DAYS, RRuleDay, Radio, RadioCard, RadioCardProps, RadioCards, RadioCardsProps, RadioGroup, RadioGroupProps, RadioProps, RangeCalendar, RangeCalendarProps, RangeSlider, RangeSliderProps, RangeValue, Rating, RatingDisplay, RatingDisplayProps, RatingProps, Reaction, ReactionOption, ReactionPicker, ReactionPickerProps, ReadMore, ReadMoreLines, ReadMoreProps, Recurrence, RecurrencePicker, RecurrencePickerProps, RelativeTime, type RelativeTimeProps, RoleMatrix, RoleMatrixProps, RolePermissions, SPACES, ScrollArea, ScrollAreaMaxHeight, ScrollAreaProps, type ScrollAxis, ScrollShadow, ScrollShadowProps, SearchField, SearchFieldProps, SearchResult, SearchResults, SearchResultsProps, Section, SectionProps, SectionSpacing, SegmentedControl, SegmentedControlItem, type SegmentedControlItemProps, type SegmentedControlProps, type SegmentedControlSize, SegmentedNav, SegmentedNavProps, Select, type SelectBaseProps, SelectProps, SettingsRow, SettingsRowIds, SettingsRowProps, SettingsSection, SettingsSectionProps, ShareButton, ShareButtonProps, ShareMethod, Shortcut, ShortcutGroup, ShortcutsDialog, ShortcutsDialogProps, Show, ShowBreakpoint, ShowProps, SideNav, SideNavItem, SideNavProps, SideNavSection, SignaturePad, SignaturePadProps, SignatureValue, Skeleton, SkeletonAspectRatio, SkeletonProps, SkeletonShape, SkeletonTextSize, SkeletonWidth, SkipLink, SkipLinkProps, Slider, SliderProps, type Space, Spacer, SpacerProps, Spinner, SpinnerProps, SplitButton, SplitButtonItem, SplitButtonProps, SplitView, SplitViewProps, Stack, StackElement, StackProps, Stat, StatFormat, StatGroup, StatGroupProps, StatGroupVariant, StatProps, StatSize, StatTrend, StatusDot, StatusDotProps, StatusDotStatus, StatusDotTone, StepItem, StepStatus, Steps, StepsProps, Sticky, StickyOffset, StickyProps, Submenu, SubmenuProps, SuccessState, SuccessStateProps, Surface, SurfaceBackground, SurfaceElement, SurfaceProps, Switch, SwitchProps, THEMES, THEME_CHANGE_EVENT, TR_BANKS, TR_PROVINCES, TURNSTILE_SCRIPT_URL, Tab, TabList, TabListProps, TabPanel, TabPanelProps, TabProps, Table, TableAlign, TableColumn, TableOfContents, TableOfContentsProps, TableProps, TableRowData, TableSize, Tabs, TabsProps, Tag, TagInput, TagInputProps, TagLinkProps, TagProps, TagSize, TagStaticProps, TaxIdField, TaxIdFieldProps, TaxIdKind, TaxOfficeSelect, TaxOfficeSelectProps, TcknField, TcknFieldProps, Text, TextArea, TextAreaProps, TextField, TextFieldProps, TextFieldType, TextProps, TextSize, TextTone, Theme, ThemeOptions, ThemeScript, ThemeScriptProps, ThemeSwitch, ThemeSwitchProps, TimeField, TimeFieldProps, TimeRange, type TimeSlot, TimeSlotPicker, TimeSlotPickerProps, TimeZoneSelect, TimeZoneSelectProps, ToastAction, ToastContent, ToastController, ToastOptions, ToastPlacement, ToastQueue, ToastQueueProps, ToastTone, TocItem, ToggleButton, type ToggleButtonProps, type ToggleButtonSize, type ToggleButtonVariant, ToggleGroup, ToggleGroupItem, type ToggleGroupItemProps, type ToggleGroupProps, type ToggleGroupVariant, Toolbar, ToolbarGroup, ToolbarGroupProps, ToolbarProps, ToolbarSeparator, Tooltip, TooltipProps, TopNav, TopNavProps, TopProgressBar, TopProgressBarProps, Tour, TourProps, TourStep, TransferList, TransferListProps, TrashItem, TrashView, TrashViewProps, type TreeNode, TreeSelect, TreeSelectMultipleProps, TreeSelectProps, TreeSelectSingleProps, TreeView, TreeViewNode, TreeViewProps, Truncate, TruncateEndProps, TruncateMiddleProps, TruncateProps, TurkishAddress, TurnstileApi, TurnstileField, TurnstileFieldProps, type UIMessageKey, type UIMessages, UIProvider, type UIProviderProps, UnsavedChangesPrompt, UnsavedChangesPromptProps, UnsavedChangesState, UpdatePrompt, UpdatePromptProps, UploadItem, UploadQueue, UploadQueueProps, UploadQueueStatus, UploadStatus, UrlField, UrlFieldProps, UsageMeter, UsageMeterProps, UseUnsavedChangesOptions, type ValidationContext, VisuallyHidden, type VisuallyHiddenProps, VknField, VknFieldProps, WEEKDAYS, WeekPicker, WeekPickerProps, Weekday, WhatsNew, WhatsNewChange, WhatsNewFilter, WhatsNewKind, WhatsNewProps, WhatsNewRelease, Wizard, WizardProps, WizardStep, WorkingHours, WorkingHoursEditor, WorkingHoursEditorProps, type YearDisplay, YearPicker, YearPickerProps, announce, avatarColorOf, avatarGroupCounts, badgeCountText, bankByCode, capitalize, characterCount, clampCrop, companyTypeName, compare, containsPersonalInfo, containsStrict, contextOf, createFormatter, createToastQueue, currentTheme, dayKey, dayProblem, defaultRangePresets, describeAccept, describeRecurrence, estimatePasswordStrength, extractRaw, fileExtension, fileKey, fileKind, filterTree, findMentions, footnoteId, footnoteRefId, formatCalendarDate, formatCalendarDateTime, formatClock, formatCompact, formatCurrency, formatDate, formatDateRange, formatDateTime, formatDuration, formatFileSize, formatIban, formatList, formatMasked, formatMonthYear, formatNumber, formatOffset, formatPercent, formatPlate, formatRRule, formatRelativeTime, formatTime, formatTrPhone, headingSlug, highlightRanges, highlightTerms, ibanBankCode, iconLabel, initials, isAllowedProtocol, isCommonPassword, isEmailAddress, isTheme, isTrMobile, isValidIban, isValidIdCardSerial, isValidKep, isValidMersis, isValidPhone, isValidPlate, isValidTckn, isValidVkn, isoWeekOf, isoWeekRange, matchesAccept, matchesLoose, mentionQuery, messagesFor, nodePath, normalizeIban, normalizeIdCardSerial, normalizeNaceQuery, normalizeTrPhone, normalizeUrl, nthWeekdayOf, pageItems, parseMask, parseNumber, parsePlate, parseRRule, partitionFiles, provinceByCode, quarterRange, resolveGridColumns, resolveToastTimeout, safeUrl, searchContains, searchFold, searchKey, setTheme, slotCount, sortBy, sortRanges, sourceRect, splitInternational, statGroupColumns, statTrend, stepStatus, suggestEmail, tabbables, taxIdKind, template, themeScript, themeScriptHash, timeSlots, timeZoneOffset, toE164, toLocale, toLower, toUpper, toast, trickle, useFormatter, useIsClient, useLocale, useMessages, useTheme, useUnsavedChanges, useValidationMessage, validateWorkingHours, weekdayOf };
package/dist/index.js CHANGED
@@ -252,7 +252,8 @@ import { ThemeScript } from "./components/ThemeScript/ThemeScript.js";
252
252
  import { useTheme } from "./components/ThemeScript/useTheme.js";
253
253
  import { ThemeSwitch } from "./components/ThemeSwitch/ThemeSwitch.js";
254
254
  import { TimeField } from "./components/TimeField/TimeField.js";
255
- import { TimeSlotPicker, timeSlots } from "./components/TimeSlotPicker/TimeSlotPicker.js";
255
+ import { timeSlots } from "./components/TimeSlotPicker/timeSlots.js";
256
+ import { TimeSlotPicker } from "./components/TimeSlotPicker/TimeSlotPicker.js";
256
257
  import { TimeZoneSelect, formatOffset, timeZoneOffset } from "./components/TimeZoneSelect/TimeZoneSelect.js";
257
258
  import { DEFAULT_TOAST_TIMEOUT, MIN_TOAST_TIMEOUT, createToastQueue, resolveToastTimeout, toast } from "./components/Toast/toast.js";
258
259
  import { ToastQueue } from "./components/ToastQueue/ToastQueue.js";
@@ -607,6 +607,13 @@ declare const tr: {
607
607
  readonly idAccountMenuFor: "{name}, hesap menüsü";
608
608
  readonly idAccountManage: "STI ID hesabınızı yönetin";
609
609
  readonly idAccountSignOut: "Oturumu kapatın";
610
+ readonly idAccountGreeting: "Merhaba, {name}";
611
+ readonly idAccountOthers: "Diğer hesaplar";
612
+ readonly idAccountSwitch: "bu hesaba geçin";
613
+ readonly idAccountAdd: "Başka bir hesap ekleyin";
614
+ readonly idAccountPrivacy: "Gizlilik Politikası";
615
+ readonly idAccountTerms: "Hizmet Şartları";
616
+ readonly idAppSwitcherMore: "Tüm uygulamalar";
610
617
  readonly idAppSwitcher: "STI uygulamaları";
611
618
  readonly idAppSwitcherCurrent: "geçerli uygulama";
612
619
  readonly idAppSwitcherEmpty: "Erişebileceğiniz uygulama bulunmuyor.";
@@ -607,6 +607,13 @@ const DEFAULT_MESSAGES = {
607
607
  idAccountMenuFor: "{name}, hesap menüsü",
608
608
  idAccountManage: "STI ID hesabınızı yönetin",
609
609
  idAccountSignOut: "Oturumu kapatın",
610
+ idAccountGreeting: "Merhaba, {name}",
611
+ idAccountOthers: "Diğer hesaplar",
612
+ idAccountSwitch: "bu hesaba geçin",
613
+ idAccountAdd: "Başka bir hesap ekleyin",
614
+ idAccountPrivacy: "Gizlilik Politikası",
615
+ idAccountTerms: "Hizmet Şartları",
616
+ idAppSwitcherMore: "Tüm uygulamalar",
610
617
  idAppSwitcher: "STI uygulamaları",
611
618
  idAppSwitcherCurrent: "geçerli uygulama",
612
619
  idAppSwitcherEmpty: "Erişebileceğiniz uygulama bulunmuyor.",
@@ -1605,6 +1612,13 @@ const DEFAULT_MESSAGES = {
1605
1612
  idAccountMenuFor: "{name}, account menu",
1606
1613
  idAccountManage: "Manage your STI ID account",
1607
1614
  idAccountSignOut: "Sign out",
1615
+ idAccountGreeting: "Hello, {name}",
1616
+ idAccountOthers: "Other accounts",
1617
+ idAccountSwitch: "switch to this account",
1618
+ idAccountAdd: "Add another account",
1619
+ idAccountPrivacy: "Privacy Policy",
1620
+ idAccountTerms: "Terms of Service",
1621
+ idAppSwitcherMore: "All apps",
1608
1622
  idAppSwitcher: "STI apps",
1609
1623
  idAppSwitcherCurrent: "current app",
1610
1624
  idAppSwitcherEmpty: "There are no apps available to you.",