@jamsrui/clipboard 0.0.6 → 0.0.7

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/styles.d.mts CHANGED
@@ -6,16 +6,16 @@ declare const test = "";
6
6
  declare const copyToClipboardVariants: tailwind_variants.TVReturnType<{
7
7
  [key: string]: {
8
8
  [key: string]: _jamsrui_utils.ClassValue | {
9
- root?: _jamsrui_utils.ClassValue;
10
9
  button?: _jamsrui_utils.ClassValue;
10
+ root?: _jamsrui_utils.ClassValue;
11
11
  icon?: _jamsrui_utils.ClassValue;
12
12
  };
13
13
  };
14
14
  } | {
15
15
  [x: string]: {
16
16
  [x: string]: _jamsrui_utils.ClassValue | {
17
- root?: _jamsrui_utils.ClassValue;
18
17
  button?: _jamsrui_utils.ClassValue;
18
+ root?: _jamsrui_utils.ClassValue;
19
19
  icon?: _jamsrui_utils.ClassValue;
20
20
  };
21
21
  };
@@ -26,8 +26,8 @@ declare const copyToClipboardVariants: tailwind_variants.TVReturnType<{
26
26
  }, undefined, {
27
27
  [key: string]: {
28
28
  [key: string]: _jamsrui_utils.ClassValue | {
29
- root?: _jamsrui_utils.ClassValue;
30
29
  button?: _jamsrui_utils.ClassValue;
30
+ root?: _jamsrui_utils.ClassValue;
31
31
  icon?: _jamsrui_utils.ClassValue;
32
32
  };
33
33
  };
@@ -12,24 +12,60 @@ declare const useClipboard: (props: useClipboard.Props) => {
12
12
  "data-slot": string | undefined;
13
13
  "data-component": string | undefined;
14
14
  className: string;
15
- onChange?: react.FormEventHandler<HTMLLabelElement> | undefined;
16
15
  form?: string | undefined | undefined;
17
16
  style?: react.CSSProperties | undefined;
18
17
  title?: string | undefined | undefined;
19
18
  ref?: react.Ref<HTMLLabelElement> | undefined;
20
- onPointerDown?: react.PointerEventHandler<HTMLLabelElement> | undefined;
21
- "aria-disabled"?: (boolean | "true" | "false") | undefined;
22
- content?: string | undefined | undefined;
23
- translate?: "yes" | "no" | undefined | undefined;
24
- prefix?: string | undefined | undefined;
25
19
  key?: react.Key | null | undefined;
26
- children?: react.ReactNode;
27
- hidden?: boolean | undefined | undefined;
20
+ htmlFor?: string | undefined | undefined;
21
+ suppressContentEditableWarning?: boolean | undefined | undefined;
28
22
  suppressHydrationWarning?: boolean | undefined | undefined;
23
+ accessKey?: string | undefined | undefined;
24
+ autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
25
+ autoFocus?: boolean | undefined | undefined;
26
+ contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
27
+ contextMenu?: string | undefined | undefined;
28
+ dir?: string | undefined | undefined;
29
+ draggable?: (boolean | "true" | "false") | undefined;
30
+ enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
31
+ hidden?: boolean | undefined | undefined;
29
32
  id?: string | undefined | undefined;
30
33
  lang?: string | undefined | undefined;
31
- role?: react.AriaRole | undefined;
34
+ nonce?: string | undefined | undefined;
35
+ spellCheck?: (boolean | "true" | "false") | undefined;
32
36
  tabIndex?: number | undefined | undefined;
37
+ translate?: "yes" | "no" | undefined | undefined;
38
+ radioGroup?: string | undefined | undefined;
39
+ role?: react.AriaRole | undefined;
40
+ about?: string | undefined | undefined;
41
+ content?: string | undefined | undefined;
42
+ datatype?: string | undefined | undefined;
43
+ inlist?: any;
44
+ prefix?: string | undefined | undefined;
45
+ property?: string | undefined | undefined;
46
+ rel?: string | undefined | undefined;
47
+ resource?: string | undefined | undefined;
48
+ rev?: string | undefined | undefined;
49
+ typeof?: string | undefined | undefined;
50
+ vocab?: string | undefined | undefined;
51
+ autoCorrect?: string | undefined | undefined;
52
+ autoSave?: string | undefined | undefined;
53
+ itemProp?: string | undefined | undefined;
54
+ itemScope?: boolean | undefined | undefined;
55
+ itemType?: string | undefined | undefined;
56
+ itemID?: string | undefined | undefined;
57
+ itemRef?: string | undefined | undefined;
58
+ results?: number | undefined | undefined;
59
+ security?: string | undefined | undefined;
60
+ unselectable?: "on" | "off" | undefined | undefined;
61
+ popover?: "" | "auto" | "manual" | undefined | undefined;
62
+ popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
63
+ popoverTarget?: string | undefined | undefined;
64
+ inert?: boolean | undefined | undefined;
65
+ inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
66
+ is?: string | undefined | undefined;
67
+ exportparts?: string | undefined | undefined;
68
+ part?: string | undefined | undefined;
33
69
  "aria-activedescendant"?: string | undefined | undefined;
34
70
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
35
71
  "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
@@ -46,6 +82,7 @@ declare const useClipboard: (props: useClipboard.Props) => {
46
82
  "aria-describedby"?: string | undefined | undefined;
47
83
  "aria-description"?: string | undefined | undefined;
48
84
  "aria-details"?: string | undefined | undefined;
85
+ "aria-disabled"?: (boolean | "true" | "false") | undefined;
49
86
  "aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
50
87
  "aria-errormessage"?: string | undefined | undefined;
51
88
  "aria-expanded"?: (boolean | "true" | "false") | undefined;
@@ -82,6 +119,7 @@ declare const useClipboard: (props: useClipboard.Props) => {
82
119
  "aria-valuemin"?: number | undefined | undefined;
83
120
  "aria-valuenow"?: number | undefined | undefined;
84
121
  "aria-valuetext"?: string | undefined | undefined;
122
+ children?: react.ReactNode;
85
123
  dangerouslySetInnerHTML?: {
86
124
  __html: string | TrustedHTML;
87
125
  } | undefined | undefined;
@@ -101,6 +139,7 @@ declare const useClipboard: (props: useClipboard.Props) => {
101
139
  onFocusCapture?: react.FocusEventHandler<HTMLLabelElement> | undefined;
102
140
  onBlur?: react.FocusEventHandler<HTMLLabelElement> | undefined;
103
141
  onBlurCapture?: react.FocusEventHandler<HTMLLabelElement> | undefined;
142
+ onChange?: react.FormEventHandler<HTMLLabelElement> | undefined;
104
143
  onChangeCapture?: react.FormEventHandler<HTMLLabelElement> | undefined;
105
144
  onBeforeInput?: react.FormEventHandler<HTMLLabelElement> | undefined;
106
145
  onBeforeInputCapture?: react.FormEventHandler<HTMLLabelElement> | undefined;
@@ -213,6 +252,7 @@ declare const useClipboard: (props: useClipboard.Props) => {
213
252
  onTouchMoveCapture?: react.TouchEventHandler<HTMLLabelElement> | undefined;
214
253
  onTouchStart?: react.TouchEventHandler<HTMLLabelElement> | undefined;
215
254
  onTouchStartCapture?: react.TouchEventHandler<HTMLLabelElement> | undefined;
255
+ onPointerDown?: react.PointerEventHandler<HTMLLabelElement> | undefined;
216
256
  onPointerDownCapture?: react.PointerEventHandler<HTMLLabelElement> | undefined;
217
257
  onPointerMove?: react.PointerEventHandler<HTMLLabelElement> | undefined;
218
258
  onPointerMoveCapture?: react.PointerEventHandler<HTMLLabelElement> | undefined;
@@ -252,46 +292,6 @@ declare const useClipboard: (props: useClipboard.Props) => {
252
292
  onTransitionRunCapture?: react.TransitionEventHandler<HTMLLabelElement> | undefined;
253
293
  onTransitionStart?: react.TransitionEventHandler<HTMLLabelElement> | undefined;
254
294
  onTransitionStartCapture?: react.TransitionEventHandler<HTMLLabelElement> | undefined;
255
- suppressContentEditableWarning?: boolean | undefined | undefined;
256
- accessKey?: string | undefined | undefined;
257
- autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
258
- autoFocus?: boolean | undefined | undefined;
259
- contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
260
- contextMenu?: string | undefined | undefined;
261
- dir?: string | undefined | undefined;
262
- draggable?: (boolean | "true" | "false") | undefined;
263
- enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
264
- nonce?: string | undefined | undefined;
265
- spellCheck?: (boolean | "true" | "false") | undefined;
266
- radioGroup?: string | undefined | undefined;
267
- about?: string | undefined | undefined;
268
- datatype?: string | undefined | undefined;
269
- inlist?: any;
270
- property?: string | undefined | undefined;
271
- rel?: string | undefined | undefined;
272
- resource?: string | undefined | undefined;
273
- rev?: string | undefined | undefined;
274
- typeof?: string | undefined | undefined;
275
- vocab?: string | undefined | undefined;
276
- autoCorrect?: string | undefined | undefined;
277
- autoSave?: string | undefined | undefined;
278
- itemProp?: string | undefined | undefined;
279
- itemScope?: boolean | undefined | undefined;
280
- itemType?: string | undefined | undefined;
281
- itemID?: string | undefined | undefined;
282
- itemRef?: string | undefined | undefined;
283
- results?: number | undefined | undefined;
284
- security?: string | undefined | undefined;
285
- unselectable?: "on" | "off" | undefined | undefined;
286
- popover?: "" | "auto" | "manual" | undefined | undefined;
287
- popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
288
- popoverTarget?: string | undefined | undefined;
289
- inert?: boolean | undefined | undefined;
290
- inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
291
- is?: string | undefined | undefined;
292
- exportparts?: string | undefined | undefined;
293
- part?: string | undefined | undefined;
294
- htmlFor?: string | undefined | undefined;
295
295
  render?: React.ReactElement;
296
296
  };
297
297
  getButtonProps: PropGetter<ClipboardButton.Props>;
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@jamsrui/clipboard",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "peerDependencies": {
5
5
  "react": ">=19"
6
6
  },
7
7
  "dependencies": {
8
- "@jamsrui/icons": "^0.0.6",
9
- "@jamsrui/core": "^0.0.6",
10
- "@jamsrui/hooks": "^0.0.6",
11
- "@jamsrui/utils": "^0.0.6"
8
+ "@jamsrui/hooks": "^0.0.7",
9
+ "@jamsrui/core": "^0.0.7",
10
+ "@jamsrui/icons": "^0.0.7",
11
+ "@jamsrui/utils": "^0.0.7"
12
12
  },
13
13
  "exports": {
14
14
  ".": {