@vygruppen/spor-react 10.3.0 → 10.4.0
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/.turbo/turbo-build.log +9 -9
- package/CHANGELOG.md +12 -0
- package/dist/{CountryCodeSelect-KCPHU7A7.mjs → CountryCodeSelect-XMQTDWRD.mjs} +2 -1
- package/dist/{chunk-5HRYDWQ5.mjs → chunk-T4CLCBB5.mjs} +184 -93
- package/dist/index.d.mts +577 -107
- package/dist/index.d.ts +577 -107
- package/dist/index.js +199 -102
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/input/Combobox.tsx +4 -0
- package/src/input/CountryCodeSelect.tsx +2 -0
- package/src/input/InfoSelect.tsx +5 -3
- package/src/input/ListBox.tsx +4 -1
- package/src/input/PhoneNumberInput.tsx +5 -0
- package/src/input/Switch.tsx +4 -2
- package/src/input/Textarea.tsx +1 -2
- package/src/theme/components/card-select.ts +1 -1
- package/src/theme/components/info-select.ts +1 -0
- package/src/theme/components/input.ts +4 -83
- package/src/theme/components/listbox.ts +16 -2
- package/src/theme/components/select.ts +18 -3
- package/src/theme/components/textarea.ts +13 -2
- package/src/theme/utils/focus-utils.ts +2 -2
- package/src/theme/utils/input-utils.ts +119 -0
- package/src/theme/utils/types.ts +2 -0
package/dist/index.d.mts
CHANGED
@@ -903,6 +903,7 @@ type ComboboxProps<T> = AriaComboBoxProps<T> & {
|
|
903
903
|
inputRef?: React.RefObject<HTMLInputElement>;
|
904
904
|
/** If you want to allow an empty collection */
|
905
905
|
allowsEmptyCollection?: boolean;
|
906
|
+
variant?: "base" | "floating";
|
906
907
|
} & OverridableInputProps;
|
907
908
|
/**
|
908
909
|
* A combobox is a combination of an input and a list of suggestions.
|
@@ -927,7 +928,7 @@ type ComboboxProps<T> = AriaComboBoxProps<T> & {
|
|
927
928
|
* </Combobox>
|
928
929
|
* ```
|
929
930
|
*/
|
930
|
-
declare function Combobox<T extends object>({ label, isLoading, leftIcon, rightIcon, borderBottomLeftRadius, borderBottomRightRadius, borderTopLeftRadius, borderTopRightRadius, marginBottom, marginTop, marginX, marginY, marginRight, marginLeft, paddingBottom, paddingRight, paddingTop, paddingLeft, paddingX, paddingY, emptyContent, inputRef: externalInputRef, allowsEmptyCollection, ...rest }: ComboboxProps<T>): React.JSX.Element;
|
931
|
+
declare function Combobox<T extends object>({ label, isLoading, leftIcon, rightIcon, borderBottomLeftRadius, borderBottomRightRadius, borderTopLeftRadius, borderTopRightRadius, marginBottom, marginTop, marginX, marginY, marginRight, marginLeft, paddingBottom, paddingRight, paddingTop, paddingLeft, paddingX, paddingY, emptyContent, inputRef: externalInputRef, allowsEmptyCollection, variant, ...rest }: ComboboxProps<T>): React.JSX.Element;
|
931
932
|
|
932
933
|
type FormControlProps = FormControlProps$1;
|
933
934
|
declare const FormControl: _chakra_ui_system_dist_system_types.ComponentWithAs<"div", FormControlProps$1>;
|
@@ -1177,6 +1178,7 @@ type ListBoxProps<T> = AriaListBoxProps<T> & Omit<BoxProps, "filter" | "autoFocu
|
|
1177
1178
|
/** UI to render if the collection is empty */
|
1178
1179
|
emptyContent?: React.ReactNode;
|
1179
1180
|
maxWidth?: BoxProps["maxWidth"];
|
1181
|
+
variant?: "base" | "floating";
|
1180
1182
|
};
|
1181
1183
|
/**
|
1182
1184
|
* A component that renders a list box with selectable options.
|
@@ -1212,7 +1214,7 @@ type ListBoxProps<T> = AriaListBoxProps<T> & Omit<BoxProps, "filter" | "autoFocu
|
|
1212
1214
|
* );
|
1213
1215
|
* ```
|
1214
1216
|
*/
|
1215
|
-
declare function ListBox<T extends object>({ isLoading, listBoxRef, state, maxWidth, ...props }: ListBoxProps<T>): React.JSX.Element;
|
1217
|
+
declare function ListBox<T extends object>({ isLoading, listBoxRef, state, maxWidth, variant, ...props }: ListBoxProps<T>): React.JSX.Element;
|
1216
1218
|
/**
|
1217
1219
|
* Renders a label for a listbox item.
|
1218
1220
|
*
|
@@ -1321,6 +1323,7 @@ type PhoneNumberInputProps = Omit<BoxProps, "onChange"> & {
|
|
1321
1323
|
onChange?: (change: CountryCodeAndPhoneNumber) => void;
|
1322
1324
|
/** The optional value of the country code and phone number */
|
1323
1325
|
value?: CountryCodeAndPhoneNumber;
|
1326
|
+
variant?: "base" | "floating";
|
1324
1327
|
};
|
1325
1328
|
/**
|
1326
1329
|
* A component for entering phone numbers.
|
@@ -1404,6 +1407,7 @@ declare const SearchInput: _chakra_ui_system_dist_system_types.ComponentWithAs<"
|
|
1404
1407
|
|
1405
1408
|
type SwitchProps = Omit<SwitchProps$1, "colorScheme" | "variant"> & {
|
1406
1409
|
size?: "sm" | "md" | "lg";
|
1410
|
+
as?: As;
|
1407
1411
|
};
|
1408
1412
|
/**
|
1409
1413
|
* A switch lets you toggle between on and off, yes and no. It's an alternative to a checkbox.
|
@@ -1428,7 +1432,7 @@ type SwitchProps = Omit<SwitchProps$1, "colorScheme" | "variant"> & {
|
|
1428
1432
|
*/
|
1429
1433
|
declare const Switch: _chakra_ui_system_dist_system_types.ComponentWithAs<"input", SwitchProps>;
|
1430
1434
|
|
1431
|
-
type TextareaProps = Exclude<TextareaProps$1, "
|
1435
|
+
type TextareaProps = Exclude<TextareaProps$1, "size"> & {
|
1432
1436
|
label?: string;
|
1433
1437
|
};
|
1434
1438
|
/**
|
@@ -4064,6 +4068,7 @@ declare const theme: {
|
|
4064
4068
|
width?: string | undefined;
|
4065
4069
|
whiteSpace?: string | undefined;
|
4066
4070
|
fontSize: ("mobile.xs" | "desktop.sm")[];
|
4071
|
+
marginTop: number;
|
4067
4072
|
};
|
4068
4073
|
innerButton: {
|
4069
4074
|
display: string;
|
@@ -4355,26 +4360,6 @@ declare const theme: {
|
|
4355
4360
|
paddingX: number;
|
4356
4361
|
height: number;
|
4357
4362
|
fontSize: string;
|
4358
|
-
_hover: {
|
4359
|
-
outlineWidth: string;
|
4360
|
-
outlineColor: string;
|
4361
|
-
outlineStyle: string;
|
4362
|
-
outlineOffset: string;
|
4363
|
-
} | {
|
4364
|
-
outline: string;
|
4365
|
-
outlineColor: string;
|
4366
|
-
};
|
4367
|
-
_active: {
|
4368
|
-
outlineWidth: string;
|
4369
|
-
outlineColor: string;
|
4370
|
-
outlineStyle: string;
|
4371
|
-
outlineOffset: string;
|
4372
|
-
backgroundColor: string;
|
4373
|
-
} | {
|
4374
|
-
outline: string;
|
4375
|
-
outlineColor: string;
|
4376
|
-
backgroundColor: string;
|
4377
|
-
};
|
4378
4363
|
_focusVisible: {
|
4379
4364
|
outlineOffset: number;
|
4380
4365
|
outlineWidth: string;
|
@@ -4422,7 +4407,7 @@ declare const theme: {
|
|
4422
4407
|
outlineColor: string;
|
4423
4408
|
};
|
4424
4409
|
" + label": {
|
4425
|
-
fontSize:
|
4410
|
+
fontSize: string[];
|
4426
4411
|
top: string;
|
4427
4412
|
left: any;
|
4428
4413
|
zIndex: number;
|
@@ -4456,19 +4441,173 @@ declare const theme: {
|
|
4456
4441
|
variants?: {
|
4457
4442
|
base: (props: _chakra_ui_styled_system.StyleFunctionProps) => {
|
4458
4443
|
field: {
|
4444
|
+
_hover: {
|
4445
|
+
outlineWidth: string;
|
4446
|
+
outlineColor: string;
|
4447
|
+
outlineStyle: string;
|
4448
|
+
outlineOffset: string;
|
4449
|
+
} | {
|
4450
|
+
outline: string;
|
4451
|
+
outlineColor: string;
|
4452
|
+
};
|
4453
|
+
_active: {
|
4454
|
+
outlineWidth: string;
|
4455
|
+
outlineColor: string;
|
4456
|
+
outlineStyle: string;
|
4457
|
+
outlineOffset: string;
|
4458
|
+
backgroundColor: string;
|
4459
|
+
} | {
|
4460
|
+
outline: string;
|
4461
|
+
outlineColor: string;
|
4462
|
+
backgroundColor: string;
|
4463
|
+
};
|
4464
|
+
_selected: {
|
4465
|
+
outlineWidth: string;
|
4466
|
+
outlineColor: string;
|
4467
|
+
outlineStyle: string;
|
4468
|
+
outlineOffset: string;
|
4469
|
+
backgroundColor: string;
|
4470
|
+
} | {
|
4471
|
+
outline: string;
|
4472
|
+
outlineColor: string;
|
4473
|
+
backgroundColor: string;
|
4474
|
+
};
|
4459
4475
|
outlineWidth: string;
|
4460
4476
|
outlineColor: string;
|
4461
4477
|
outlineStyle: string;
|
4462
4478
|
outlineOffset: string;
|
4463
4479
|
backgroundColor: string;
|
4464
4480
|
} | {
|
4481
|
+
_hover: {
|
4482
|
+
outlineWidth: string;
|
4483
|
+
outlineColor: string;
|
4484
|
+
outlineStyle: string;
|
4485
|
+
outlineOffset: string;
|
4486
|
+
} | {
|
4487
|
+
outline: string;
|
4488
|
+
outlineColor: string;
|
4489
|
+
};
|
4490
|
+
_active: {
|
4491
|
+
outlineWidth: string;
|
4492
|
+
outlineColor: string;
|
4493
|
+
outlineStyle: string;
|
4494
|
+
outlineOffset: string;
|
4495
|
+
backgroundColor: string;
|
4496
|
+
} | {
|
4497
|
+
outline: string;
|
4498
|
+
outlineColor: string;
|
4499
|
+
backgroundColor: string;
|
4500
|
+
};
|
4501
|
+
_selected: {
|
4502
|
+
outlineWidth: string;
|
4503
|
+
outlineColor: string;
|
4504
|
+
outlineStyle: string;
|
4505
|
+
outlineOffset: string;
|
4506
|
+
backgroundColor: string;
|
4507
|
+
} | {
|
4508
|
+
outline: string;
|
4509
|
+
outlineColor: string;
|
4510
|
+
backgroundColor: string;
|
4511
|
+
};
|
4512
|
+
outline: string;
|
4513
|
+
outlineColor: string;
|
4514
|
+
backgroundColor: string;
|
4515
|
+
} | {
|
4516
|
+
_hover: {
|
4517
|
+
backgroundColor: string;
|
4518
|
+
outline: string;
|
4519
|
+
outlineColor: string;
|
4520
|
+
};
|
4521
|
+
_active: {
|
4522
|
+
backgroundColor: string;
|
4523
|
+
outline: string;
|
4524
|
+
outlineColor: string;
|
4525
|
+
};
|
4526
|
+
_selected: {
|
4527
|
+
backgroundColor: string;
|
4528
|
+
outline: string;
|
4529
|
+
outlineColor: string;
|
4530
|
+
};
|
4465
4531
|
outline: string;
|
4466
4532
|
outlineColor: string;
|
4467
4533
|
backgroundColor: string;
|
4534
|
+
boxShadow: string;
|
4468
4535
|
};
|
4469
4536
|
};
|
4470
4537
|
floating: (props: _chakra_ui_styled_system.StyleFunctionProps) => {
|
4471
4538
|
field: {
|
4539
|
+
_hover: {
|
4540
|
+
outlineWidth: string;
|
4541
|
+
outlineColor: string;
|
4542
|
+
outlineStyle: string;
|
4543
|
+
outlineOffset: string;
|
4544
|
+
} | {
|
4545
|
+
outline: string;
|
4546
|
+
outlineColor: string;
|
4547
|
+
};
|
4548
|
+
_active: {
|
4549
|
+
outlineWidth: string;
|
4550
|
+
outlineColor: string;
|
4551
|
+
outlineStyle: string;
|
4552
|
+
outlineOffset: string;
|
4553
|
+
backgroundColor: string;
|
4554
|
+
} | {
|
4555
|
+
outline: string;
|
4556
|
+
outlineColor: string;
|
4557
|
+
backgroundColor: string;
|
4558
|
+
};
|
4559
|
+
_selected: {
|
4560
|
+
outlineWidth: string;
|
4561
|
+
outlineColor: string;
|
4562
|
+
outlineStyle: string;
|
4563
|
+
outlineOffset: string;
|
4564
|
+
backgroundColor: string;
|
4565
|
+
} | {
|
4566
|
+
outline: string;
|
4567
|
+
outlineColor: string;
|
4568
|
+
backgroundColor: string;
|
4569
|
+
};
|
4570
|
+
outlineWidth: string;
|
4571
|
+
outlineColor: string;
|
4572
|
+
outlineStyle: string;
|
4573
|
+
outlineOffset: string;
|
4574
|
+
backgroundColor: string;
|
4575
|
+
} | {
|
4576
|
+
_hover: {
|
4577
|
+
outlineWidth: string;
|
4578
|
+
outlineColor: string;
|
4579
|
+
outlineStyle: string;
|
4580
|
+
outlineOffset: string;
|
4581
|
+
} | {
|
4582
|
+
outline: string;
|
4583
|
+
outlineColor: string;
|
4584
|
+
};
|
4585
|
+
_active: {
|
4586
|
+
outlineWidth: string;
|
4587
|
+
outlineColor: string;
|
4588
|
+
outlineStyle: string;
|
4589
|
+
outlineOffset: string;
|
4590
|
+
backgroundColor: string;
|
4591
|
+
} | {
|
4592
|
+
outline: string;
|
4593
|
+
outlineColor: string;
|
4594
|
+
backgroundColor: string;
|
4595
|
+
};
|
4596
|
+
_selected: {
|
4597
|
+
outlineWidth: string;
|
4598
|
+
outlineColor: string;
|
4599
|
+
outlineStyle: string;
|
4600
|
+
outlineOffset: string;
|
4601
|
+
backgroundColor: string;
|
4602
|
+
} | {
|
4603
|
+
outline: string;
|
4604
|
+
outlineColor: string;
|
4605
|
+
backgroundColor: string;
|
4606
|
+
};
|
4607
|
+
outline: string;
|
4608
|
+
outlineColor: string;
|
4609
|
+
backgroundColor: string;
|
4610
|
+
} | {
|
4472
4611
|
_hover: {
|
4473
4612
|
backgroundColor: string;
|
4474
4613
|
outline: string;
|
@@ -4733,20 +4872,6 @@ declare const theme: {
|
|
4733
4872
|
ListBox: {
|
4734
4873
|
baseStyle?: ((props: _chakra_ui_styled_system.StyleFunctionProps) => {
|
4735
4874
|
container: {
|
4736
|
-
outlineWidth: string;
|
4737
|
-
outlineColor: string;
|
4738
|
-
outlineStyle: string;
|
4739
|
-
outlineOffset: string;
|
4740
|
-
boxShadow: string;
|
4741
|
-
overflowY: string;
|
4742
|
-
maxHeight: string;
|
4743
|
-
width: string;
|
4744
|
-
listStyle: string;
|
4745
|
-
borderBottomRadius: string;
|
4746
|
-
backgroundColor: string;
|
4747
|
-
} | {
|
4748
|
-
outline: string;
|
4749
|
-
outlineColor: string;
|
4750
4875
|
boxShadow: string;
|
4751
4876
|
overflowY: string;
|
4752
4877
|
maxHeight: string;
|
@@ -4792,13 +4917,27 @@ declare const theme: {
|
|
4792
4917
|
}>;
|
4793
4918
|
} | undefined;
|
4794
4919
|
variants?: {
|
4795
|
-
|
4796
|
-
|
4797
|
-
|
4920
|
+
base: (props: _chakra_ui_styled_system.StyleFunctionProps) => {
|
4921
|
+
container: {
|
4922
|
+
outlineWidth: string;
|
4923
|
+
outlineColor: string;
|
4924
|
+
outlineStyle: string;
|
4925
|
+
outlineOffset: string;
|
4926
|
+
} | {
|
4927
|
+
outline: string;
|
4928
|
+
outlineColor: string;
|
4929
|
+
};
|
4930
|
+
};
|
4931
|
+
floating: (props: _chakra_ui_styled_system.StyleFunctionProps) => {
|
4932
|
+
container: {
|
4933
|
+
outline: string;
|
4934
|
+
outlineColor: string;
|
4935
|
+
};
|
4936
|
+
};
|
4798
4937
|
} | undefined;
|
4799
4938
|
defaultProps?: {
|
4800
4939
|
size?: string | number | undefined;
|
4801
|
-
variant?:
|
4940
|
+
variant?: "base" | "floating" | undefined;
|
4802
4941
|
colorScheme?: string | undefined;
|
4803
4942
|
} | undefined;
|
4804
4943
|
parts: ("label" | "container" | "description" | "item")[];
|
@@ -5589,7 +5728,6 @@ declare const theme: {
|
|
5589
5728
|
field: {
|
5590
5729
|
appearance: string;
|
5591
5730
|
paddingTop: string;
|
5592
|
-
"option, optgroup": {};
|
5593
5731
|
width: string;
|
5594
5732
|
outline: string;
|
5595
5733
|
border: number;
|
@@ -5600,26 +5738,6 @@ declare const theme: {
|
|
5600
5738
|
paddingX: number;
|
5601
5739
|
height: number;
|
5602
5740
|
fontSize: string;
|
5603
|
-
_hover: {
|
5604
|
-
outlineWidth: string;
|
5605
|
-
outlineColor: string;
|
5606
|
-
outlineStyle: string;
|
5607
|
-
outlineOffset: string;
|
5608
|
-
} | {
|
5609
|
-
outline: string;
|
5610
|
-
outlineColor: string;
|
5611
|
-
};
|
5612
|
-
_active: {
|
5613
|
-
outlineWidth: string;
|
5614
|
-
outlineColor: string;
|
5615
|
-
outlineStyle: string;
|
5616
|
-
outlineOffset: string;
|
5617
|
-
backgroundColor: string;
|
5618
|
-
} | {
|
5619
|
-
outline: string;
|
5620
|
-
outlineColor: string;
|
5621
|
-
backgroundColor: string;
|
5622
|
-
};
|
5623
5741
|
_focusVisible: {
|
5624
5742
|
outlineOffset: number;
|
5625
5743
|
outlineWidth: string;
|
@@ -5667,7 +5785,7 @@ declare const theme: {
|
|
5667
5785
|
outlineColor: string;
|
5668
5786
|
};
|
5669
5787
|
" + label": {
|
5670
|
-
fontSize:
|
5788
|
+
fontSize: string[];
|
5671
5789
|
top: string;
|
5672
5790
|
left: any;
|
5673
5791
|
zIndex: number;
|
@@ -5703,26 +5821,213 @@ declare const theme: {
|
|
5703
5821
|
}>;
|
5704
5822
|
} | undefined;
|
5705
5823
|
variants?: {
|
5706
|
-
|
5707
|
-
|
5708
|
-
|
5709
|
-
|
5710
|
-
|
5711
|
-
|
5712
|
-
|
5713
|
-
|
5714
|
-
|
5715
|
-
|
5716
|
-
|
5717
|
-
|
5718
|
-
|
5719
|
-
|
5720
|
-
|
5721
|
-
|
5722
|
-
|
5723
|
-
|
5724
|
-
|
5725
|
-
|
5824
|
+
base: (props: _chakra_ui_styled_system.StyleFunctionProps) => {
|
5825
|
+
field: {
|
5826
|
+
_hover: {
|
5827
|
+
outlineWidth: string;
|
5828
|
+
outlineColor: string;
|
5829
|
+
outlineStyle: string;
|
5830
|
+
outlineOffset: string;
|
5831
|
+
} | {
|
5832
|
+
outline: string;
|
5833
|
+
outlineColor: string;
|
5834
|
+
};
|
5835
|
+
_active: {
|
5836
|
+
outlineWidth: string;
|
5837
|
+
outlineColor: string;
|
5838
|
+
outlineStyle: string;
|
5839
|
+
outlineOffset: string;
|
5840
|
+
backgroundColor: string;
|
5841
|
+
} | {
|
5842
|
+
outline: string;
|
5843
|
+
outlineColor: string;
|
5844
|
+
backgroundColor: string;
|
5845
|
+
};
|
5846
|
+
_selected: {
|
5847
|
+
outlineWidth: string;
|
5848
|
+
outlineColor: string;
|
5849
|
+
outlineStyle: string;
|
5850
|
+
outlineOffset: string;
|
5851
|
+
backgroundColor: string;
|
5852
|
+
} | {
|
5853
|
+
outline: string;
|
5854
|
+
outlineColor: string;
|
5855
|
+
backgroundColor: string;
|
5856
|
+
};
|
5857
|
+
outlineWidth: string;
|
5858
|
+
outlineColor: string;
|
5859
|
+
outlineStyle: string;
|
5860
|
+
outlineOffset: string;
|
5861
|
+
backgroundColor: string;
|
5862
|
+
} | {
|
5863
|
+
_hover: {
|
5864
|
+
outlineWidth: string;
|
5865
|
+
outlineColor: string;
|
5866
|
+
outlineStyle: string;
|
5867
|
+
outlineOffset: string;
|
5868
|
+
} | {
|
5869
|
+
outline: string;
|
5870
|
+
outlineColor: string;
|
5871
|
+
};
|
5872
|
+
_active: {
|
5873
|
+
outlineWidth: string;
|
5874
|
+
outlineColor: string;
|
5875
|
+
outlineStyle: string;
|
5876
|
+
outlineOffset: string;
|
5877
|
+
backgroundColor: string;
|
5878
|
+
} | {
|
5879
|
+
outline: string;
|
5880
|
+
outlineColor: string;
|
5881
|
+
backgroundColor: string;
|
5882
|
+
};
|
5883
|
+
_selected: {
|
5884
|
+
outlineWidth: string;
|
5885
|
+
outlineColor: string;
|
5886
|
+
outlineStyle: string;
|
5887
|
+
outlineOffset: string;
|
5888
|
+
backgroundColor: string;
|
5889
|
+
} | {
|
5890
|
+
outline: string;
|
5891
|
+
outlineColor: string;
|
5892
|
+
backgroundColor: string;
|
5893
|
+
};
|
5894
|
+
outline: string;
|
5895
|
+
outlineColor: string;
|
5896
|
+
backgroundColor: string;
|
5897
|
+
} | {
|
5898
|
+
_hover: {
|
5899
|
+
backgroundColor: string;
|
5900
|
+
outline: string;
|
5901
|
+
outlineColor: string;
|
5902
|
+
};
|
5903
|
+
_active: {
|
5904
|
+
backgroundColor: string;
|
5905
|
+
outline: string;
|
5906
|
+
outlineColor: string;
|
5907
|
+
};
|
5908
|
+
_selected: {
|
5909
|
+
backgroundColor: string;
|
5910
|
+
outline: string;
|
5911
|
+
outlineColor: string;
|
5912
|
+
};
|
5913
|
+
outline: string;
|
5914
|
+
outlineColor: string;
|
5915
|
+
backgroundColor: string;
|
5916
|
+
boxShadow: string;
|
5917
|
+
};
|
5918
|
+
};
|
5919
|
+
floating: (props: _chakra_ui_styled_system.StyleFunctionProps) => {
|
5920
|
+
field: {
|
5921
|
+
_hover: {
|
5922
|
+
outlineWidth: string;
|
5923
|
+
outlineColor: string;
|
5924
|
+
outlineStyle: string;
|
5925
|
+
outlineOffset: string;
|
5926
|
+
} | {
|
5927
|
+
outline: string;
|
5928
|
+
outlineColor: string;
|
5929
|
+
};
|
5930
|
+
_active: {
|
5931
|
+
outlineWidth: string;
|
5932
|
+
outlineColor: string;
|
5933
|
+
outlineStyle: string;
|
5934
|
+
outlineOffset: string;
|
5935
|
+
backgroundColor: string;
|
5936
|
+
} | {
|
5937
|
+
outline: string;
|
5938
|
+
outlineColor: string;
|
5939
|
+
backgroundColor: string;
|
5940
|
+
};
|
5941
|
+
_selected: {
|
5942
|
+
outlineWidth: string;
|
5943
|
+
outlineColor: string;
|
5944
|
+
outlineStyle: string;
|
5945
|
+
outlineOffset: string;
|
5946
|
+
backgroundColor: string;
|
5947
|
+
} | {
|
5948
|
+
outline: string;
|
5949
|
+
outlineColor: string;
|
5950
|
+
backgroundColor: string;
|
5951
|
+
};
|
5952
|
+
outlineWidth: string;
|
5953
|
+
outlineColor: string;
|
5954
|
+
outlineStyle: string;
|
5955
|
+
outlineOffset: string;
|
5956
|
+
backgroundColor: string;
|
5957
|
+
} | {
|
5958
|
+
_hover: {
|
5959
|
+
outlineWidth: string;
|
5960
|
+
outlineColor: string;
|
5961
|
+
outlineStyle: string;
|
5962
|
+
outlineOffset: string;
|
5963
|
+
} | {
|
5964
|
+
outline: string;
|
5965
|
+
outlineColor: string;
|
5966
|
+
};
|
5967
|
+
_active: {
|
5968
|
+
outlineWidth: string;
|
5969
|
+
outlineColor: string;
|
5970
|
+
outlineStyle: string;
|
5971
|
+
outlineOffset: string;
|
5972
|
+
backgroundColor: string;
|
5973
|
+
} | {
|
5974
|
+
outline: string;
|
5975
|
+
outlineColor: string;
|
5976
|
+
backgroundColor: string;
|
5977
|
+
};
|
5978
|
+
_selected: {
|
5979
|
+
outlineWidth: string;
|
5980
|
+
outlineColor: string;
|
5981
|
+
outlineStyle: string;
|
5982
|
+
outlineOffset: string;
|
5983
|
+
backgroundColor: string;
|
5984
|
+
} | {
|
5985
|
+
outline: string;
|
5986
|
+
outlineColor: string;
|
5987
|
+
backgroundColor: string;
|
5988
|
+
};
|
5989
|
+
outline: string;
|
5990
|
+
outlineColor: string;
|
5991
|
+
backgroundColor: string;
|
5992
|
+
} | {
|
5993
|
+
_hover: {
|
5994
|
+
backgroundColor: string;
|
5995
|
+
outline: string;
|
5996
|
+
outlineColor: string;
|
5997
|
+
};
|
5998
|
+
_active: {
|
5999
|
+
backgroundColor: string;
|
6000
|
+
outline: string;
|
6001
|
+
outlineColor: string;
|
6002
|
+
};
|
6003
|
+
_selected: {
|
6004
|
+
backgroundColor: string;
|
6005
|
+
outline: string;
|
6006
|
+
outlineColor: string;
|
6007
|
+
};
|
6008
|
+
outline: string;
|
6009
|
+
outlineColor: string;
|
6010
|
+
backgroundColor: string;
|
6011
|
+
boxShadow: string;
|
6012
|
+
};
|
6013
|
+
};
|
6014
|
+
} | undefined;
|
6015
|
+
defaultProps?: {
|
6016
|
+
size?: string | number | undefined;
|
6017
|
+
variant?: "base" | "floating" | undefined;
|
6018
|
+
colorScheme?: string | undefined;
|
6019
|
+
} | undefined;
|
6020
|
+
parts: ("icon" | "root" | "field")[];
|
6021
|
+
};
|
6022
|
+
Skeleton: {
|
6023
|
+
baseStyle?: ((props: _chakra_ui_styled_system.StyleFunctionProps) => {
|
6024
|
+
[x: string]: any;
|
6025
|
+
opacity: number;
|
6026
|
+
borderRadius: string;
|
6027
|
+
borderColor: any;
|
6028
|
+
background: any;
|
6029
|
+
animation: string;
|
6030
|
+
}) | undefined;
|
5726
6031
|
sizes?: {
|
5727
6032
|
[key: string]: _chakra_ui_styled_system.SystemStyleInterpolation;
|
5728
6033
|
} | undefined;
|
@@ -6338,26 +6643,6 @@ declare const theme: {
|
|
6338
6643
|
paddingX: number;
|
6339
6644
|
height: number;
|
6340
6645
|
fontSize: string;
|
6341
|
-
_hover: {
|
6342
|
-
outlineWidth: string;
|
6343
|
-
outlineColor: string;
|
6344
|
-
outlineStyle: string;
|
6345
|
-
outlineOffset: string;
|
6346
|
-
} | {
|
6347
|
-
outline: string;
|
6348
|
-
outlineColor: string;
|
6349
|
-
};
|
6350
|
-
_active: {
|
6351
|
-
outlineWidth: string;
|
6352
|
-
outlineColor: string;
|
6353
|
-
outlineStyle: string;
|
6354
|
-
outlineOffset: string;
|
6355
|
-
backgroundColor: string;
|
6356
|
-
} | {
|
6357
|
-
outline: string;
|
6358
|
-
outlineColor: string;
|
6359
|
-
backgroundColor: string;
|
6360
|
-
};
|
6361
6646
|
_focusVisible: {
|
6362
6647
|
outlineOffset: number;
|
6363
6648
|
outlineWidth: string;
|
@@ -6405,7 +6690,7 @@ declare const theme: {
|
|
6405
6690
|
outlineColor: string;
|
6406
6691
|
};
|
6407
6692
|
" + label": {
|
6408
|
-
fontSize:
|
6693
|
+
fontSize: string[];
|
6409
6694
|
top: string;
|
6410
6695
|
left: any;
|
6411
6696
|
zIndex: number;
|
@@ -6420,11 +6705,196 @@ declare const theme: {
|
|
6420
6705
|
[key: string]: _chakra_ui_styled_system.SystemStyleInterpolation;
|
6421
6706
|
} | undefined;
|
6422
6707
|
variants?: {
|
6423
|
-
|
6708
|
+
base: (props: _chakra_ui_styled_system.StyleFunctionProps) => {
|
6709
|
+
_hover: {
|
6710
|
+
outlineWidth: string;
|
6711
|
+
outlineColor: string;
|
6712
|
+
outlineStyle: string;
|
6713
|
+
outlineOffset: string;
|
6714
|
+
} | {
|
6715
|
+
outline: string;
|
6716
|
+
outlineColor: string;
|
6717
|
+
};
|
6718
|
+
_active: {
|
6719
|
+
outlineWidth: string;
|
6720
|
+
outlineColor: string;
|
6721
|
+
outlineStyle: string;
|
6722
|
+
outlineOffset: string;
|
6723
|
+
backgroundColor: string;
|
6724
|
+
} | {
|
6725
|
+
outline: string;
|
6726
|
+
outlineColor: string;
|
6727
|
+
backgroundColor: string;
|
6728
|
+
};
|
6729
|
+
_selected: {
|
6730
|
+
outlineWidth: string;
|
6731
|
+
outlineColor: string;
|
6732
|
+
outlineStyle: string;
|
6733
|
+
outlineOffset: string;
|
6734
|
+
backgroundColor: string;
|
6735
|
+
} | {
|
6736
|
+
outline: string;
|
6737
|
+
outlineColor: string;
|
6738
|
+
backgroundColor: string;
|
6739
|
+
};
|
6740
|
+
outlineWidth: string;
|
6741
|
+
outlineColor: string;
|
6742
|
+
outlineStyle: string;
|
6743
|
+
outlineOffset: string;
|
6744
|
+
backgroundColor: string;
|
6745
|
+
} | {
|
6746
|
+
_hover: {
|
6747
|
+
outlineWidth: string;
|
6748
|
+
outlineColor: string;
|
6749
|
+
outlineStyle: string;
|
6750
|
+
outlineOffset: string;
|
6751
|
+
} | {
|
6752
|
+
outline: string;
|
6753
|
+
outlineColor: string;
|
6754
|
+
};
|
6755
|
+
_active: {
|
6756
|
+
outlineWidth: string;
|
6757
|
+
outlineColor: string;
|
6758
|
+
outlineStyle: string;
|
6759
|
+
outlineOffset: string;
|
6760
|
+
backgroundColor: string;
|
6761
|
+
} | {
|
6762
|
+
outline: string;
|
6763
|
+
outlineColor: string;
|
6764
|
+
backgroundColor: string;
|
6765
|
+
};
|
6766
|
+
_selected: {
|
6767
|
+
outlineWidth: string;
|
6768
|
+
outlineColor: string;
|
6769
|
+
outlineStyle: string;
|
6770
|
+
outlineOffset: string;
|
6771
|
+
backgroundColor: string;
|
6772
|
+
} | {
|
6773
|
+
outline: string;
|
6774
|
+
outlineColor: string;
|
6775
|
+
backgroundColor: string;
|
6776
|
+
};
|
6777
|
+
outline: string;
|
6778
|
+
outlineColor: string;
|
6779
|
+
backgroundColor: string;
|
6780
|
+
} | {
|
6781
|
+
_hover: {
|
6782
|
+
backgroundColor: string;
|
6783
|
+
outline: string;
|
6784
|
+
outlineColor: string;
|
6785
|
+
};
|
6786
|
+
_active: {
|
6787
|
+
backgroundColor: string;
|
6788
|
+
outline: string;
|
6789
|
+
outlineColor: string;
|
6790
|
+
};
|
6791
|
+
_selected: {
|
6792
|
+
backgroundColor: string;
|
6793
|
+
outline: string;
|
6794
|
+
outlineColor: string;
|
6795
|
+
};
|
6796
|
+
outline: string;
|
6797
|
+
outlineColor: string;
|
6798
|
+
backgroundColor: string;
|
6799
|
+
boxShadow: string;
|
6800
|
+
};
|
6801
|
+
floating: (props: _chakra_ui_styled_system.StyleFunctionProps) => {
|
6802
|
+
_hover: {
|
6803
|
+
outlineWidth: string;
|
6804
|
+
outlineColor: string;
|
6805
|
+
outlineStyle: string;
|
6806
|
+
outlineOffset: string;
|
6807
|
+
} | {
|
6808
|
+
outline: string;
|
6809
|
+
outlineColor: string;
|
6810
|
+
};
|
6811
|
+
_active: {
|
6812
|
+
outlineWidth: string;
|
6813
|
+
outlineColor: string;
|
6814
|
+
outlineStyle: string;
|
6815
|
+
outlineOffset: string;
|
6816
|
+
backgroundColor: string;
|
6817
|
+
} | {
|
6818
|
+
outline: string;
|
6819
|
+
outlineColor: string;
|
6820
|
+
backgroundColor: string;
|
6821
|
+
};
|
6822
|
+
_selected: {
|
6823
|
+
outlineWidth: string;
|
6824
|
+
outlineColor: string;
|
6825
|
+
outlineStyle: string;
|
6826
|
+
outlineOffset: string;
|
6827
|
+
backgroundColor: string;
|
6828
|
+
} | {
|
6829
|
+
outline: string;
|
6830
|
+
outlineColor: string;
|
6831
|
+
backgroundColor: string;
|
6832
|
+
};
|
6833
|
+
outlineWidth: string;
|
6834
|
+
outlineColor: string;
|
6835
|
+
outlineStyle: string;
|
6836
|
+
outlineOffset: string;
|
6837
|
+
backgroundColor: string;
|
6838
|
+
} | {
|
6839
|
+
_hover: {
|
6840
|
+
outlineWidth: string;
|
6841
|
+
outlineColor: string;
|
6842
|
+
outlineStyle: string;
|
6843
|
+
outlineOffset: string;
|
6844
|
+
} | {
|
6845
|
+
outline: string;
|
6846
|
+
outlineColor: string;
|
6847
|
+
};
|
6848
|
+
_active: {
|
6849
|
+
outlineWidth: string;
|
6850
|
+
outlineColor: string;
|
6851
|
+
outlineStyle: string;
|
6852
|
+
outlineOffset: string;
|
6853
|
+
backgroundColor: string;
|
6854
|
+
} | {
|
6855
|
+
outline: string;
|
6856
|
+
outlineColor: string;
|
6857
|
+
backgroundColor: string;
|
6858
|
+
};
|
6859
|
+
_selected: {
|
6860
|
+
outlineWidth: string;
|
6861
|
+
outlineColor: string;
|
6862
|
+
outlineStyle: string;
|
6863
|
+
outlineOffset: string;
|
6864
|
+
backgroundColor: string;
|
6865
|
+
} | {
|
6866
|
+
outline: string;
|
6867
|
+
outlineColor: string;
|
6868
|
+
backgroundColor: string;
|
6869
|
+
};
|
6870
|
+
outline: string;
|
6871
|
+
outlineColor: string;
|
6872
|
+
backgroundColor: string;
|
6873
|
+
} | {
|
6874
|
+
_hover: {
|
6875
|
+
backgroundColor: string;
|
6876
|
+
outline: string;
|
6877
|
+
outlineColor: string;
|
6878
|
+
};
|
6879
|
+
_active: {
|
6880
|
+
backgroundColor: string;
|
6881
|
+
outline: string;
|
6882
|
+
outlineColor: string;
|
6883
|
+
};
|
6884
|
+
_selected: {
|
6885
|
+
backgroundColor: string;
|
6886
|
+
outline: string;
|
6887
|
+
outlineColor: string;
|
6888
|
+
};
|
6889
|
+
outline: string;
|
6890
|
+
outlineColor: string;
|
6891
|
+
backgroundColor: string;
|
6892
|
+
boxShadow: string;
|
6893
|
+
};
|
6424
6894
|
} | undefined;
|
6425
6895
|
defaultProps?: {
|
6426
6896
|
size?: string | number | undefined;
|
6427
|
-
variant?:
|
6897
|
+
variant?: "base" | "floating" | undefined;
|
6428
6898
|
colorScheme?: string | undefined;
|
6429
6899
|
} | undefined;
|
6430
6900
|
};
|