@luscii-healthtech/web-ui 59.0.0 → 59.0.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.
@@ -3,6 +3,10 @@ import { type TextEditorToolbarOption } from "./TextEditorToolbar";
3
3
  import { type TextEditorTag } from "./MentionList";
4
4
  import "./TextEditor.scss";
5
5
  export { type TextEditorTag };
6
+ /**
7
+ * `aria-label` / `aria-labelledby` are applied to the editable textbox.
8
+ * One of them is needed for an accessible name.
9
+ */
6
10
  type Props = HTMLAttributes<HTMLDivElement> & {
7
11
  /**
8
12
  * Called when the value of the editor changes.
@@ -3,6 +3,10 @@ import { type TextEditorToolbarOption } from "./TextEditorToolbar";
3
3
  import { type TextEditorTag } from "./MentionList";
4
4
  import "./TextEditor.scss";
5
5
  export { type TextEditorTag };
6
+ /**
7
+ * `aria-label` / `aria-labelledby` are applied to the editable textbox.
8
+ * One of them is needed for an accessible name.
9
+ */
6
10
  type Props = HTMLAttributes<HTMLDivElement> & {
7
11
  /**
8
12
  * Called when the value of the editor changes.
@@ -22,9 +22,9 @@ declare const meta: {
22
22
  color?: string | undefined | undefined;
23
23
  suppressHydrationWarning?: boolean | undefined | undefined;
24
24
  defaultChecked?: boolean | undefined | undefined;
25
- defaultValue?: string | undefined;
25
+ defaultValue?: string | undefined | undefined;
26
26
  suppressContentEditableWarning?: boolean | undefined | undefined;
27
- value?: string | undefined;
27
+ value?: string | undefined | undefined;
28
28
  content?: string | undefined | undefined;
29
29
  dir?: ("rtl" | "ltr") | undefined;
30
30
  dangerouslySetInnerHTML?: {
@@ -36,7 +36,7 @@ declare const meta: {
36
36
  part?: string | undefined | undefined;
37
37
  role?: import("react").AriaRole | undefined;
38
38
  tabIndex?: number | undefined | undefined;
39
- orientation?: "horizontal" | "vertical" | undefined;
39
+ orientation?: ("horizontal" | "vertical") | undefined;
40
40
  "aria-activedescendant"?: string | undefined | undefined;
41
41
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
42
42
  "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
@@ -297,9 +297,9 @@ declare const meta: {
297
297
  inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
298
298
  is?: string | undefined | undefined;
299
299
  exportparts?: string | undefined | undefined;
300
- asChild?: boolean | undefined;
300
+ asChild?: boolean | undefined | undefined;
301
301
  onValueChange?: ((value: string) => void) | undefined;
302
- activationMode?: "automatic" | "manual" | undefined;
302
+ activationMode?: ("manual" | "automatic") | undefined;
303
303
  ref?: import("react").Ref<HTMLDivElement> | undefined;
304
304
  }>) => import("react").JSX.Element)[];
305
305
  };
@@ -10,6 +10,9 @@ declare const _default: {
10
10
  tags?: import("../src").TextEditorTag[];
11
11
  popupContainer?: HTMLElement | null;
12
12
  }>;
13
+ args: {
14
+ "aria-label": string;
15
+ };
13
16
  };
14
17
  export default _default;
15
18
  export declare const Example: {
@@ -5,6 +5,7 @@ import { type ToasterPanelProps } from "../src/components/Toaster/ToasterPanel";
5
5
  declare const _default: {
6
6
  title: string;
7
7
  component: import("react").FC<ToasterPanelProps>;
8
+ beforeEach: () => void;
8
9
  };
9
10
  export default _default;
10
11
  export declare const Playground: StoryObj<ComponentProps<typeof Toaster>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luscii-healthtech/web-ui",
3
- "version": "59.0.0",
3
+ "version": "59.0.1",
4
4
  "license": "MIT",
5
5
  "author": {
6
6
  "name": "Joris Janssen"
@@ -157,33 +157,34 @@
157
157
  "vite": "^7.3.7"
158
158
  },
159
159
  "dependencies": {
160
+ "@floating-ui/dom": "^1.0.0",
160
161
  "@fontsource/inter": "^4.5.15",
161
- "@fontsource/roboto": "^5.0.5",
162
- "@headlessui/react": "^2.2.0",
162
+ "@fontsource/roboto": "^5.3.0",
163
+ "@headlessui/react": "^2.2.10",
163
164
  "@heroicons/react": "^2.2.0",
164
- "@radix-ui/react-dropdown-menu": "^2.1.24",
165
- "@radix-ui/react-hover-card": "^1.1.23",
166
- "@radix-ui/react-popover": "^1.1.23",
167
- "@radix-ui/react-switch": "^1.3.7",
168
- "@radix-ui/react-tabs": "^1.1.21",
169
- "@radix-ui/react-toggle-group": "^1.1.19",
170
- "@radix-ui/react-tooltip": "^1.2.16",
171
- "@tiptap/extension-mention": "3.22.0",
172
- "@tiptap/pm": "^3.22.0",
173
- "@tiptap/react": "^3.22.0",
174
- "@tiptap/starter-kit": "^3.22.0",
175
- "@tiptap/suggestion": "3.22.0",
165
+ "@radix-ui/react-dropdown-menu": "^2.2.1",
166
+ "@radix-ui/react-hover-card": "^1.2.1",
167
+ "@radix-ui/react-popover": "^1.3.1",
168
+ "@radix-ui/react-switch": "^1.4.1",
169
+ "@radix-ui/react-tabs": "^1.2.1",
170
+ "@radix-ui/react-toggle-group": "^1.2.1",
171
+ "@radix-ui/react-tooltip": "^1.4.1",
172
+ "@tiptap/extension-mention": "3.31.4",
173
+ "@tiptap/pm": "^3.31.4",
174
+ "@tiptap/react": "^3.31.4",
175
+ "@tiptap/starter-kit": "^3.31.4",
176
+ "@tiptap/suggestion": "3.31.4",
176
177
  "classnames": "^2.3.2",
177
178
  "d3-scale": "^4.0.2",
178
179
  "date-fns": "^3.3.1",
179
- "dompurify": "^3.4.16",
180
+ "dompurify": "^3.4.17",
180
181
  "lodash-es": "^4.18.1",
181
182
  "react-datepicker": "^7.6.0",
182
183
  "react-lazy-load-image-component": "^1.6.3",
183
184
  "react-modal": "^3.16.3",
184
- "react-select": "^5.9.0",
185
- "sonner": "^2.0.3",
186
- "tailwind-merge": "^3.3.1"
185
+ "react-select": "^5.10.2",
186
+ "sonner": "^2.0.8",
187
+ "tailwind-merge": "^3.7.0"
187
188
  },
188
189
  "//": [
189
190
  " ##### disclaimer on resolutions #####",