@lets-events/react 10.1.1 → 10.1.2
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 +8 -8
- package/CHANGELOG.md +6 -0
- package/dist/index.d.mts +371 -1
- package/dist/index.d.ts +371 -1
- package/dist/index.js +30 -8
- package/dist/index.mjs +29 -8
- package/package.json +1 -1
- package/src/components/Calendar/styledComponents.ts +1 -0
- package/src/components/TimePicker.tsx +29 -11
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
> @lets-events/react@10.1.
|
|
3
|
+
> @lets-events/react@10.1.2 build
|
|
4
4
|
> tsup src/index.tsx --format esm,cjs --dts --external react
|
|
5
5
|
|
|
6
6
|
[34mCLI[39m Building entry: src/index.tsx
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
[34mCLI[39m Target: es6
|
|
10
10
|
[34mESM[39m Build start
|
|
11
11
|
[34mCJS[39m Build start
|
|
12
|
-
[
|
|
13
|
-
[
|
|
14
|
-
[
|
|
15
|
-
[
|
|
12
|
+
[32mESM[39m [1mdist/index.mjs [22m[32m275.16 KB[39m
|
|
13
|
+
[32mESM[39m ⚡️ Build success in 279ms
|
|
14
|
+
[32mCJS[39m [1mdist/index.js [22m[32m283.61 KB[39m
|
|
15
|
+
[32mCJS[39m ⚡️ Build success in 279ms
|
|
16
16
|
DTS Build start
|
|
17
|
-
DTS ⚡️ Build success in
|
|
18
|
-
DTS dist/index.d.mts
|
|
19
|
-
DTS dist/index.d.ts
|
|
17
|
+
DTS ⚡️ Build success in 5671ms
|
|
18
|
+
DTS dist/index.d.mts 347.67 KB
|
|
19
|
+
DTS dist/index.d.ts 347.67 KB
|
package/CHANGELOG.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -6506,6 +6506,376 @@ declare const InputStyled: _stitches_react_types_styled_component.StyledComponen
|
|
|
6506
6506
|
transition: "transitions";
|
|
6507
6507
|
zIndex: "zIndices";
|
|
6508
6508
|
}, {}>>;
|
|
6509
|
+
declare const TimePickerButtonStyled: _stitches_react_types_styled_component.StyledComponent<"button", {}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
6510
|
+
colors: {
|
|
6511
|
+
brand50: string;
|
|
6512
|
+
brand100: string;
|
|
6513
|
+
brand200: string;
|
|
6514
|
+
brand300: string;
|
|
6515
|
+
brand400: string;
|
|
6516
|
+
brand500: string;
|
|
6517
|
+
brand600: string;
|
|
6518
|
+
brand700: string;
|
|
6519
|
+
brand800: string;
|
|
6520
|
+
brand900: string;
|
|
6521
|
+
brand950: string;
|
|
6522
|
+
blue50: string;
|
|
6523
|
+
blue100: string;
|
|
6524
|
+
blue200: string;
|
|
6525
|
+
blue300: string;
|
|
6526
|
+
blue400: string;
|
|
6527
|
+
blue500: string;
|
|
6528
|
+
blue600: string;
|
|
6529
|
+
blue700: string;
|
|
6530
|
+
blue800: string;
|
|
6531
|
+
blue900: string;
|
|
6532
|
+
blue950: string;
|
|
6533
|
+
red50: string;
|
|
6534
|
+
red100: string;
|
|
6535
|
+
red200: string;
|
|
6536
|
+
red300: string;
|
|
6537
|
+
red400: string;
|
|
6538
|
+
red500: string;
|
|
6539
|
+
red600: string;
|
|
6540
|
+
red700: string;
|
|
6541
|
+
red800: string;
|
|
6542
|
+
red900: string;
|
|
6543
|
+
red950: string;
|
|
6544
|
+
purple50: string;
|
|
6545
|
+
purple100: string;
|
|
6546
|
+
purple200: string;
|
|
6547
|
+
purple300: string;
|
|
6548
|
+
purple400: string;
|
|
6549
|
+
purple500: string;
|
|
6550
|
+
purple600: string;
|
|
6551
|
+
purple700: string;
|
|
6552
|
+
purple800: string;
|
|
6553
|
+
purple900: string;
|
|
6554
|
+
purple950: string;
|
|
6555
|
+
yellow50: string;
|
|
6556
|
+
yellow100: string;
|
|
6557
|
+
yellow200: string;
|
|
6558
|
+
yellow300: string;
|
|
6559
|
+
yellow400: string;
|
|
6560
|
+
yellow500: string;
|
|
6561
|
+
yellow600: string;
|
|
6562
|
+
yellow700: string;
|
|
6563
|
+
yellow800: string;
|
|
6564
|
+
yellow900: string;
|
|
6565
|
+
yellow950: string;
|
|
6566
|
+
dark50: string;
|
|
6567
|
+
dark100: string;
|
|
6568
|
+
dark200: string;
|
|
6569
|
+
dark300: string;
|
|
6570
|
+
dark400: string;
|
|
6571
|
+
dark500: string;
|
|
6572
|
+
dark600: string;
|
|
6573
|
+
dark700: string;
|
|
6574
|
+
dark800: string;
|
|
6575
|
+
dark900: string;
|
|
6576
|
+
dark950: string;
|
|
6577
|
+
neutral50: string;
|
|
6578
|
+
neutral100: string;
|
|
6579
|
+
neutral200: string;
|
|
6580
|
+
neutral300: string;
|
|
6581
|
+
neutral400: string;
|
|
6582
|
+
neutral500: string;
|
|
6583
|
+
neutral600: string;
|
|
6584
|
+
neutral700: string;
|
|
6585
|
+
neutral800: string;
|
|
6586
|
+
neutral900: string;
|
|
6587
|
+
neutral950: string;
|
|
6588
|
+
green50: string;
|
|
6589
|
+
green100: string;
|
|
6590
|
+
green200: string;
|
|
6591
|
+
green300: string;
|
|
6592
|
+
green400: string;
|
|
6593
|
+
green500: string;
|
|
6594
|
+
green600: string;
|
|
6595
|
+
green700: string;
|
|
6596
|
+
green800: string;
|
|
6597
|
+
green900: string;
|
|
6598
|
+
green950: string;
|
|
6599
|
+
grey50: string;
|
|
6600
|
+
grey100: string;
|
|
6601
|
+
grey200: string;
|
|
6602
|
+
grey300: string;
|
|
6603
|
+
grey400: string;
|
|
6604
|
+
grey500: string;
|
|
6605
|
+
grey600: string;
|
|
6606
|
+
grey700: string;
|
|
6607
|
+
grey800: string;
|
|
6608
|
+
grey900: string;
|
|
6609
|
+
grey950: string;
|
|
6610
|
+
error50: string;
|
|
6611
|
+
error100: string;
|
|
6612
|
+
error200: string;
|
|
6613
|
+
error300: string;
|
|
6614
|
+
error400: string;
|
|
6615
|
+
error500: string;
|
|
6616
|
+
error600: string;
|
|
6617
|
+
error700: string;
|
|
6618
|
+
error800: string;
|
|
6619
|
+
error900: string;
|
|
6620
|
+
error950: string;
|
|
6621
|
+
success50: string;
|
|
6622
|
+
success100: string;
|
|
6623
|
+
success200: string;
|
|
6624
|
+
success300: string;
|
|
6625
|
+
success400: string;
|
|
6626
|
+
success500: string;
|
|
6627
|
+
success600: string;
|
|
6628
|
+
success700: string;
|
|
6629
|
+
success800: string;
|
|
6630
|
+
success900: string;
|
|
6631
|
+
success950: string;
|
|
6632
|
+
warning50: string;
|
|
6633
|
+
warning100: string;
|
|
6634
|
+
warning200: string;
|
|
6635
|
+
warning300: string;
|
|
6636
|
+
warning400: string;
|
|
6637
|
+
warning500: string;
|
|
6638
|
+
warning600: string;
|
|
6639
|
+
warning700: string;
|
|
6640
|
+
warning800: string;
|
|
6641
|
+
warning900: string;
|
|
6642
|
+
warning950: string;
|
|
6643
|
+
info50: string;
|
|
6644
|
+
info100: string;
|
|
6645
|
+
info200: string;
|
|
6646
|
+
info300: string;
|
|
6647
|
+
info400: string;
|
|
6648
|
+
info500: string;
|
|
6649
|
+
info600: string;
|
|
6650
|
+
info700: string;
|
|
6651
|
+
info800: string;
|
|
6652
|
+
info900: string;
|
|
6653
|
+
info950: string;
|
|
6654
|
+
};
|
|
6655
|
+
fontSizes: {
|
|
6656
|
+
2: string;
|
|
6657
|
+
4: string;
|
|
6658
|
+
6: string;
|
|
6659
|
+
8: string;
|
|
6660
|
+
10: string;
|
|
6661
|
+
12: string;
|
|
6662
|
+
13: string;
|
|
6663
|
+
14: string;
|
|
6664
|
+
16: string;
|
|
6665
|
+
18: string;
|
|
6666
|
+
20: string;
|
|
6667
|
+
22: string;
|
|
6668
|
+
24: string;
|
|
6669
|
+
32: string;
|
|
6670
|
+
36: string;
|
|
6671
|
+
40: string;
|
|
6672
|
+
48: string;
|
|
6673
|
+
56: string;
|
|
6674
|
+
64: string;
|
|
6675
|
+
72: string;
|
|
6676
|
+
80: string;
|
|
6677
|
+
xs: string;
|
|
6678
|
+
sm: string;
|
|
6679
|
+
md: string;
|
|
6680
|
+
lg: string;
|
|
6681
|
+
'2xl': string;
|
|
6682
|
+
'3xl': string;
|
|
6683
|
+
'4xl': string;
|
|
6684
|
+
full: string;
|
|
6685
|
+
};
|
|
6686
|
+
fonts: {
|
|
6687
|
+
default: string;
|
|
6688
|
+
};
|
|
6689
|
+
fontWeights: {
|
|
6690
|
+
regular: string;
|
|
6691
|
+
medium: string;
|
|
6692
|
+
semibold: string;
|
|
6693
|
+
bold: string;
|
|
6694
|
+
};
|
|
6695
|
+
lineHeights: {
|
|
6696
|
+
smaller: string;
|
|
6697
|
+
shorter: string;
|
|
6698
|
+
short: string;
|
|
6699
|
+
base: string;
|
|
6700
|
+
tall: string;
|
|
6701
|
+
};
|
|
6702
|
+
radii: {
|
|
6703
|
+
'3xs': string;
|
|
6704
|
+
'2xs': string;
|
|
6705
|
+
xs: string;
|
|
6706
|
+
sm: string;
|
|
6707
|
+
md: string;
|
|
6708
|
+
lg: string;
|
|
6709
|
+
xl: string;
|
|
6710
|
+
'2xl': string;
|
|
6711
|
+
'3xl': string;
|
|
6712
|
+
'4xl': string;
|
|
6713
|
+
'5xl': string;
|
|
6714
|
+
'6xl': string;
|
|
6715
|
+
'7xl': string;
|
|
6716
|
+
'8xl': string;
|
|
6717
|
+
'9xl': string;
|
|
6718
|
+
'10xl': string;
|
|
6719
|
+
'11xl': string;
|
|
6720
|
+
'12xl': string;
|
|
6721
|
+
'13xl': string;
|
|
6722
|
+
'14xl': string;
|
|
6723
|
+
full: string;
|
|
6724
|
+
};
|
|
6725
|
+
space: {
|
|
6726
|
+
2: string;
|
|
6727
|
+
4: string;
|
|
6728
|
+
6: string;
|
|
6729
|
+
8: string;
|
|
6730
|
+
10: string;
|
|
6731
|
+
12: string;
|
|
6732
|
+
13: string;
|
|
6733
|
+
14: string;
|
|
6734
|
+
16: string;
|
|
6735
|
+
18: string;
|
|
6736
|
+
20: string;
|
|
6737
|
+
22: string;
|
|
6738
|
+
24: string;
|
|
6739
|
+
32: string;
|
|
6740
|
+
36: string;
|
|
6741
|
+
40: string;
|
|
6742
|
+
48: string;
|
|
6743
|
+
56: string;
|
|
6744
|
+
64: string;
|
|
6745
|
+
72: string;
|
|
6746
|
+
80: string;
|
|
6747
|
+
full: string;
|
|
6748
|
+
};
|
|
6749
|
+
}, {
|
|
6750
|
+
height: "space";
|
|
6751
|
+
width: "space";
|
|
6752
|
+
gap: "space";
|
|
6753
|
+
gridGap: "space";
|
|
6754
|
+
columnGap: "space";
|
|
6755
|
+
gridColumnGap: "space";
|
|
6756
|
+
rowGap: "space";
|
|
6757
|
+
gridRowGap: "space";
|
|
6758
|
+
inset: "space";
|
|
6759
|
+
insetBlock: "space";
|
|
6760
|
+
insetBlockEnd: "space";
|
|
6761
|
+
insetBlockStart: "space";
|
|
6762
|
+
insetInline: "space";
|
|
6763
|
+
insetInlineEnd: "space";
|
|
6764
|
+
insetInlineStart: "space";
|
|
6765
|
+
margin: "space";
|
|
6766
|
+
marginTop: "space";
|
|
6767
|
+
marginRight: "space";
|
|
6768
|
+
marginBottom: "space";
|
|
6769
|
+
marginLeft: "space";
|
|
6770
|
+
marginBlock: "space";
|
|
6771
|
+
marginBlockEnd: "space";
|
|
6772
|
+
marginBlockStart: "space";
|
|
6773
|
+
marginInline: "space";
|
|
6774
|
+
marginInlineEnd: "space";
|
|
6775
|
+
marginInlineStart: "space";
|
|
6776
|
+
padding: "space";
|
|
6777
|
+
paddingTop: "space";
|
|
6778
|
+
paddingRight: "space";
|
|
6779
|
+
paddingBottom: "space";
|
|
6780
|
+
paddingLeft: "space";
|
|
6781
|
+
paddingBlock: "space";
|
|
6782
|
+
paddingBlockEnd: "space";
|
|
6783
|
+
paddingBlockStart: "space";
|
|
6784
|
+
paddingInline: "space";
|
|
6785
|
+
paddingInlineEnd: "space";
|
|
6786
|
+
paddingInlineStart: "space";
|
|
6787
|
+
scrollMargin: "space";
|
|
6788
|
+
scrollMarginTop: "space";
|
|
6789
|
+
scrollMarginRight: "space";
|
|
6790
|
+
scrollMarginBottom: "space";
|
|
6791
|
+
scrollMarginLeft: "space";
|
|
6792
|
+
scrollMarginBlock: "space";
|
|
6793
|
+
scrollMarginBlockEnd: "space";
|
|
6794
|
+
scrollMarginBlockStart: "space";
|
|
6795
|
+
scrollMarginInline: "space";
|
|
6796
|
+
scrollMarginInlineEnd: "space";
|
|
6797
|
+
scrollMarginInlineStart: "space";
|
|
6798
|
+
scrollPadding: "space";
|
|
6799
|
+
scrollPaddingTop: "space";
|
|
6800
|
+
scrollPaddingRight: "space";
|
|
6801
|
+
scrollPaddingBottom: "space";
|
|
6802
|
+
scrollPaddingLeft: "space";
|
|
6803
|
+
scrollPaddingBlock: "space";
|
|
6804
|
+
scrollPaddingBlockEnd: "space";
|
|
6805
|
+
scrollPaddingBlockStart: "space";
|
|
6806
|
+
scrollPaddingInline: "space";
|
|
6807
|
+
scrollPaddingInlineEnd: "space";
|
|
6808
|
+
scrollPaddingInlineStart: "space";
|
|
6809
|
+
top: "space";
|
|
6810
|
+
right: "space";
|
|
6811
|
+
bottom: "space";
|
|
6812
|
+
left: "space";
|
|
6813
|
+
fontSize: "fontSizes";
|
|
6814
|
+
background: "colors";
|
|
6815
|
+
backgroundColor: "colors";
|
|
6816
|
+
backgroundImage: "colors";
|
|
6817
|
+
borderImage: "colors";
|
|
6818
|
+
border: "colors";
|
|
6819
|
+
borderBlock: "colors";
|
|
6820
|
+
borderBlockEnd: "colors";
|
|
6821
|
+
borderBlockStart: "colors";
|
|
6822
|
+
borderBottom: "colors";
|
|
6823
|
+
borderBottomColor: "colors";
|
|
6824
|
+
borderColor: "colors";
|
|
6825
|
+
borderInline: "colors";
|
|
6826
|
+
borderInlineEnd: "colors";
|
|
6827
|
+
borderInlineStart: "colors";
|
|
6828
|
+
borderLeft: "colors";
|
|
6829
|
+
borderLeftColor: "colors";
|
|
6830
|
+
borderRight: "colors";
|
|
6831
|
+
borderRightColor: "colors";
|
|
6832
|
+
borderTop: "colors";
|
|
6833
|
+
borderTopColor: "colors";
|
|
6834
|
+
caretColor: "colors";
|
|
6835
|
+
color: "colors";
|
|
6836
|
+
columnRuleColor: "colors";
|
|
6837
|
+
outline: "colors";
|
|
6838
|
+
outlineColor: "colors";
|
|
6839
|
+
fill: "colors";
|
|
6840
|
+
stroke: "colors";
|
|
6841
|
+
textDecorationColor: "colors";
|
|
6842
|
+
fontFamily: "fonts";
|
|
6843
|
+
fontWeight: "fontWeights";
|
|
6844
|
+
lineHeight: "lineHeights";
|
|
6845
|
+
letterSpacing: "letterSpacings";
|
|
6846
|
+
blockSize: "sizes";
|
|
6847
|
+
minBlockSize: "sizes";
|
|
6848
|
+
maxBlockSize: "sizes";
|
|
6849
|
+
inlineSize: "sizes";
|
|
6850
|
+
minInlineSize: "sizes";
|
|
6851
|
+
maxInlineSize: "sizes";
|
|
6852
|
+
minWidth: "sizes";
|
|
6853
|
+
maxWidth: "sizes";
|
|
6854
|
+
minHeight: "sizes";
|
|
6855
|
+
maxHeight: "sizes";
|
|
6856
|
+
flexBasis: "sizes";
|
|
6857
|
+
gridTemplateColumns: "sizes";
|
|
6858
|
+
gridTemplateRows: "sizes";
|
|
6859
|
+
borderWidth: "borderWidths";
|
|
6860
|
+
borderTopWidth: "borderWidths";
|
|
6861
|
+
borderLeftWidth: "borderWidths";
|
|
6862
|
+
borderRightWidth: "borderWidths";
|
|
6863
|
+
borderBottomWidth: "borderWidths";
|
|
6864
|
+
borderStyle: "borderStyles";
|
|
6865
|
+
borderTopStyle: "borderStyles";
|
|
6866
|
+
borderLeftStyle: "borderStyles";
|
|
6867
|
+
borderRightStyle: "borderStyles";
|
|
6868
|
+
borderBottomStyle: "borderStyles";
|
|
6869
|
+
borderRadius: "radii";
|
|
6870
|
+
borderTopLeftRadius: "radii";
|
|
6871
|
+
borderTopRightRadius: "radii";
|
|
6872
|
+
borderBottomRightRadius: "radii";
|
|
6873
|
+
borderBottomLeftRadius: "radii";
|
|
6874
|
+
boxShadow: "shadows";
|
|
6875
|
+
textShadow: "shadows";
|
|
6876
|
+
transition: "transitions";
|
|
6877
|
+
zIndex: "zIndices";
|
|
6878
|
+
}, {}>>;
|
|
6509
6879
|
type TimePickerProps = {
|
|
6510
6880
|
selected: string | undefined;
|
|
6511
6881
|
setSelected: react__default.Dispatch<react__default.SetStateAction<string | undefined>>;
|
|
@@ -12980,4 +13350,4 @@ type SectionProps = ComponentProps<typeof SectionStyled> & {
|
|
|
12980
13350
|
};
|
|
12981
13351
|
declare function Section({ children, ...props }: SectionProps): react_jsx_runtime.JSX.Element;
|
|
12982
13352
|
|
|
12983
|
-
export { Alert, AlertDialogCompleteStyled, AlertDialogDescriptionStyled, AlertDialogRowStyled, AlertDialogSimpleStyled, AlertDialogSubtitleStyled, AlertDialogTitleStyled, AlertDialoghrStyled, type AlertProps, Avatar, type AvatarProps, AvatarStyled, Badge, type BadgeProps, BadgeStyled, Box, Button, ButtonGroup, type ButtonGroupProps, ButtonGroupStyled, ButtonItem, type ButtonItemProps, ButtonItemStyled, type ButtonProps, Calendar, type CalendarProps, Card, CardContainer, type CardProps, CardStyled, CheckboxGroup, type CheckboxGroupProps, CheckboxGroupStyled, CheckboxItem, type CheckboxItemProps, Container, type ContainerProps, ContainerStyled, DropdownMenu, DropdownMenuItem, type DropdownMenuItemProps, type DropdownMenuProps, Filter, FilterItem, type FilterItemProps, type FilterProps, Flex, type FlexProps, FlexStyled, Grid, type GridProps, GridStyled, Icon, InputStyled, Modal, type ModalProps, RadioGroup, type RadioGroupProps, RadioGroupStyled, RadioItem, type RadioItemProps, Section, type SectionProps, SectionStyled, Step, StepContent, StepList, type StepProps, StepStyled, StepTrigger, StepWrapper, Switch, type SwitchProps, SwitchStyled, Text, TextField, type TextFieldProps, TextFieldSlot, type TextFieldSlotProps, TextFieldSlotStyled, TextFieldStyled, type TextProps, TextStyle, TextareaField, type TextareaFieldProps, TextareaFieldStyle, TimePicker, TimePickerDropdownStyled, TimePickerFooterStyled, type TimePickerProps, TimePickerStyled, TimerPickerContentStyled, type Toast, type ToastComponentProps, type ToastConfig, type ToastContextType, ToastItem, type ToastOptions, ToastProvider, type ToastProviderProps, type ToastType, type ToasterShowOptions, Tooltip, TooltipContent, type TooltipProps, TooltipProvider, TooltipRoot, TooltipTrigger, maskFormat, maskUnformat, useToast };
|
|
13353
|
+
export { Alert, AlertDialogCompleteStyled, AlertDialogDescriptionStyled, AlertDialogRowStyled, AlertDialogSimpleStyled, AlertDialogSubtitleStyled, AlertDialogTitleStyled, AlertDialoghrStyled, type AlertProps, Avatar, type AvatarProps, AvatarStyled, Badge, type BadgeProps, BadgeStyled, Box, Button, ButtonGroup, type ButtonGroupProps, ButtonGroupStyled, ButtonItem, type ButtonItemProps, ButtonItemStyled, type ButtonProps, Calendar, type CalendarProps, Card, CardContainer, type CardProps, CardStyled, CheckboxGroup, type CheckboxGroupProps, CheckboxGroupStyled, CheckboxItem, type CheckboxItemProps, Container, type ContainerProps, ContainerStyled, DropdownMenu, DropdownMenuItem, type DropdownMenuItemProps, type DropdownMenuProps, Filter, FilterItem, type FilterItemProps, type FilterProps, Flex, type FlexProps, FlexStyled, Grid, type GridProps, GridStyled, Icon, InputStyled, Modal, type ModalProps, RadioGroup, type RadioGroupProps, RadioGroupStyled, RadioItem, type RadioItemProps, Section, type SectionProps, SectionStyled, Step, StepContent, StepList, type StepProps, StepStyled, StepTrigger, StepWrapper, Switch, type SwitchProps, SwitchStyled, Text, TextField, type TextFieldProps, TextFieldSlot, type TextFieldSlotProps, TextFieldSlotStyled, TextFieldStyled, type TextProps, TextStyle, TextareaField, type TextareaFieldProps, TextareaFieldStyle, TimePicker, TimePickerButtonStyled, TimePickerDropdownStyled, TimePickerFooterStyled, type TimePickerProps, TimePickerStyled, TimerPickerContentStyled, type Toast, type ToastComponentProps, type ToastConfig, type ToastContextType, ToastItem, type ToastOptions, ToastProvider, type ToastProviderProps, type ToastType, type ToasterShowOptions, Tooltip, TooltipContent, type TooltipProps, TooltipProvider, TooltipRoot, TooltipTrigger, maskFormat, maskUnformat, useToast };
|
package/dist/index.d.ts
CHANGED
|
@@ -6506,6 +6506,376 @@ declare const InputStyled: _stitches_react_types_styled_component.StyledComponen
|
|
|
6506
6506
|
transition: "transitions";
|
|
6507
6507
|
zIndex: "zIndices";
|
|
6508
6508
|
}, {}>>;
|
|
6509
|
+
declare const TimePickerButtonStyled: _stitches_react_types_styled_component.StyledComponent<"button", {}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
6510
|
+
colors: {
|
|
6511
|
+
brand50: string;
|
|
6512
|
+
brand100: string;
|
|
6513
|
+
brand200: string;
|
|
6514
|
+
brand300: string;
|
|
6515
|
+
brand400: string;
|
|
6516
|
+
brand500: string;
|
|
6517
|
+
brand600: string;
|
|
6518
|
+
brand700: string;
|
|
6519
|
+
brand800: string;
|
|
6520
|
+
brand900: string;
|
|
6521
|
+
brand950: string;
|
|
6522
|
+
blue50: string;
|
|
6523
|
+
blue100: string;
|
|
6524
|
+
blue200: string;
|
|
6525
|
+
blue300: string;
|
|
6526
|
+
blue400: string;
|
|
6527
|
+
blue500: string;
|
|
6528
|
+
blue600: string;
|
|
6529
|
+
blue700: string;
|
|
6530
|
+
blue800: string;
|
|
6531
|
+
blue900: string;
|
|
6532
|
+
blue950: string;
|
|
6533
|
+
red50: string;
|
|
6534
|
+
red100: string;
|
|
6535
|
+
red200: string;
|
|
6536
|
+
red300: string;
|
|
6537
|
+
red400: string;
|
|
6538
|
+
red500: string;
|
|
6539
|
+
red600: string;
|
|
6540
|
+
red700: string;
|
|
6541
|
+
red800: string;
|
|
6542
|
+
red900: string;
|
|
6543
|
+
red950: string;
|
|
6544
|
+
purple50: string;
|
|
6545
|
+
purple100: string;
|
|
6546
|
+
purple200: string;
|
|
6547
|
+
purple300: string;
|
|
6548
|
+
purple400: string;
|
|
6549
|
+
purple500: string;
|
|
6550
|
+
purple600: string;
|
|
6551
|
+
purple700: string;
|
|
6552
|
+
purple800: string;
|
|
6553
|
+
purple900: string;
|
|
6554
|
+
purple950: string;
|
|
6555
|
+
yellow50: string;
|
|
6556
|
+
yellow100: string;
|
|
6557
|
+
yellow200: string;
|
|
6558
|
+
yellow300: string;
|
|
6559
|
+
yellow400: string;
|
|
6560
|
+
yellow500: string;
|
|
6561
|
+
yellow600: string;
|
|
6562
|
+
yellow700: string;
|
|
6563
|
+
yellow800: string;
|
|
6564
|
+
yellow900: string;
|
|
6565
|
+
yellow950: string;
|
|
6566
|
+
dark50: string;
|
|
6567
|
+
dark100: string;
|
|
6568
|
+
dark200: string;
|
|
6569
|
+
dark300: string;
|
|
6570
|
+
dark400: string;
|
|
6571
|
+
dark500: string;
|
|
6572
|
+
dark600: string;
|
|
6573
|
+
dark700: string;
|
|
6574
|
+
dark800: string;
|
|
6575
|
+
dark900: string;
|
|
6576
|
+
dark950: string;
|
|
6577
|
+
neutral50: string;
|
|
6578
|
+
neutral100: string;
|
|
6579
|
+
neutral200: string;
|
|
6580
|
+
neutral300: string;
|
|
6581
|
+
neutral400: string;
|
|
6582
|
+
neutral500: string;
|
|
6583
|
+
neutral600: string;
|
|
6584
|
+
neutral700: string;
|
|
6585
|
+
neutral800: string;
|
|
6586
|
+
neutral900: string;
|
|
6587
|
+
neutral950: string;
|
|
6588
|
+
green50: string;
|
|
6589
|
+
green100: string;
|
|
6590
|
+
green200: string;
|
|
6591
|
+
green300: string;
|
|
6592
|
+
green400: string;
|
|
6593
|
+
green500: string;
|
|
6594
|
+
green600: string;
|
|
6595
|
+
green700: string;
|
|
6596
|
+
green800: string;
|
|
6597
|
+
green900: string;
|
|
6598
|
+
green950: string;
|
|
6599
|
+
grey50: string;
|
|
6600
|
+
grey100: string;
|
|
6601
|
+
grey200: string;
|
|
6602
|
+
grey300: string;
|
|
6603
|
+
grey400: string;
|
|
6604
|
+
grey500: string;
|
|
6605
|
+
grey600: string;
|
|
6606
|
+
grey700: string;
|
|
6607
|
+
grey800: string;
|
|
6608
|
+
grey900: string;
|
|
6609
|
+
grey950: string;
|
|
6610
|
+
error50: string;
|
|
6611
|
+
error100: string;
|
|
6612
|
+
error200: string;
|
|
6613
|
+
error300: string;
|
|
6614
|
+
error400: string;
|
|
6615
|
+
error500: string;
|
|
6616
|
+
error600: string;
|
|
6617
|
+
error700: string;
|
|
6618
|
+
error800: string;
|
|
6619
|
+
error900: string;
|
|
6620
|
+
error950: string;
|
|
6621
|
+
success50: string;
|
|
6622
|
+
success100: string;
|
|
6623
|
+
success200: string;
|
|
6624
|
+
success300: string;
|
|
6625
|
+
success400: string;
|
|
6626
|
+
success500: string;
|
|
6627
|
+
success600: string;
|
|
6628
|
+
success700: string;
|
|
6629
|
+
success800: string;
|
|
6630
|
+
success900: string;
|
|
6631
|
+
success950: string;
|
|
6632
|
+
warning50: string;
|
|
6633
|
+
warning100: string;
|
|
6634
|
+
warning200: string;
|
|
6635
|
+
warning300: string;
|
|
6636
|
+
warning400: string;
|
|
6637
|
+
warning500: string;
|
|
6638
|
+
warning600: string;
|
|
6639
|
+
warning700: string;
|
|
6640
|
+
warning800: string;
|
|
6641
|
+
warning900: string;
|
|
6642
|
+
warning950: string;
|
|
6643
|
+
info50: string;
|
|
6644
|
+
info100: string;
|
|
6645
|
+
info200: string;
|
|
6646
|
+
info300: string;
|
|
6647
|
+
info400: string;
|
|
6648
|
+
info500: string;
|
|
6649
|
+
info600: string;
|
|
6650
|
+
info700: string;
|
|
6651
|
+
info800: string;
|
|
6652
|
+
info900: string;
|
|
6653
|
+
info950: string;
|
|
6654
|
+
};
|
|
6655
|
+
fontSizes: {
|
|
6656
|
+
2: string;
|
|
6657
|
+
4: string;
|
|
6658
|
+
6: string;
|
|
6659
|
+
8: string;
|
|
6660
|
+
10: string;
|
|
6661
|
+
12: string;
|
|
6662
|
+
13: string;
|
|
6663
|
+
14: string;
|
|
6664
|
+
16: string;
|
|
6665
|
+
18: string;
|
|
6666
|
+
20: string;
|
|
6667
|
+
22: string;
|
|
6668
|
+
24: string;
|
|
6669
|
+
32: string;
|
|
6670
|
+
36: string;
|
|
6671
|
+
40: string;
|
|
6672
|
+
48: string;
|
|
6673
|
+
56: string;
|
|
6674
|
+
64: string;
|
|
6675
|
+
72: string;
|
|
6676
|
+
80: string;
|
|
6677
|
+
xs: string;
|
|
6678
|
+
sm: string;
|
|
6679
|
+
md: string;
|
|
6680
|
+
lg: string;
|
|
6681
|
+
'2xl': string;
|
|
6682
|
+
'3xl': string;
|
|
6683
|
+
'4xl': string;
|
|
6684
|
+
full: string;
|
|
6685
|
+
};
|
|
6686
|
+
fonts: {
|
|
6687
|
+
default: string;
|
|
6688
|
+
};
|
|
6689
|
+
fontWeights: {
|
|
6690
|
+
regular: string;
|
|
6691
|
+
medium: string;
|
|
6692
|
+
semibold: string;
|
|
6693
|
+
bold: string;
|
|
6694
|
+
};
|
|
6695
|
+
lineHeights: {
|
|
6696
|
+
smaller: string;
|
|
6697
|
+
shorter: string;
|
|
6698
|
+
short: string;
|
|
6699
|
+
base: string;
|
|
6700
|
+
tall: string;
|
|
6701
|
+
};
|
|
6702
|
+
radii: {
|
|
6703
|
+
'3xs': string;
|
|
6704
|
+
'2xs': string;
|
|
6705
|
+
xs: string;
|
|
6706
|
+
sm: string;
|
|
6707
|
+
md: string;
|
|
6708
|
+
lg: string;
|
|
6709
|
+
xl: string;
|
|
6710
|
+
'2xl': string;
|
|
6711
|
+
'3xl': string;
|
|
6712
|
+
'4xl': string;
|
|
6713
|
+
'5xl': string;
|
|
6714
|
+
'6xl': string;
|
|
6715
|
+
'7xl': string;
|
|
6716
|
+
'8xl': string;
|
|
6717
|
+
'9xl': string;
|
|
6718
|
+
'10xl': string;
|
|
6719
|
+
'11xl': string;
|
|
6720
|
+
'12xl': string;
|
|
6721
|
+
'13xl': string;
|
|
6722
|
+
'14xl': string;
|
|
6723
|
+
full: string;
|
|
6724
|
+
};
|
|
6725
|
+
space: {
|
|
6726
|
+
2: string;
|
|
6727
|
+
4: string;
|
|
6728
|
+
6: string;
|
|
6729
|
+
8: string;
|
|
6730
|
+
10: string;
|
|
6731
|
+
12: string;
|
|
6732
|
+
13: string;
|
|
6733
|
+
14: string;
|
|
6734
|
+
16: string;
|
|
6735
|
+
18: string;
|
|
6736
|
+
20: string;
|
|
6737
|
+
22: string;
|
|
6738
|
+
24: string;
|
|
6739
|
+
32: string;
|
|
6740
|
+
36: string;
|
|
6741
|
+
40: string;
|
|
6742
|
+
48: string;
|
|
6743
|
+
56: string;
|
|
6744
|
+
64: string;
|
|
6745
|
+
72: string;
|
|
6746
|
+
80: string;
|
|
6747
|
+
full: string;
|
|
6748
|
+
};
|
|
6749
|
+
}, {
|
|
6750
|
+
height: "space";
|
|
6751
|
+
width: "space";
|
|
6752
|
+
gap: "space";
|
|
6753
|
+
gridGap: "space";
|
|
6754
|
+
columnGap: "space";
|
|
6755
|
+
gridColumnGap: "space";
|
|
6756
|
+
rowGap: "space";
|
|
6757
|
+
gridRowGap: "space";
|
|
6758
|
+
inset: "space";
|
|
6759
|
+
insetBlock: "space";
|
|
6760
|
+
insetBlockEnd: "space";
|
|
6761
|
+
insetBlockStart: "space";
|
|
6762
|
+
insetInline: "space";
|
|
6763
|
+
insetInlineEnd: "space";
|
|
6764
|
+
insetInlineStart: "space";
|
|
6765
|
+
margin: "space";
|
|
6766
|
+
marginTop: "space";
|
|
6767
|
+
marginRight: "space";
|
|
6768
|
+
marginBottom: "space";
|
|
6769
|
+
marginLeft: "space";
|
|
6770
|
+
marginBlock: "space";
|
|
6771
|
+
marginBlockEnd: "space";
|
|
6772
|
+
marginBlockStart: "space";
|
|
6773
|
+
marginInline: "space";
|
|
6774
|
+
marginInlineEnd: "space";
|
|
6775
|
+
marginInlineStart: "space";
|
|
6776
|
+
padding: "space";
|
|
6777
|
+
paddingTop: "space";
|
|
6778
|
+
paddingRight: "space";
|
|
6779
|
+
paddingBottom: "space";
|
|
6780
|
+
paddingLeft: "space";
|
|
6781
|
+
paddingBlock: "space";
|
|
6782
|
+
paddingBlockEnd: "space";
|
|
6783
|
+
paddingBlockStart: "space";
|
|
6784
|
+
paddingInline: "space";
|
|
6785
|
+
paddingInlineEnd: "space";
|
|
6786
|
+
paddingInlineStart: "space";
|
|
6787
|
+
scrollMargin: "space";
|
|
6788
|
+
scrollMarginTop: "space";
|
|
6789
|
+
scrollMarginRight: "space";
|
|
6790
|
+
scrollMarginBottom: "space";
|
|
6791
|
+
scrollMarginLeft: "space";
|
|
6792
|
+
scrollMarginBlock: "space";
|
|
6793
|
+
scrollMarginBlockEnd: "space";
|
|
6794
|
+
scrollMarginBlockStart: "space";
|
|
6795
|
+
scrollMarginInline: "space";
|
|
6796
|
+
scrollMarginInlineEnd: "space";
|
|
6797
|
+
scrollMarginInlineStart: "space";
|
|
6798
|
+
scrollPadding: "space";
|
|
6799
|
+
scrollPaddingTop: "space";
|
|
6800
|
+
scrollPaddingRight: "space";
|
|
6801
|
+
scrollPaddingBottom: "space";
|
|
6802
|
+
scrollPaddingLeft: "space";
|
|
6803
|
+
scrollPaddingBlock: "space";
|
|
6804
|
+
scrollPaddingBlockEnd: "space";
|
|
6805
|
+
scrollPaddingBlockStart: "space";
|
|
6806
|
+
scrollPaddingInline: "space";
|
|
6807
|
+
scrollPaddingInlineEnd: "space";
|
|
6808
|
+
scrollPaddingInlineStart: "space";
|
|
6809
|
+
top: "space";
|
|
6810
|
+
right: "space";
|
|
6811
|
+
bottom: "space";
|
|
6812
|
+
left: "space";
|
|
6813
|
+
fontSize: "fontSizes";
|
|
6814
|
+
background: "colors";
|
|
6815
|
+
backgroundColor: "colors";
|
|
6816
|
+
backgroundImage: "colors";
|
|
6817
|
+
borderImage: "colors";
|
|
6818
|
+
border: "colors";
|
|
6819
|
+
borderBlock: "colors";
|
|
6820
|
+
borderBlockEnd: "colors";
|
|
6821
|
+
borderBlockStart: "colors";
|
|
6822
|
+
borderBottom: "colors";
|
|
6823
|
+
borderBottomColor: "colors";
|
|
6824
|
+
borderColor: "colors";
|
|
6825
|
+
borderInline: "colors";
|
|
6826
|
+
borderInlineEnd: "colors";
|
|
6827
|
+
borderInlineStart: "colors";
|
|
6828
|
+
borderLeft: "colors";
|
|
6829
|
+
borderLeftColor: "colors";
|
|
6830
|
+
borderRight: "colors";
|
|
6831
|
+
borderRightColor: "colors";
|
|
6832
|
+
borderTop: "colors";
|
|
6833
|
+
borderTopColor: "colors";
|
|
6834
|
+
caretColor: "colors";
|
|
6835
|
+
color: "colors";
|
|
6836
|
+
columnRuleColor: "colors";
|
|
6837
|
+
outline: "colors";
|
|
6838
|
+
outlineColor: "colors";
|
|
6839
|
+
fill: "colors";
|
|
6840
|
+
stroke: "colors";
|
|
6841
|
+
textDecorationColor: "colors";
|
|
6842
|
+
fontFamily: "fonts";
|
|
6843
|
+
fontWeight: "fontWeights";
|
|
6844
|
+
lineHeight: "lineHeights";
|
|
6845
|
+
letterSpacing: "letterSpacings";
|
|
6846
|
+
blockSize: "sizes";
|
|
6847
|
+
minBlockSize: "sizes";
|
|
6848
|
+
maxBlockSize: "sizes";
|
|
6849
|
+
inlineSize: "sizes";
|
|
6850
|
+
minInlineSize: "sizes";
|
|
6851
|
+
maxInlineSize: "sizes";
|
|
6852
|
+
minWidth: "sizes";
|
|
6853
|
+
maxWidth: "sizes";
|
|
6854
|
+
minHeight: "sizes";
|
|
6855
|
+
maxHeight: "sizes";
|
|
6856
|
+
flexBasis: "sizes";
|
|
6857
|
+
gridTemplateColumns: "sizes";
|
|
6858
|
+
gridTemplateRows: "sizes";
|
|
6859
|
+
borderWidth: "borderWidths";
|
|
6860
|
+
borderTopWidth: "borderWidths";
|
|
6861
|
+
borderLeftWidth: "borderWidths";
|
|
6862
|
+
borderRightWidth: "borderWidths";
|
|
6863
|
+
borderBottomWidth: "borderWidths";
|
|
6864
|
+
borderStyle: "borderStyles";
|
|
6865
|
+
borderTopStyle: "borderStyles";
|
|
6866
|
+
borderLeftStyle: "borderStyles";
|
|
6867
|
+
borderRightStyle: "borderStyles";
|
|
6868
|
+
borderBottomStyle: "borderStyles";
|
|
6869
|
+
borderRadius: "radii";
|
|
6870
|
+
borderTopLeftRadius: "radii";
|
|
6871
|
+
borderTopRightRadius: "radii";
|
|
6872
|
+
borderBottomRightRadius: "radii";
|
|
6873
|
+
borderBottomLeftRadius: "radii";
|
|
6874
|
+
boxShadow: "shadows";
|
|
6875
|
+
textShadow: "shadows";
|
|
6876
|
+
transition: "transitions";
|
|
6877
|
+
zIndex: "zIndices";
|
|
6878
|
+
}, {}>>;
|
|
6509
6879
|
type TimePickerProps = {
|
|
6510
6880
|
selected: string | undefined;
|
|
6511
6881
|
setSelected: react__default.Dispatch<react__default.SetStateAction<string | undefined>>;
|
|
@@ -12980,4 +13350,4 @@ type SectionProps = ComponentProps<typeof SectionStyled> & {
|
|
|
12980
13350
|
};
|
|
12981
13351
|
declare function Section({ children, ...props }: SectionProps): react_jsx_runtime.JSX.Element;
|
|
12982
13352
|
|
|
12983
|
-
export { Alert, AlertDialogCompleteStyled, AlertDialogDescriptionStyled, AlertDialogRowStyled, AlertDialogSimpleStyled, AlertDialogSubtitleStyled, AlertDialogTitleStyled, AlertDialoghrStyled, type AlertProps, Avatar, type AvatarProps, AvatarStyled, Badge, type BadgeProps, BadgeStyled, Box, Button, ButtonGroup, type ButtonGroupProps, ButtonGroupStyled, ButtonItem, type ButtonItemProps, ButtonItemStyled, type ButtonProps, Calendar, type CalendarProps, Card, CardContainer, type CardProps, CardStyled, CheckboxGroup, type CheckboxGroupProps, CheckboxGroupStyled, CheckboxItem, type CheckboxItemProps, Container, type ContainerProps, ContainerStyled, DropdownMenu, DropdownMenuItem, type DropdownMenuItemProps, type DropdownMenuProps, Filter, FilterItem, type FilterItemProps, type FilterProps, Flex, type FlexProps, FlexStyled, Grid, type GridProps, GridStyled, Icon, InputStyled, Modal, type ModalProps, RadioGroup, type RadioGroupProps, RadioGroupStyled, RadioItem, type RadioItemProps, Section, type SectionProps, SectionStyled, Step, StepContent, StepList, type StepProps, StepStyled, StepTrigger, StepWrapper, Switch, type SwitchProps, SwitchStyled, Text, TextField, type TextFieldProps, TextFieldSlot, type TextFieldSlotProps, TextFieldSlotStyled, TextFieldStyled, type TextProps, TextStyle, TextareaField, type TextareaFieldProps, TextareaFieldStyle, TimePicker, TimePickerDropdownStyled, TimePickerFooterStyled, type TimePickerProps, TimePickerStyled, TimerPickerContentStyled, type Toast, type ToastComponentProps, type ToastConfig, type ToastContextType, ToastItem, type ToastOptions, ToastProvider, type ToastProviderProps, type ToastType, type ToasterShowOptions, Tooltip, TooltipContent, type TooltipProps, TooltipProvider, TooltipRoot, TooltipTrigger, maskFormat, maskUnformat, useToast };
|
|
13353
|
+
export { Alert, AlertDialogCompleteStyled, AlertDialogDescriptionStyled, AlertDialogRowStyled, AlertDialogSimpleStyled, AlertDialogSubtitleStyled, AlertDialogTitleStyled, AlertDialoghrStyled, type AlertProps, Avatar, type AvatarProps, AvatarStyled, Badge, type BadgeProps, BadgeStyled, Box, Button, ButtonGroup, type ButtonGroupProps, ButtonGroupStyled, ButtonItem, type ButtonItemProps, ButtonItemStyled, type ButtonProps, Calendar, type CalendarProps, Card, CardContainer, type CardProps, CardStyled, CheckboxGroup, type CheckboxGroupProps, CheckboxGroupStyled, CheckboxItem, type CheckboxItemProps, Container, type ContainerProps, ContainerStyled, DropdownMenu, DropdownMenuItem, type DropdownMenuItemProps, type DropdownMenuProps, Filter, FilterItem, type FilterItemProps, type FilterProps, Flex, type FlexProps, FlexStyled, Grid, type GridProps, GridStyled, Icon, InputStyled, Modal, type ModalProps, RadioGroup, type RadioGroupProps, RadioGroupStyled, RadioItem, type RadioItemProps, Section, type SectionProps, SectionStyled, Step, StepContent, StepList, type StepProps, StepStyled, StepTrigger, StepWrapper, Switch, type SwitchProps, SwitchStyled, Text, TextField, type TextFieldProps, TextFieldSlot, type TextFieldSlotProps, TextFieldSlotStyled, TextFieldStyled, type TextProps, TextStyle, TextareaField, type TextareaFieldProps, TextareaFieldStyle, TimePicker, TimePickerButtonStyled, TimePickerDropdownStyled, TimePickerFooterStyled, type TimePickerProps, TimePickerStyled, TimerPickerContentStyled, type Toast, type ToastComponentProps, type ToastConfig, type ToastContextType, ToastItem, type ToastOptions, ToastProvider, type ToastProviderProps, type ToastType, type ToasterShowOptions, Tooltip, TooltipContent, type TooltipProps, TooltipProvider, TooltipRoot, TooltipTrigger, maskFormat, maskUnformat, useToast };
|
package/dist/index.js
CHANGED
|
@@ -1071,6 +1071,7 @@ __export(index_exports, {
|
|
|
1071
1071
|
TextareaField: () => TextareaField,
|
|
1072
1072
|
TextareaFieldStyle: () => TextareaFieldStyle,
|
|
1073
1073
|
TimePicker: () => TimePicker,
|
|
1074
|
+
TimePickerButtonStyled: () => TimePickerButtonStyled,
|
|
1074
1075
|
TimePickerDropdownStyled: () => TimePickerDropdownStyled,
|
|
1075
1076
|
TimePickerFooterStyled: () => TimePickerFooterStyled,
|
|
1076
1077
|
TimePickerStyled: () => TimePickerStyled,
|
|
@@ -7602,6 +7603,7 @@ var CalendarButtonStyled = styled("button", {
|
|
|
7602
7603
|
border: "none",
|
|
7603
7604
|
maxWidth: "200px",
|
|
7604
7605
|
padding: "0",
|
|
7606
|
+
cursor: "pointer",
|
|
7605
7607
|
"> div > div": {
|
|
7606
7608
|
paddingLeft: "1rem",
|
|
7607
7609
|
"input": {
|
|
@@ -7988,6 +7990,19 @@ var InputStyled = styled("input", {
|
|
|
7988
7990
|
MozAppearance: "textfield"
|
|
7989
7991
|
}
|
|
7990
7992
|
});
|
|
7993
|
+
var TimePickerButtonStyled = styled("button", {
|
|
7994
|
+
backgroundColor: "transparent",
|
|
7995
|
+
border: "none",
|
|
7996
|
+
maxWidth: "200px",
|
|
7997
|
+
padding: "0",
|
|
7998
|
+
cursor: "pointer",
|
|
7999
|
+
"> div > div": {
|
|
8000
|
+
paddingLeft: "1rem",
|
|
8001
|
+
input: {
|
|
8002
|
+
textAlign: "right"
|
|
8003
|
+
}
|
|
8004
|
+
}
|
|
8005
|
+
});
|
|
7991
8006
|
var pad = (num) => String(num).padStart(2, "0");
|
|
7992
8007
|
function TimePicker({
|
|
7993
8008
|
selected,
|
|
@@ -8031,16 +8046,22 @@ function TimePicker({
|
|
|
8031
8046
|
);
|
|
8032
8047
|
return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(TimePickerStyled, { ref: dropdownRef, children: [
|
|
8033
8048
|
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
8034
|
-
|
|
8049
|
+
TimePickerButtonStyled,
|
|
8035
8050
|
{
|
|
8036
|
-
|
|
8037
|
-
readOnly: true,
|
|
8038
|
-
type: "text",
|
|
8039
|
-
placeholder: "00:00",
|
|
8040
|
-
typography: "labelSmall",
|
|
8041
|
-
fontWeight: "regular",
|
|
8051
|
+
type: "button",
|
|
8042
8052
|
onClick: () => setIsOpen((prev) => !prev),
|
|
8043
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
8053
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
8054
|
+
TextField,
|
|
8055
|
+
{
|
|
8056
|
+
value: selected,
|
|
8057
|
+
readOnly: true,
|
|
8058
|
+
type: "text",
|
|
8059
|
+
placeholder: "00:00",
|
|
8060
|
+
typography: "labelSmall",
|
|
8061
|
+
fontWeight: "regular",
|
|
8062
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(TextFieldSlot, { children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Icon_default, { name: "clock", size: "xl" }) })
|
|
8063
|
+
}
|
|
8064
|
+
)
|
|
8044
8065
|
}
|
|
8045
8066
|
),
|
|
8046
8067
|
isOpen && /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
|
|
@@ -9315,6 +9336,7 @@ function Section(_a) {
|
|
|
9315
9336
|
TextareaField,
|
|
9316
9337
|
TextareaFieldStyle,
|
|
9317
9338
|
TimePicker,
|
|
9339
|
+
TimePickerButtonStyled,
|
|
9318
9340
|
TimePickerDropdownStyled,
|
|
9319
9341
|
TimePickerFooterStyled,
|
|
9320
9342
|
TimePickerStyled,
|
package/dist/index.mjs
CHANGED
|
@@ -7516,6 +7516,7 @@ var CalendarButtonStyled = styled("button", {
|
|
|
7516
7516
|
border: "none",
|
|
7517
7517
|
maxWidth: "200px",
|
|
7518
7518
|
padding: "0",
|
|
7519
|
+
cursor: "pointer",
|
|
7519
7520
|
"> div > div": {
|
|
7520
7521
|
paddingLeft: "1rem",
|
|
7521
7522
|
"input": {
|
|
@@ -7902,6 +7903,19 @@ var InputStyled = styled("input", {
|
|
|
7902
7903
|
MozAppearance: "textfield"
|
|
7903
7904
|
}
|
|
7904
7905
|
});
|
|
7906
|
+
var TimePickerButtonStyled = styled("button", {
|
|
7907
|
+
backgroundColor: "transparent",
|
|
7908
|
+
border: "none",
|
|
7909
|
+
maxWidth: "200px",
|
|
7910
|
+
padding: "0",
|
|
7911
|
+
cursor: "pointer",
|
|
7912
|
+
"> div > div": {
|
|
7913
|
+
paddingLeft: "1rem",
|
|
7914
|
+
input: {
|
|
7915
|
+
textAlign: "right"
|
|
7916
|
+
}
|
|
7917
|
+
}
|
|
7918
|
+
});
|
|
7905
7919
|
var pad = (num) => String(num).padStart(2, "0");
|
|
7906
7920
|
function TimePicker({
|
|
7907
7921
|
selected,
|
|
@@ -7945,16 +7959,22 @@ function TimePicker({
|
|
|
7945
7959
|
);
|
|
7946
7960
|
return /* @__PURE__ */ jsxs6(TimePickerStyled, { ref: dropdownRef, children: [
|
|
7947
7961
|
/* @__PURE__ */ jsx15(
|
|
7948
|
-
|
|
7962
|
+
TimePickerButtonStyled,
|
|
7949
7963
|
{
|
|
7950
|
-
|
|
7951
|
-
readOnly: true,
|
|
7952
|
-
type: "text",
|
|
7953
|
-
placeholder: "00:00",
|
|
7954
|
-
typography: "labelSmall",
|
|
7955
|
-
fontWeight: "regular",
|
|
7964
|
+
type: "button",
|
|
7956
7965
|
onClick: () => setIsOpen((prev) => !prev),
|
|
7957
|
-
children: /* @__PURE__ */ jsx15(
|
|
7966
|
+
children: /* @__PURE__ */ jsx15(
|
|
7967
|
+
TextField,
|
|
7968
|
+
{
|
|
7969
|
+
value: selected,
|
|
7970
|
+
readOnly: true,
|
|
7971
|
+
type: "text",
|
|
7972
|
+
placeholder: "00:00",
|
|
7973
|
+
typography: "labelSmall",
|
|
7974
|
+
fontWeight: "regular",
|
|
7975
|
+
children: /* @__PURE__ */ jsx15(TextFieldSlot, { children: /* @__PURE__ */ jsx15(Icon_default, { name: "clock", size: "xl" }) })
|
|
7976
|
+
}
|
|
7977
|
+
)
|
|
7958
7978
|
}
|
|
7959
7979
|
),
|
|
7960
7980
|
isOpen && /* @__PURE__ */ jsxs6(
|
|
@@ -9228,6 +9248,7 @@ export {
|
|
|
9228
9248
|
TextareaField,
|
|
9229
9249
|
TextareaFieldStyle,
|
|
9230
9250
|
TimePicker,
|
|
9251
|
+
TimePickerButtonStyled,
|
|
9231
9252
|
TimePickerDropdownStyled,
|
|
9232
9253
|
TimePickerFooterStyled,
|
|
9233
9254
|
TimePickerStyled,
|
package/package.json
CHANGED
|
@@ -95,6 +95,20 @@ export const InputStyled = styled("input", {
|
|
|
95
95
|
},
|
|
96
96
|
});
|
|
97
97
|
|
|
98
|
+
export const TimePickerButtonStyled = styled("button", {
|
|
99
|
+
backgroundColor: "transparent",
|
|
100
|
+
border: "none",
|
|
101
|
+
maxWidth: "200px",
|
|
102
|
+
padding: "0",
|
|
103
|
+
cursor: "pointer",
|
|
104
|
+
"> div > div": {
|
|
105
|
+
paddingLeft: "1rem",
|
|
106
|
+
input: {
|
|
107
|
+
textAlign: "right",
|
|
108
|
+
},
|
|
109
|
+
},
|
|
110
|
+
});
|
|
111
|
+
|
|
98
112
|
export type TimePickerProps = {
|
|
99
113
|
selected: string | undefined;
|
|
100
114
|
setSelected: React.Dispatch<React.SetStateAction<string | undefined>>;
|
|
@@ -147,19 +161,23 @@ export function TimePicker({
|
|
|
147
161
|
|
|
148
162
|
return (
|
|
149
163
|
<TimePickerStyled ref={dropdownRef}>
|
|
150
|
-
<
|
|
151
|
-
|
|
152
|
-
readOnly
|
|
153
|
-
type="text"
|
|
154
|
-
placeholder="00:00"
|
|
155
|
-
typography="labelSmall"
|
|
156
|
-
fontWeight="regular"
|
|
164
|
+
<TimePickerButtonStyled
|
|
165
|
+
type="button"
|
|
157
166
|
onClick={() => setIsOpen((prev) => !prev)}
|
|
158
167
|
>
|
|
159
|
-
<
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
168
|
+
<TextField
|
|
169
|
+
value={selected}
|
|
170
|
+
readOnly
|
|
171
|
+
type="text"
|
|
172
|
+
placeholder="00:00"
|
|
173
|
+
typography="labelSmall"
|
|
174
|
+
fontWeight="regular"
|
|
175
|
+
>
|
|
176
|
+
<TextFieldSlot>
|
|
177
|
+
<Icon name="clock" size="xl" />
|
|
178
|
+
</TextFieldSlot>
|
|
179
|
+
</TextField>
|
|
180
|
+
</TimePickerButtonStyled>
|
|
163
181
|
|
|
164
182
|
{isOpen && (
|
|
165
183
|
<TimePickerDropdownStyled
|