@nextui-org/react 1.0.3-beta.5 → 1.0.6-beta.5

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 (89) hide show
  1. package/cjs/backdrop/backdrop.js +1 -1
  2. package/cjs/backdrop/backdrop.styles.js +1 -1
  3. package/cjs/button/button-group.styles.js +1 -1
  4. package/cjs/button/button-icon.js +1 -1
  5. package/cjs/button/button.js +1 -1
  6. package/cjs/button/button.styles.js +1 -1
  7. package/cjs/button/utils.js +1 -1
  8. package/cjs/css-baseline/css-baseline.js +1 -1
  9. package/cjs/index.js +1 -1
  10. package/cjs/input/input.js +1 -1
  11. package/cjs/loading/loading.js +1 -1
  12. package/cjs/loading/loading.styles.js +1 -1
  13. package/cjs/pagination/pagination.styles.js +1 -1
  14. package/cjs/progress/progress.styles.js +1 -1
  15. package/cjs/table/table-body.js +1 -1
  16. package/cjs/table/table-column-header.js +1 -1
  17. package/cjs/table/table-row.js +1 -1
  18. package/cjs/table/table.js +1 -1
  19. package/cjs/theme/common.js +1 -1
  20. package/cjs/theme/stitches.config.js +1 -1
  21. package/cjs/utils/dom.js +1 -1
  22. package/esm/backdrop/backdrop.js +1 -1
  23. package/esm/backdrop/backdrop.styles.js +1 -1
  24. package/esm/button/button-group.styles.js +1 -1
  25. package/esm/button/button-icon.js +1 -1
  26. package/esm/button/button.js +1 -1
  27. package/esm/button/button.styles.js +1 -1
  28. package/esm/button/utils.js +1 -1
  29. package/esm/css-baseline/css-baseline.js +1 -1
  30. package/esm/index.js +1 -1
  31. package/esm/input/input.js +1 -1
  32. package/esm/loading/loading.js +1 -1
  33. package/esm/loading/loading.styles.js +1 -1
  34. package/esm/pagination/pagination.styles.js +1 -1
  35. package/esm/progress/progress.styles.js +1 -1
  36. package/esm/table/table-body.js +1 -1
  37. package/esm/table/table-column-header.js +1 -1
  38. package/esm/table/table-row.js +1 -1
  39. package/esm/table/table.js +1 -1
  40. package/esm/theme/common.js +1 -1
  41. package/esm/theme/stitches.config.js +1 -1
  42. package/esm/utils/dom.js +1 -1
  43. package/package.json +6 -4
  44. package/types/avatar/avatar-group.styles.d.ts +2 -0
  45. package/types/avatar/avatar.styles.d.ts +1 -0
  46. package/types/backdrop/backdrop.styles.d.ts +6 -1
  47. package/types/button/button-group.styles.d.ts +1 -0
  48. package/types/button/button-icon.d.ts +2 -0
  49. package/types/button/button.d.ts +6 -5
  50. package/types/button/button.styles.d.ts +248 -300
  51. package/types/button/utils.d.ts +49 -0
  52. package/types/card/card.styles.d.ts +4 -0
  53. package/types/checkbox/checkbox.styles.d.ts +10 -0
  54. package/types/code/code.styles.d.ts +2 -0
  55. package/types/col/col.styles.d.ts +1 -0
  56. package/types/collapse/collapse.styles.d.ts +6 -0
  57. package/types/container/container.styles.d.ts +1 -0
  58. package/types/divider/divider.styles.d.ts +2 -0
  59. package/types/grid/grid.styles.d.ts +2 -0
  60. package/types/image/image.styles.d.ts +3 -0
  61. package/types/index.d.ts +2 -0
  62. package/types/input/input-password.d.ts +1 -1
  63. package/types/input/input.styles.d.ts +11 -0
  64. package/types/link/link.styles.d.ts +2 -0
  65. package/types/loading/loading.styles.d.ts +7 -1
  66. package/types/modal/modal.d.ts +2 -4
  67. package/types/modal/modal.styles.d.ts +6 -0
  68. package/types/pagination/pagination.styles.d.ts +6 -0
  69. package/types/progress/progress.styles.d.ts +2 -0
  70. package/types/radio/radio.styles.d.ts +6 -0
  71. package/types/row/row.styles.d.ts +1 -0
  72. package/types/snippet/snippet.styles.d.ts +4 -0
  73. package/types/spacer/spacer.styles.d.ts +1 -0
  74. package/types/switch/switch.styles.d.ts +4 -0
  75. package/types/table/table-column-header.d.ts +1 -0
  76. package/types/table/table-row.d.ts +0 -1
  77. package/types/table/table-sort-icon.d.ts +1 -0
  78. package/types/table/table.styles.d.ts +17 -0
  79. package/types/text/text.styles.d.ts +1 -0
  80. package/types/theme/common.d.ts +2 -0
  81. package/types/theme/stitches.config.d.ts +13 -0
  82. package/types/theme/types.d.ts +11 -14
  83. package/types/tooltip/tooltip.styles.d.ts +4 -0
  84. package/types/use-drip/use-drip.d.ts +2 -1
  85. package/types/user/user.styles.d.ts +5 -0
  86. package/types/utils/dom.d.ts +18 -0
  87. package/types/utils/drip.d.ts +1 -0
  88. package/umd/nextui.js +18284 -13284
  89. package/umd/nextui.min.js +1 -1
@@ -268,6 +268,7 @@ export declare const StyledSnippet: import("@stitches/react/types/styled-compone
268
268
  };
269
269
  transitions: {
270
270
  default: string;
271
+ button: string;
271
272
  };
272
273
  breakpoints: {
273
274
  xs: string;
@@ -1201,6 +1202,7 @@ export declare const StyledSnippetPre: import("@stitches/react/types/styled-comp
1201
1202
  };
1202
1203
  transitions: {
1203
1204
  default: string;
1205
+ button: string;
1204
1206
  };
1205
1207
  breakpoints: {
1206
1208
  xs: string;
@@ -2132,6 +2134,7 @@ export declare const StyledSnippetCopyButtonIcon: import("@stitches/react/types/
2132
2134
  };
2133
2135
  transitions: {
2134
2136
  default: string;
2137
+ button: string;
2135
2138
  };
2136
2139
  breakpoints: {
2137
2140
  xs: string;
@@ -3063,6 +3066,7 @@ export declare const StyledSnippetCopyButton: import("@stitches/react/types/styl
3063
3066
  };
3064
3067
  transitions: {
3065
3068
  default: string;
3069
+ button: string;
3066
3070
  };
3067
3071
  breakpoints: {
3068
3072
  xs: string;
@@ -265,6 +265,7 @@ export declare const StyledSpacer: import("@stitches/react/types/styled-componen
265
265
  };
266
266
  transitions: {
267
267
  default: string;
268
+ button: string;
268
269
  };
269
270
  breakpoints: {
270
271
  xs: string;
@@ -269,6 +269,7 @@ export declare const StyledSwitchContainer: import("@stitches/react/types/styled
269
269
  };
270
270
  transitions: {
271
271
  default: string;
272
+ button: string;
272
273
  };
273
274
  breakpoints: {
274
275
  xs: string;
@@ -1200,6 +1201,7 @@ export declare const StyledSwitchInput: import("@stitches/react/types/styled-com
1200
1201
  };
1201
1202
  transitions: {
1202
1203
  default: string;
1204
+ button: string;
1203
1205
  };
1204
1206
  breakpoints: {
1205
1207
  xs: string;
@@ -2131,6 +2133,7 @@ export declare const StyledSwitchCircle: import("@stitches/react/types/styled-co
2131
2133
  };
2132
2134
  transitions: {
2133
2135
  default: string;
2136
+ button: string;
2134
2137
  };
2135
2138
  breakpoints: {
2136
2139
  xs: string;
@@ -3069,6 +3072,7 @@ export declare const StyledSwitch: import("@stitches/react/types/styled-componen
3069
3072
  };
3070
3073
  transitions: {
3071
3074
  default: string;
3075
+ button: string;
3072
3076
  };
3073
3077
  breakpoints: {
3074
3078
  xs: string;
@@ -340,6 +340,7 @@ declare const TableColumnHeader: React.ForwardRefExoticComponent<Props<unknown>
340
340
  };
341
341
  transitions: {
342
342
  default: string;
343
+ button: string;
343
344
  };
344
345
  breakpoints: {
345
346
  xs: string;
@@ -5,7 +5,6 @@ import { TableState } from '@react-stately/table';
5
5
  interface Props<T> {
6
6
  item: GridNode<T>;
7
7
  state: TableState<T>;
8
- animated?: boolean;
9
8
  as?: keyof JSX.IntrinsicElements;
10
9
  }
11
10
  declare type NativeAttrs = Omit<React.HTMLAttributes<unknown>, keyof Props<any>>;
@@ -267,6 +267,7 @@ declare const StyledSortIcon: import("@stitches/react/types/styled-component").S
267
267
  };
268
268
  transitions: {
269
269
  default: string;
270
+ button: string;
270
271
  };
271
272
  breakpoints: {
272
273
  xs: string;
@@ -263,6 +263,7 @@ export declare const StyledTableHeaderRow: import("@stitches/react/types/styled-
263
263
  };
264
264
  transitions: {
265
265
  default: string;
266
+ button: string;
266
267
  };
267
268
  breakpoints: {
268
269
  xs: string;
@@ -1258,6 +1259,7 @@ export declare const StyledTableColumnHeader: import("@stitches/react/types/styl
1258
1259
  };
1259
1260
  transitions: {
1260
1261
  default: string;
1262
+ button: string;
1261
1263
  };
1262
1264
  breakpoints: {
1263
1265
  xs: string;
@@ -2188,6 +2190,7 @@ export declare const StyledTableColumnHeader: import("@stitches/react/types/styl
2188
2190
  };
2189
2191
  transitions: {
2190
2192
  default: string;
2193
+ button: string;
2191
2194
  };
2192
2195
  breakpoints: {
2193
2196
  xs: string;
@@ -3183,6 +3186,7 @@ export declare const StyledTableHeaderCell: import("@stitches/react/types/styled
3183
3186
  };
3184
3187
  transitions: {
3185
3188
  default: string;
3189
+ button: string;
3186
3190
  };
3187
3191
  breakpoints: {
3188
3192
  xs: string;
@@ -4113,6 +4117,7 @@ export declare const StyledTableHeaderCell: import("@stitches/react/types/styled
4113
4117
  };
4114
4118
  transitions: {
4115
4119
  default: string;
4120
+ button: string;
4116
4121
  };
4117
4122
  breakpoints: {
4118
4123
  xs: string;
@@ -5045,6 +5050,7 @@ export declare const StyledTableHeaderCell: import("@stitches/react/types/styled
5045
5050
  };
5046
5051
  transitions: {
5047
5052
  default: string;
5053
+ button: string;
5048
5054
  };
5049
5055
  breakpoints: {
5050
5056
  xs: string;
@@ -5978,6 +5984,7 @@ export declare const StyledTableFooter: import("@stitches/react/types/styled-com
5978
5984
  };
5979
5985
  transitions: {
5980
5986
  default: string;
5987
+ button: string;
5981
5988
  };
5982
5989
  breakpoints: {
5983
5990
  xs: string;
@@ -6909,6 +6916,7 @@ export declare const StyledBaseTableCell: import("@stitches/react/types/styled-c
6909
6916
  };
6910
6917
  transitions: {
6911
6918
  default: string;
6919
+ button: string;
6912
6920
  };
6913
6921
  breakpoints: {
6914
6922
  xs: string;
@@ -7840,6 +7848,7 @@ export declare const StyledTableCell: import("@stitches/react/types/styled-compo
7840
7848
  };
7841
7849
  transitions: {
7842
7850
  default: string;
7851
+ button: string;
7843
7852
  };
7844
7853
  breakpoints: {
7845
7854
  xs: string;
@@ -8810,6 +8819,7 @@ export declare const StyledTableCell: import("@stitches/react/types/styled-compo
8810
8819
  };
8811
8820
  transitions: {
8812
8821
  default: string;
8822
+ button: string;
8813
8823
  };
8814
8824
  breakpoints: {
8815
8825
  xs: string;
@@ -9740,6 +9750,7 @@ export declare const StyledTableCell: import("@stitches/react/types/styled-compo
9740
9750
  };
9741
9751
  transitions: {
9742
9752
  default: string;
9753
+ button: string;
9743
9754
  };
9744
9755
  breakpoints: {
9745
9756
  xs: string;
@@ -10694,6 +10705,7 @@ export declare const StyledTableRow: import("@stitches/react/types/styled-compon
10694
10705
  };
10695
10706
  transitions: {
10696
10707
  default: string;
10708
+ button: string;
10697
10709
  };
10698
10710
  breakpoints: {
10699
10711
  xs: string;
@@ -11624,6 +11636,7 @@ export declare const StyledTableRow: import("@stitches/react/types/styled-compon
11624
11636
  };
11625
11637
  transitions: {
11626
11638
  default: string;
11639
+ button: string;
11627
11640
  };
11628
11641
  breakpoints: {
11629
11642
  xs: string;
@@ -12558,6 +12571,7 @@ export declare const StyledTableRowGroup: import("@stitches/react/types/styled-c
12558
12571
  };
12559
12572
  transitions: {
12560
12573
  default: string;
12574
+ button: string;
12561
12575
  };
12562
12576
  breakpoints: {
12563
12577
  xs: string;
@@ -13492,6 +13506,7 @@ export declare const StyledTableLoadingRow: import("@stitches/react/types/styled
13492
13506
  };
13493
13507
  transitions: {
13494
13508
  default: string;
13509
+ button: string;
13495
13510
  };
13496
13511
  breakpoints: {
13497
13512
  xs: string;
@@ -14437,6 +14452,7 @@ export declare const StyledTable: import("@stitches/react/types/styled-component
14437
14452
  };
14438
14453
  transitions: {
14439
14454
  default: string;
14455
+ button: string;
14440
14456
  };
14441
14457
  breakpoints: {
14442
14458
  xs: string;
@@ -15372,6 +15388,7 @@ export declare const StyledTableContainer: import("@stitches/react/types/styled-
15372
15388
  };
15373
15389
  transitions: {
15374
15390
  default: string;
15391
+ button: string;
15375
15392
  };
15376
15393
  breakpoints: {
15377
15394
  xs: string;
@@ -265,6 +265,7 @@ export declare const StyledText: import("@stitches/react/types/styled-component"
265
265
  };
266
266
  transitions: {
267
267
  default: string;
268
+ button: string;
268
269
  };
269
270
  breakpoints: {
270
271
  xs: string;
@@ -110,6 +110,7 @@ export declare const defaultTokens: {
110
110
  };
111
111
  transitions: {
112
112
  default: string;
113
+ button: string;
113
114
  };
114
115
  breakpoints: {
115
116
  xs: string;
@@ -970,6 +971,7 @@ declare const _default: {
970
971
  };
971
972
  transitions: {
972
973
  default: string;
974
+ button: string;
973
975
  };
974
976
  breakpoints: {
975
977
  xs: string;
@@ -234,6 +234,7 @@ export declare const createThemeBase: <Argument0 extends string | ({
234
234
  } | undefined;
235
235
  transitions?: {
236
236
  default?: string | number | boolean | undefined;
237
+ button?: string | number | boolean | undefined;
237
238
  } | undefined;
238
239
  breakpoints?: {
239
240
  xs?: string | number | boolean | undefined;
@@ -479,6 +480,7 @@ export declare const createThemeBase: <Argument0 extends string | ({
479
480
  } | undefined;
480
481
  transitions?: {
481
482
  default?: string | number | boolean | undefined;
483
+ button?: string | number | boolean | undefined;
482
484
  } | undefined;
483
485
  breakpoints?: {
484
486
  xs?: string | number | boolean | undefined;
@@ -746,6 +748,7 @@ export declare const styled: <Type extends keyof JSX.IntrinsicElements | import(
746
748
  };
747
749
  transitions: {
748
750
  default: string;
751
+ button: string;
749
752
  };
750
753
  breakpoints: {
751
754
  xs: string;
@@ -1687,6 +1690,7 @@ export declare const styled: <Type extends keyof JSX.IntrinsicElements | import(
1687
1690
  };
1688
1691
  transitions: {
1689
1692
  default: string;
1693
+ button: string;
1690
1694
  };
1691
1695
  breakpoints: {
1692
1696
  xs: string;
@@ -2604,6 +2608,7 @@ export declare const css: <Composers extends (string | import("@stitches/react/t
2604
2608
  };
2605
2609
  transitions: {
2606
2610
  default: string;
2611
+ button: string;
2607
2612
  };
2608
2613
  breakpoints: {
2609
2614
  xs: string;
@@ -3552,6 +3557,7 @@ export declare const globalCss: <Styles extends {
3552
3557
  };
3553
3558
  transitions: {
3554
3559
  default: string;
3560
+ button: string;
3555
3561
  };
3556
3562
  breakpoints: {
3557
3563
  xs: string;
@@ -4467,6 +4473,7 @@ export declare const globalCss: <Styles extends {
4467
4473
  };
4468
4474
  transitions: {
4469
4475
  default: string;
4476
+ button: string;
4470
4477
  };
4471
4478
  breakpoints: {
4472
4479
  xs: string;
@@ -5383,6 +5390,7 @@ export declare const keyframes: (style: {
5383
5390
  };
5384
5391
  transitions: {
5385
5392
  default: string;
5393
+ button: string;
5386
5394
  };
5387
5395
  breakpoints: {
5388
5396
  xs: string;
@@ -6290,6 +6298,7 @@ export declare const theme: string & {
6290
6298
  };
6291
6299
  transitions: {
6292
6300
  default: import("@stitches/react/types/theme").Token<"default", string, "transitions", string>;
6301
+ button: import("@stitches/react/types/theme").Token<"button", string, "transitions", string>;
6293
6302
  };
6294
6303
  breakpoints: {
6295
6304
  xs: import("@stitches/react/types/theme").Token<"xs", string, "breakpoints", string>;
@@ -6550,6 +6559,7 @@ export declare const config: {
6550
6559
  };
6551
6560
  transitions: {
6552
6561
  default: string;
6562
+ button: string;
6553
6563
  };
6554
6564
  breakpoints: {
6555
6565
  xs: string;
@@ -7484,6 +7494,7 @@ export declare const sharedFocus: import("@stitches/react/types/styled-component
7484
7494
  };
7485
7495
  transitions: {
7486
7496
  default: string;
7497
+ button: string;
7487
7498
  };
7488
7499
  breakpoints: {
7489
7500
  xs: string;
@@ -8417,6 +8428,7 @@ export declare const cssFocusVisible: import("@stitches/react/types/styled-compo
8417
8428
  };
8418
8429
  transitions: {
8419
8430
  default: string;
8431
+ button: string;
8420
8432
  };
8421
8433
  breakpoints: {
8422
8434
  xs: string;
@@ -9348,6 +9360,7 @@ export declare const sharedVisuallyHidden: import("@stitches/react/types/styled-
9348
9360
  };
9349
9361
  transitions: {
9350
9362
  default: string;
9363
+ button: string;
9351
9364
  };
9352
9365
  breakpoints: {
9353
9366
  xs: string;
@@ -4,15 +4,6 @@ import commonTheme from './common';
4
4
  declare namespace ConfigType {
5
5
  /** Theme interface. */
6
6
  type Theme<T = {}> = {
7
- borderStyles?: {
8
- [token in number | string]: boolean | number | string;
9
- };
10
- borderWidths?: {
11
- [token in number | string]: boolean | number | string;
12
- };
13
- colors?: {
14
- [token in number | string]: boolean | number | string;
15
- };
16
7
  fonts?: {
17
8
  [token in number | string]: boolean | number | string;
18
9
  };
@@ -22,28 +13,34 @@ declare namespace ConfigType {
22
13
  fontWeights?: {
23
14
  [token in number | string]: boolean | number | string;
24
15
  };
16
+ lineHeights?: {
17
+ [token in number | string]: boolean | number | string;
18
+ };
25
19
  letterSpacings?: {
26
20
  [token in number | string]: boolean | number | string;
27
21
  };
28
- lineHeights?: {
22
+ space?: {
29
23
  [token in number | string]: boolean | number | string;
30
24
  };
31
25
  radii?: {
32
26
  [token in number | string]: boolean | number | string;
33
27
  };
34
- shadows?: {
28
+ zIndices?: {
35
29
  [token in number | string]: boolean | number | string;
36
30
  };
37
- sizes?: {
31
+ borderWeights?: {
38
32
  [token in number | string]: boolean | number | string;
39
33
  };
40
- space?: {
34
+ colors?: {
35
+ [token in number | string]: boolean | number | string;
36
+ };
37
+ shadows?: {
41
38
  [token in number | string]: boolean | number | string;
42
39
  };
43
40
  transitions?: {
44
41
  [token in number | string]: boolean | number | string;
45
42
  };
46
- zIndices?: {
43
+ breakpoints?: {
47
44
  [token in number | string]: boolean | number | string;
48
45
  };
49
46
  } & {
@@ -263,6 +263,7 @@ export declare const StyledTooltipTrigger: import("@stitches/react/types/styled-
263
263
  };
264
264
  transitions: {
265
265
  default: string;
266
+ button: string;
266
267
  };
267
268
  breakpoints: {
268
269
  xs: string;
@@ -1194,6 +1195,7 @@ export declare const StyledTooltipArrow: import("@stitches/react/types/styled-co
1194
1195
  };
1195
1196
  transitions: {
1196
1197
  default: string;
1198
+ button: string;
1197
1199
  };
1198
1200
  breakpoints: {
1199
1201
  xs: string;
@@ -2127,6 +2129,7 @@ export declare const StyledTooltip: import("@stitches/react/types/styled-compone
2127
2129
  };
2128
2130
  transitions: {
2129
2131
  default: string;
2132
+ button: string;
2130
2133
  };
2131
2134
  breakpoints: {
2132
2135
  xs: string;
@@ -3064,6 +3067,7 @@ export declare const StyledTooltipContent: import("@stitches/react/types/styled-
3064
3067
  };
3065
3068
  transitions: {
3066
3069
  default: string;
3070
+ button: string;
3067
3071
  };
3068
3072
  breakpoints: {
3069
3073
  xs: string;
@@ -1,9 +1,10 @@
1
+ import { PressEvent } from '@react-types/shared';
1
2
  import React from 'react';
2
3
  declare const useDrip: (initialValue: boolean | undefined, ref: React.RefObject<HTMLElement>) => {
3
4
  visible: boolean;
4
5
  x: number;
5
6
  y: number;
6
- onClick: (event: React.MouseEvent<HTMLElement>) => void;
7
+ onClick: (event: React.MouseEvent<HTMLElement> | PressEvent) => void;
7
8
  onCompleted: () => void;
8
9
  };
9
10
  export default useDrip;
@@ -262,6 +262,7 @@ export declare const StyledUser: import("@stitches/react/types/styled-component"
262
262
  };
263
263
  transitions: {
264
264
  default: string;
265
+ button: string;
265
266
  };
266
267
  breakpoints: {
267
268
  xs: string;
@@ -1193,6 +1194,7 @@ export declare const StyledUserInfo: import("@stitches/react/types/styled-compon
1193
1194
  };
1194
1195
  transitions: {
1195
1196
  default: string;
1197
+ button: string;
1196
1198
  };
1197
1199
  breakpoints: {
1198
1200
  xs: string;
@@ -2124,6 +2126,7 @@ export declare const StyledUserName: import("@stitches/react/types/styled-compon
2124
2126
  };
2125
2127
  transitions: {
2126
2128
  default: string;
2129
+ button: string;
2127
2130
  };
2128
2131
  breakpoints: {
2129
2132
  xs: string;
@@ -3055,6 +3058,7 @@ export declare const StyledUserDesc: import("@stitches/react/types/styled-compon
3055
3058
  };
3056
3059
  transitions: {
3057
3060
  default: string;
3061
+ button: string;
3058
3062
  };
3059
3063
  breakpoints: {
3060
3064
  xs: string;
@@ -3986,6 +3990,7 @@ export declare const StyledUserLink: import("@stitches/react/types/styled-compon
3986
3990
  };
3987
3991
  transitions: {
3988
3992
  default: string;
3993
+ button: string;
3989
3994
  };
3990
3995
  breakpoints: {
3991
3996
  xs: string;
@@ -0,0 +1,18 @@
1
+ import { DOMRef, DOMRefValue, FocusableRef, FocusableRefValue } from '@react-types/shared';
2
+ import { RefObject } from 'react';
3
+ export declare function canUseDOM(): boolean;
4
+ export declare const isBrowser: boolean;
5
+ declare function getUserAgentBrowser(navigator: Navigator): "Chrome for iOS" | "Edge" | "Silk" | "Chrome" | "Firefox" | "AOSP" | "IE" | "Safari" | "WebKit" | null;
6
+ export declare type UserAgentBrowser = NonNullable<ReturnType<typeof getUserAgentBrowser>>;
7
+ declare function getUserAgentOS(navigator: Navigator): "Android" | "iOS" | "Windows" | "Mac" | "Chrome OS" | "Firefox OS" | null;
8
+ export declare type UserAgentOS = NonNullable<ReturnType<typeof getUserAgentOS>>;
9
+ export declare function detectDeviceType(navigator: Navigator): "tablet" | "phone" | "desktop";
10
+ export declare type UserAgentDeviceType = NonNullable<ReturnType<typeof detectDeviceType>>;
11
+ export declare function detectOS(os: UserAgentOS): boolean;
12
+ export declare function detectBrowser(browser: UserAgentBrowser): boolean;
13
+ export declare function detectTouch(): boolean;
14
+ export declare function createDOMRef<T extends HTMLElement = HTMLElement>(ref: RefObject<T>): DOMRefValue<T>;
15
+ export declare function createFocusableRef<T extends HTMLElement = HTMLElement>(domRef: RefObject<T>, focusableRef?: RefObject<HTMLElement>): FocusableRefValue<T>;
16
+ export declare function useDOMRef<T extends HTMLElement = HTMLElement>(ref: DOMRef<T>): RefObject<T>;
17
+ export declare function useFocusableRef<T extends HTMLElement = HTMLElement>(ref: FocusableRef<T>, focusableRef?: RefObject<HTMLElement>): RefObject<T>;
18
+ export {};
@@ -278,6 +278,7 @@ export declare const StyledDrip: import("@stitches/react/types/styled-component"
278
278
  };
279
279
  transitions: {
280
280
  default: string;
281
+ button: string;
281
282
  };
282
283
  breakpoints: {
283
284
  xs: string;