@k8o/arte-odyssey 8.0.0 → 8.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.
- package/dist/components/data-display/baseline-status/baseline-status.mjs +2 -0
- package/dist/components/form/checkbox-group/index.d.mts +3 -3
- package/dist/components/overlays/dropdown-menu/hooks.d.mts +15 -15
- package/dist/components/overlays/list-box/hooks.d.mts +15 -15
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { useClient } from "../../../hooks/client/index.mjs";
|
|
2
3
|
import { Suspense, use } from "react";
|
|
3
4
|
import { jsx } from "react/jsx-runtime";
|
|
4
5
|
//#region src/components/data-display/baseline-status/baseline-status.tsx
|
|
@@ -8,6 +9,7 @@ const loadBaselineStatus = () => {
|
|
|
8
9
|
return loadPromise;
|
|
9
10
|
};
|
|
10
11
|
const BaselineStatusResolved = ({ featureId }) => {
|
|
12
|
+
if (!useClient()) return /* @__PURE__ */ jsx(BaselineStatusSkeleton, {});
|
|
11
13
|
use(loadBaselineStatus());
|
|
12
14
|
return /* @__PURE__ */ jsx("baseline-status", {
|
|
13
15
|
className: "border-border-base bg-bg-base max-w-full rounded-lg border p-4 wrap-normal",
|
|
@@ -5,7 +5,7 @@ declare const CheckboxGroup: _$react.FC<{
|
|
|
5
5
|
invalid?: boolean;
|
|
6
6
|
required?: boolean;
|
|
7
7
|
name: string;
|
|
8
|
-
} & Omit<_$react.FieldsetHTMLAttributes<HTMLFieldSetElement>, "defaultValue" | "onChange" | "
|
|
8
|
+
} & Omit<_$react.FieldsetHTMLAttributes<HTMLFieldSetElement>, "defaultValue" | "onChange" | "name" | "className"> & {
|
|
9
9
|
children?: _$react.ReactNode | undefined;
|
|
10
10
|
} & ({
|
|
11
11
|
value: string[];
|
|
@@ -20,7 +20,7 @@ declare const CheckboxGroup: _$react.FC<{
|
|
|
20
20
|
invalid?: boolean;
|
|
21
21
|
required?: boolean;
|
|
22
22
|
name: string;
|
|
23
|
-
} & Omit<_$react.FieldsetHTMLAttributes<HTMLFieldSetElement>, "defaultValue" | "onChange" | "
|
|
23
|
+
} & Omit<_$react.FieldsetHTMLAttributes<HTMLFieldSetElement>, "defaultValue" | "onChange" | "name" | "className"> & {
|
|
24
24
|
children?: _$react.ReactNode | undefined;
|
|
25
25
|
} & ({
|
|
26
26
|
value: string[];
|
|
@@ -35,7 +35,7 @@ declare const CheckboxGroup: _$react.FC<{
|
|
|
35
35
|
Item: _$react.FC<{
|
|
36
36
|
itemValue?: string;
|
|
37
37
|
label: string;
|
|
38
|
-
} & Omit<_$react.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "
|
|
38
|
+
} & Omit<_$react.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "type" | "checked" | "defaultChecked" | "className" | "children"> & ({
|
|
39
39
|
value: boolean;
|
|
40
40
|
onChange: _$react.ChangeEventHandler<HTMLInputElement>;
|
|
41
41
|
defaultChecked?: never;
|
|
@@ -28,17 +28,17 @@ declare const useMenuItem: ({
|
|
|
28
28
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
|
|
29
29
|
autoFocus?: boolean | undefined;
|
|
30
30
|
className?: string | undefined;
|
|
31
|
-
contentEditable?: (boolean | "
|
|
31
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
32
32
|
contextMenu?: string | undefined;
|
|
33
33
|
dir?: string | undefined;
|
|
34
|
-
draggable?: (boolean | "
|
|
34
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
35
35
|
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
36
36
|
hidden?: boolean | undefined;
|
|
37
37
|
id?: string | undefined;
|
|
38
38
|
lang?: string | undefined;
|
|
39
39
|
nonce?: string | undefined;
|
|
40
40
|
slot?: string | undefined;
|
|
41
|
-
spellCheck?: (boolean | "
|
|
41
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
42
42
|
style?: _$react.CSSProperties | undefined;
|
|
43
43
|
tabIndex: number;
|
|
44
44
|
title?: string | undefined;
|
|
@@ -76,11 +76,11 @@ declare const useMenuItem: ({
|
|
|
76
76
|
exportparts?: string | undefined;
|
|
77
77
|
part?: string | undefined;
|
|
78
78
|
"aria-activedescendant"?: string | undefined;
|
|
79
|
-
"aria-atomic"?: (boolean | "
|
|
79
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
80
80
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
81
81
|
"aria-braillelabel"?: string | undefined;
|
|
82
82
|
"aria-brailleroledescription"?: string | undefined;
|
|
83
|
-
"aria-busy"?: (boolean | "
|
|
83
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
84
84
|
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
85
85
|
"aria-colcount"?: number | undefined;
|
|
86
86
|
"aria-colindex"?: number | undefined;
|
|
@@ -91,37 +91,37 @@ declare const useMenuItem: ({
|
|
|
91
91
|
"aria-describedby"?: string | undefined;
|
|
92
92
|
"aria-description"?: string | undefined;
|
|
93
93
|
"aria-details"?: string | undefined;
|
|
94
|
-
"aria-disabled"?: (boolean | "
|
|
94
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
95
95
|
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
96
96
|
"aria-errormessage"?: string | undefined;
|
|
97
|
-
"aria-expanded"?: (boolean | "
|
|
97
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
98
98
|
"aria-flowto"?: string | undefined;
|
|
99
|
-
"aria-grabbed"?: (boolean | "
|
|
99
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
100
100
|
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
101
|
-
"aria-hidden"?: (boolean | "
|
|
101
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
102
102
|
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
103
103
|
"aria-keyshortcuts"?: string | undefined;
|
|
104
104
|
"aria-label"?: string | undefined;
|
|
105
105
|
"aria-labelledby"?: string | undefined;
|
|
106
106
|
"aria-level"?: number | undefined;
|
|
107
107
|
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
108
|
-
"aria-modal"?: (boolean | "
|
|
109
|
-
"aria-multiline"?: (boolean | "
|
|
110
|
-
"aria-multiselectable"?: (boolean | "
|
|
108
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
109
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
110
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
111
111
|
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
112
112
|
"aria-owns"?: string | undefined;
|
|
113
113
|
"aria-placeholder"?: string | undefined;
|
|
114
114
|
"aria-posinset"?: number | undefined;
|
|
115
115
|
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
116
|
-
"aria-readonly"?: (boolean | "
|
|
116
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
117
117
|
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
118
|
-
"aria-required"?: (boolean | "
|
|
118
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
119
119
|
"aria-roledescription"?: string | undefined;
|
|
120
120
|
"aria-rowcount"?: number | undefined;
|
|
121
121
|
"aria-rowindex"?: number | undefined;
|
|
122
122
|
"aria-rowindextext"?: string | undefined;
|
|
123
123
|
"aria-rowspan"?: number | undefined;
|
|
124
|
-
"aria-selected"?: (boolean | "
|
|
124
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
125
125
|
"aria-setsize"?: number | undefined;
|
|
126
126
|
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
127
127
|
"aria-valuemax"?: number | undefined;
|
|
@@ -35,17 +35,17 @@ declare const useMenuItem: (index: number) => {
|
|
|
35
35
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
|
|
36
36
|
autoFocus?: boolean | undefined;
|
|
37
37
|
className?: string | undefined;
|
|
38
|
-
contentEditable?: (boolean | "
|
|
38
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
39
39
|
contextMenu?: string | undefined;
|
|
40
40
|
dir?: string | undefined;
|
|
41
|
-
draggable?: (boolean | "
|
|
41
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
42
42
|
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
43
43
|
hidden?: boolean | undefined;
|
|
44
44
|
id?: string | undefined;
|
|
45
45
|
lang?: string | undefined;
|
|
46
46
|
nonce?: string | undefined;
|
|
47
47
|
slot?: string | undefined;
|
|
48
|
-
spellCheck?: (boolean | "
|
|
48
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
49
49
|
style?: _$react.CSSProperties | undefined;
|
|
50
50
|
tabIndex: number;
|
|
51
51
|
title?: string | undefined;
|
|
@@ -83,11 +83,11 @@ declare const useMenuItem: (index: number) => {
|
|
|
83
83
|
exportparts?: string | undefined;
|
|
84
84
|
part?: string | undefined;
|
|
85
85
|
"aria-activedescendant"?: string | undefined;
|
|
86
|
-
"aria-atomic"?: (boolean | "
|
|
86
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
87
87
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
88
88
|
"aria-braillelabel"?: string | undefined;
|
|
89
89
|
"aria-brailleroledescription"?: string | undefined;
|
|
90
|
-
"aria-busy"?: (boolean | "
|
|
90
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
91
91
|
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
92
92
|
"aria-colcount"?: number | undefined;
|
|
93
93
|
"aria-colindex"?: number | undefined;
|
|
@@ -98,37 +98,37 @@ declare const useMenuItem: (index: number) => {
|
|
|
98
98
|
"aria-describedby"?: string | undefined;
|
|
99
99
|
"aria-description"?: string | undefined;
|
|
100
100
|
"aria-details"?: string | undefined;
|
|
101
|
-
"aria-disabled"?: (boolean | "
|
|
101
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
102
102
|
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
103
103
|
"aria-errormessage"?: string | undefined;
|
|
104
|
-
"aria-expanded"?: (boolean | "
|
|
104
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
105
105
|
"aria-flowto"?: string | undefined;
|
|
106
|
-
"aria-grabbed"?: (boolean | "
|
|
106
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
107
107
|
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
108
|
-
"aria-hidden"?: (boolean | "
|
|
108
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
109
109
|
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
110
110
|
"aria-keyshortcuts"?: string | undefined;
|
|
111
111
|
"aria-label"?: string | undefined;
|
|
112
112
|
"aria-labelledby"?: string | undefined;
|
|
113
113
|
"aria-level"?: number | undefined;
|
|
114
114
|
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
115
|
-
"aria-modal"?: (boolean | "
|
|
116
|
-
"aria-multiline"?: (boolean | "
|
|
117
|
-
"aria-multiselectable"?: (boolean | "
|
|
115
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
116
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
117
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
118
118
|
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
119
119
|
"aria-owns"?: string | undefined;
|
|
120
120
|
"aria-placeholder"?: string | undefined;
|
|
121
121
|
"aria-posinset"?: number | undefined;
|
|
122
122
|
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
123
|
-
"aria-readonly"?: (boolean | "
|
|
123
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
124
124
|
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
125
|
-
"aria-required"?: (boolean | "
|
|
125
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
126
126
|
"aria-roledescription"?: string | undefined;
|
|
127
127
|
"aria-rowcount"?: number | undefined;
|
|
128
128
|
"aria-rowindex"?: number | undefined;
|
|
129
129
|
"aria-rowindextext"?: string | undefined;
|
|
130
130
|
"aria-rowspan"?: number | undefined;
|
|
131
|
-
"aria-selected": boolean | "
|
|
131
|
+
"aria-selected": boolean | "true" | "false";
|
|
132
132
|
"aria-setsize"?: number | undefined;
|
|
133
133
|
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
134
134
|
"aria-valuemax"?: number | undefined;
|
package/dist/hooks/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { useDisclosure } from "./disclosure/index.mjs";
|
|
2
2
|
import { useTimeout } from "./timeout/index.mjs";
|
|
3
3
|
import { useClickAway } from "./click-away/index.mjs";
|
|
4
|
+
import { useClient } from "./client/index.mjs";
|
|
4
5
|
import { useControllableState } from "./controllable-state/index.mjs";
|
|
5
6
|
import { useDeferredDebounce } from "./deferred-debounce/index.mjs";
|
|
6
|
-
import { useClient } from "./client/index.mjs";
|
|
7
7
|
import { useClipboard } from "./clipboard/index.mjs";
|
|
8
8
|
import { useDebouncedTransition } from "./debounced-transition/index.mjs";
|
|
9
9
|
import { useHash } from "./hash/index.mjs";
|
package/dist/index.mjs
CHANGED
|
@@ -23,6 +23,7 @@ import { IconButton } from "./components/buttons/icon-button/icon-button.mjs";
|
|
|
23
23
|
import { Accordion } from "./components/data-display/accordion/index.mjs";
|
|
24
24
|
import { Avatar } from "./components/data-display/avatar/avatar.mjs";
|
|
25
25
|
import { Badge } from "./components/data-display/badge/badge.mjs";
|
|
26
|
+
import { useClient } from "./hooks/client/index.mjs";
|
|
26
27
|
import { BaselineStatus } from "./components/data-display/baseline-status/baseline-status.mjs";
|
|
27
28
|
import { Card } from "./components/data-display/card/card.mjs";
|
|
28
29
|
import { InteractiveCard } from "./components/data-display/card/interactive-card.mjs";
|
|
@@ -66,7 +67,6 @@ import { Modal } from "./components/overlays/modal/modal.mjs";
|
|
|
66
67
|
import { Drawer } from "./components/overlays/drawer/drawer.mjs";
|
|
67
68
|
import { DropdownMenu } from "./components/overlays/dropdown-menu/dropdown-menu.mjs";
|
|
68
69
|
import { ListBox } from "./components/overlays/list-box/list-box.mjs";
|
|
69
|
-
import { useClient } from "./hooks/client/index.mjs";
|
|
70
70
|
import { useClipboard } from "./hooks/clipboard/index.mjs";
|
|
71
71
|
import { useDebouncedTransition } from "./hooks/debounced-transition/index.mjs";
|
|
72
72
|
import { useHash } from "./hooks/hash/index.mjs";
|