@cruk/chakra-components 1.0.1 → 1.0.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/dist/cjs/node_modules/@chakra-ui/anatomy/dist/chunk-7OOI6RFH.mjs.js +1 -1
- package/dist/cjs/node_modules/@chakra-ui/anatomy/dist/chunk-7OOI6RFH.mjs.js.map +1 -1
- package/dist/cjs/packages/components/src/components/Checkbox/index.js +2 -0
- package/dist/cjs/packages/components/src/components/Checkbox/index.js.map +1 -0
- package/dist/cjs/packages/components/src/components/DatePicker/index.js +2 -0
- package/dist/cjs/packages/components/src/components/DatePicker/index.js.map +1 -0
- package/dist/cjs/packages/components/src/components/Input/InputPercentage.js +2 -0
- package/dist/cjs/packages/components/src/components/Input/InputPercentage.js.map +1 -0
- package/dist/cjs/packages/components/src/components/Input/index.js +1 -1
- package/dist/cjs/packages/components/src/components/InputTextArea/index.js +2 -0
- package/dist/cjs/packages/components/src/components/InputTextArea/index.js.map +1 -0
- package/dist/cjs/packages/components/src/components/Link/index.js +1 -1
- package/dist/cjs/packages/components/src/components/Navigation/index.js +1 -1
- package/dist/cjs/packages/components/src/components/NumberInput/index.js +2 -0
- package/dist/cjs/packages/components/src/components/NumberInput/index.js.map +1 -0
- package/dist/cjs/packages/components/src/components/Stepper/index.js +1 -1
- package/dist/cjs/packages/components/src/index.js +1 -1
- package/dist/cjs/packages/components/src/theme/cruk/components/checkbox.js +2 -0
- package/dist/cjs/packages/components/src/theme/cruk/components/checkbox.js.map +1 -0
- package/dist/cjs/packages/components/src/theme/cruk/components/formControl.js +1 -1
- package/dist/cjs/packages/components/src/theme/cruk/components/input.js +1 -1
- package/dist/cjs/packages/components/src/theme/cruk/components/inputNumber.js +2 -0
- package/dist/cjs/packages/components/src/theme/cruk/components/inputNumber.js.map +1 -0
- package/dist/cjs/packages/components/src/theme/cruk/components/inputTextArea.js +2 -0
- package/dist/cjs/packages/components/src/theme/cruk/components/inputTextArea.js.map +1 -0
- package/dist/cjs/packages/components/src/theme/cruk/components/popover.js +1 -1
- package/dist/cjs/packages/components/src/theme/cruk/components/radio.js +1 -1
- package/dist/cjs/packages/components/src/theme/cruk/components/select.js +1 -1
- package/dist/cjs/packages/components/src/theme/cruk/components/text.js +1 -1
- package/dist/cjs/packages/components/src/theme/cruk/components/textAreaInput.js +2 -0
- package/dist/cjs/packages/components/src/theme/cruk/components/textAreaInput.js.map +1 -0
- package/dist/cjs/packages/components/src/theme/cruk/foundations/colors.js +1 -1
- package/dist/cjs/packages/components/src/theme/cruk/foundations/semantic-tokens.js +1 -1
- package/dist/cjs/packages/components/src/theme/cruk/index.js +1 -1
- package/dist/cjs/packages/components/src/theme/r4l/index.js +1 -1
- package/dist/cjs/packages/components/static/icons/royalties-grants.js +1 -1
- package/dist/esm/node_modules/@chakra-ui/anatomy/dist/chunk-7OOI6RFH.mjs.js +1 -1
- package/dist/esm/node_modules/@chakra-ui/anatomy/dist/chunk-7OOI6RFH.mjs.js.map +1 -1
- package/dist/esm/packages/components/src/components/Checkbox/index.js +2 -0
- package/dist/esm/packages/components/src/components/Checkbox/index.js.map +1 -0
- package/dist/esm/packages/components/src/components/DatePicker/index.js +2 -0
- package/dist/esm/packages/components/src/components/DatePicker/index.js.map +1 -0
- package/dist/esm/packages/components/src/components/Input/InputPercentage.js +2 -0
- package/dist/esm/packages/components/src/components/Input/InputPercentage.js.map +1 -0
- package/dist/esm/packages/components/src/components/Input/index.js +1 -1
- package/dist/esm/packages/components/src/components/InputTextArea/index.js +2 -0
- package/dist/esm/packages/components/src/components/InputTextArea/index.js.map +1 -0
- package/dist/esm/packages/components/src/components/Link/index.js +1 -1
- package/dist/esm/packages/components/src/components/Navigation/index.js +1 -1
- package/dist/esm/packages/components/src/components/NumberInput/index.js +2 -0
- package/dist/esm/packages/components/src/components/NumberInput/index.js.map +1 -0
- package/dist/esm/packages/components/src/components/Stepper/index.js +1 -1
- package/dist/esm/packages/components/src/index.js +1 -1
- package/dist/esm/packages/components/src/theme/cruk/components/checkbox.js +2 -0
- package/dist/esm/packages/components/src/theme/cruk/components/checkbox.js.map +1 -0
- package/dist/esm/packages/components/src/theme/cruk/components/formControl.js +1 -1
- package/dist/esm/packages/components/src/theme/cruk/components/input.js +1 -1
- package/dist/esm/packages/components/src/theme/cruk/components/inputNumber.js +2 -0
- package/dist/esm/packages/components/src/theme/cruk/components/inputNumber.js.map +1 -0
- package/dist/esm/packages/components/src/theme/cruk/components/inputTextArea.js +2 -0
- package/dist/esm/packages/components/src/theme/cruk/components/inputTextArea.js.map +1 -0
- package/dist/esm/packages/components/src/theme/cruk/components/popover.js +1 -1
- package/dist/esm/packages/components/src/theme/cruk/components/radio.js +1 -1
- package/dist/esm/packages/components/src/theme/cruk/components/select.js +1 -1
- package/dist/esm/packages/components/src/theme/cruk/components/text.js +1 -1
- package/dist/esm/packages/components/src/theme/cruk/components/textAreaInput.js +2 -0
- package/dist/esm/packages/components/src/theme/cruk/components/textAreaInput.js.map +1 -0
- package/dist/esm/packages/components/src/theme/cruk/foundations/colors.js +1 -1
- package/dist/esm/packages/components/src/theme/cruk/foundations/semantic-tokens.js +1 -1
- package/dist/esm/packages/components/src/theme/cruk/index.js +1 -1
- package/dist/esm/packages/components/src/theme/r4l/index.js +1 -1
- package/dist/esm/packages/components/static/icons/royalties-grants.js +1 -1
- package/dist/types/src/components/Checkbox/Checkbox.stories.d.ts +7 -0
- package/dist/types/src/components/Checkbox/Checkbox.stories.d.ts.map +1 -0
- package/dist/types/src/components/Checkbox/Checkbox.test.d.ts +2 -0
- package/dist/types/src/components/Checkbox/Checkbox.test.d.ts.map +1 -0
- package/dist/types/src/components/Checkbox/index.d.ts +6 -0
- package/dist/types/src/components/Checkbox/index.d.ts.map +1 -0
- package/dist/types/src/components/DatePicker/DatePicker.stories.d.ts +12 -0
- package/dist/types/src/components/DatePicker/DatePicker.stories.d.ts.map +1 -0
- package/dist/types/src/components/DatePicker/index.d.ts +4 -0
- package/dist/types/src/components/DatePicker/index.d.ts.map +1 -0
- package/dist/types/src/components/Input/Input.stories.d.ts.map +1 -1
- package/dist/types/src/components/Input/InputPercentage.d.ts +7 -0
- package/dist/types/src/components/Input/InputPercentage.d.ts.map +1 -0
- package/dist/types/src/components/Input/index.d.ts +1 -1
- package/dist/types/src/components/Input/index.d.ts.map +1 -1
- package/dist/types/src/components/InputTextArea/InputTextArea.stories.d.ts +7 -0
- package/dist/types/src/components/InputTextArea/InputTextArea.stories.d.ts.map +1 -0
- package/dist/types/src/components/InputTextArea/index.d.ts +4 -0
- package/dist/types/src/components/InputTextArea/index.d.ts.map +1 -0
- package/dist/types/src/components/Link/index.d.ts.map +1 -1
- package/dist/types/src/components/Navigation/index.d.ts.map +1 -1
- package/dist/types/src/components/NumberInput/Number.stories.d.ts +7 -0
- package/dist/types/src/components/NumberInput/Number.stories.d.ts.map +1 -0
- package/dist/types/src/components/NumberInput/index.d.ts +6 -0
- package/dist/types/src/components/NumberInput/index.d.ts.map +1 -0
- package/dist/types/src/components/PopOver/Popover.stories.d.ts +1 -0
- package/dist/types/src/components/PopOver/Popover.stories.d.ts.map +1 -1
- package/dist/types/src/components/Radio/Radio.stories.d.ts +1 -1
- package/dist/types/src/components/Radio/Radio.stories.d.ts.map +1 -1
- package/dist/types/src/components/Stepper/Stepper.stories.d.ts.map +1 -1
- package/dist/types/src/components/Stepper/index.d.ts +1 -2
- package/dist/types/src/components/Stepper/index.d.ts.map +1 -1
- package/dist/types/src/components/Textarea/index.d.ts +3 -0
- package/dist/types/src/components/Textarea/index.d.ts.map +1 -0
- package/dist/types/src/index.d.ts +6 -1
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/theme/cruk/components/checkbox.d.ts +69 -0
- package/dist/types/src/theme/cruk/components/checkbox.d.ts.map +1 -0
- package/dist/types/src/theme/cruk/components/formControl.d.ts +8 -6
- package/dist/types/src/theme/cruk/components/formControl.d.ts.map +1 -1
- package/dist/types/src/theme/cruk/components/index.d.ts +3 -0
- package/dist/types/src/theme/cruk/components/index.d.ts.map +1 -1
- package/dist/types/src/theme/cruk/components/input.d.ts +86 -25
- package/dist/types/src/theme/cruk/components/input.d.ts.map +1 -1
- package/dist/types/src/theme/cruk/components/inputNumber.d.ts +129 -0
- package/dist/types/src/theme/cruk/components/inputNumber.d.ts.map +1 -0
- package/dist/types/src/theme/cruk/components/inputTextArea.d.ts +46 -0
- package/dist/types/src/theme/cruk/components/inputTextArea.d.ts.map +1 -0
- package/dist/types/src/theme/cruk/components/popover.d.ts +48 -2
- package/dist/types/src/theme/cruk/components/popover.d.ts.map +1 -1
- package/dist/types/src/theme/cruk/components/radio.d.ts +151 -12
- package/dist/types/src/theme/cruk/components/radio.d.ts.map +1 -1
- package/dist/types/src/theme/cruk/components/select.d.ts +24 -10
- package/dist/types/src/theme/cruk/components/select.d.ts.map +1 -1
- package/dist/types/src/theme/cruk/components/text.d.ts +8 -1
- package/dist/types/src/theme/cruk/components/text.d.ts.map +1 -1
- package/dist/types/src/theme/cruk/components/textAreaInput.d.ts +53 -0
- package/dist/types/src/theme/cruk/components/textAreaInput.d.ts.map +1 -0
- package/dist/types/src/theme/cruk/index.d.ts.map +1 -1
- package/dist/types/static/icons/royalties-grants.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { StepperProps as ChakraStepperProps } from "@chakra-ui/react";
|
|
2
|
-
interface StepperProps extends ChakraStepperProps {
|
|
2
|
+
interface StepperProps extends Omit<ChakraStepperProps, "children"> {
|
|
3
3
|
steps: string[];
|
|
4
|
-
current: number;
|
|
5
4
|
}
|
|
6
5
|
declare const Stepper: import("@chakra-ui/react").ComponentWithAs<"div", StepperProps>;
|
|
7
6
|
export { Stepper, type StepperProps };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Stepper/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAML,YAAY,IAAI,kBAAkB,EAMnC,MAAM,kBAAkB,CAAC;AAE1B,UAAU,YAAa,SAAQ,kBAAkB
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Stepper/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAML,YAAY,IAAI,kBAAkB,EAMnC,MAAM,kBAAkB,CAAC;AAE1B,UAAU,YAAa,SAAQ,IAAI,CAAC,kBAAkB,EAAE,UAAU,CAAC;IACjE,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB;AAED,QAAA,MAAM,OAAO,iEAgBX,CAAC;AAEH,OAAO,EAAE,OAAO,EAAE,KAAK,YAAY,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/Textarea/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAE3D,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,CAAC"}
|
|
@@ -8,7 +8,9 @@ export { Badge } from "./components/Badge";
|
|
|
8
8
|
export { Breadcrumb, BreadcrumbItem, type BreadcrumbItemProps, BreadcrumbLink, } from "./components/Breadcrumb";
|
|
9
9
|
export { Button, ButtonGroup, type ButtonProps } from "./components/Button";
|
|
10
10
|
export { Card, type CardProps, CardStack, type CardStackProps, } from "./components/Card";
|
|
11
|
+
export { Checkbox } from "./components/Checkbox";
|
|
11
12
|
export { CircleDevice } from "./components/CircleDevice";
|
|
13
|
+
export { default as DatePicker } from "./components/DatePicker";
|
|
12
14
|
export { DonateWidget } from "./components/DonateWidget";
|
|
13
15
|
export { Footer, type FooterNavigationLink, type FooterProps, type ImageLink, } from "./components/Footer";
|
|
14
16
|
export { Footnote } from "./components/Footnote";
|
|
@@ -17,12 +19,14 @@ export { FormField } from "./components/FormField";
|
|
|
17
19
|
export { GoogleMapEmbed } from "./components/GoogleMapEmbed";
|
|
18
20
|
export { Heading, Heading1, Heading2, Heading3, Heading4, Heading5, Heading6, type HeadingProps, } from "./components/Heading";
|
|
19
21
|
export { Image, type ImageProps } from "./components/Image";
|
|
20
|
-
export { Input, InputAddon, InputGroup, InputLeftAddon, InputLeftElement, InputRightAddon, InputRightElement, } from "./components/Input
|
|
22
|
+
export { Input, InputAddon, InputGroup, InputLeftAddon, InputLeftElement, InputRightAddon, InputRightElement, } from "./components/Input";
|
|
23
|
+
export { default as InputTextArea } from "./components/InputTextArea";
|
|
21
24
|
export { Link, LinkOverlay } from "./components/Link";
|
|
22
25
|
export { ArrowDownListItem, CheckList, CheckListItem, List, ListIcon, ListItem, OrderedList, UnorderedList, } from "./components/List";
|
|
23
26
|
export { Loader } from "./components/Loader";
|
|
24
27
|
export { LogoGroup, type LogoGroupProps, type LogoProps, } from "./components/LogoGroup";
|
|
25
28
|
export { Navigation, type NavigationProps } from "./components/Navigation";
|
|
29
|
+
export { NumberInput } from "./components/NumberInput";
|
|
26
30
|
export { Popover, PopoverAnchor, PopoverArrow, PopoverBody, PopoverCloseButton, PopoverContent, PopoverFooter, PopoverHeader, type PopoverProps, PopoverTrigger, } from "./components/PopOver";
|
|
27
31
|
export { ProgressBar } from "./components/ProgressBar";
|
|
28
32
|
export { Radio, RadioGroup } from "./components/Radio";
|
|
@@ -36,6 +40,7 @@ export { Stepper } from "./components/Stepper";
|
|
|
36
40
|
export { Tab, TabList, TabPanel, TabPanels, Tabs } from "./components/Tabs";
|
|
37
41
|
export { Tag, type TagProps } from "./components/Tag";
|
|
38
42
|
export { Text, type TextProps } from "./components/Text";
|
|
43
|
+
export { Textarea, type TextareaProps } from "./components/Textarea";
|
|
39
44
|
export { TextTruncate } from "./components/TextTruncate";
|
|
40
45
|
export { ToggleGroup } from "./components/Toggle";
|
|
41
46
|
export { Totaliser } from "./components/Totaliser";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,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AAE,MAAM,2BAA2B,CAAC;AAEzD,OAAO,EAAE,GAAG,EAAE,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EACL,gBAAgB,EAChB,kBAAkB,GACnB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EACL,KAAK,EACL,cAAc,EACd,KAAK,EACL,EAAE,EACF,EAAE,EACF,KAAK,EACL,EAAE,GACH,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAEnD,cAAc,SAAS,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
declare const checkboxTheme: {
|
|
2
|
+
baseStyle?: {
|
|
3
|
+
control: {
|
|
4
|
+
borderColor: string;
|
|
5
|
+
border: string;
|
|
6
|
+
borderRadius: string;
|
|
7
|
+
backgroundColor: string;
|
|
8
|
+
boxSize: string;
|
|
9
|
+
_hover: {
|
|
10
|
+
border: string;
|
|
11
|
+
};
|
|
12
|
+
_active: {
|
|
13
|
+
border: string;
|
|
14
|
+
};
|
|
15
|
+
_checked: {
|
|
16
|
+
border: string;
|
|
17
|
+
backgroundColor: string;
|
|
18
|
+
color: string;
|
|
19
|
+
_hover: {
|
|
20
|
+
backgroundColor: string;
|
|
21
|
+
border: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
_disabled: {
|
|
25
|
+
border: string;
|
|
26
|
+
backgroundColor: string;
|
|
27
|
+
_checked: {
|
|
28
|
+
color: string;
|
|
29
|
+
border: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
_invalid: {
|
|
33
|
+
border: string;
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
label: {
|
|
37
|
+
fontFamily: string;
|
|
38
|
+
color: string;
|
|
39
|
+
marginInlineStart: number;
|
|
40
|
+
_disabled: {
|
|
41
|
+
color: string;
|
|
42
|
+
};
|
|
43
|
+
_invalid: {
|
|
44
|
+
color: string;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
container: {
|
|
48
|
+
alignItems: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
sizes?: {
|
|
52
|
+
[key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
|
|
53
|
+
keys: ("container" | "icon" | "label" | "control")[];
|
|
54
|
+
}>;
|
|
55
|
+
};
|
|
56
|
+
variants?: {
|
|
57
|
+
[key: string]: import("@chakra-ui/styled-system").PartsStyleInterpolation<{
|
|
58
|
+
keys: ("container" | "icon" | "label" | "control")[];
|
|
59
|
+
}>;
|
|
60
|
+
};
|
|
61
|
+
defaultProps?: {
|
|
62
|
+
size?: string | number;
|
|
63
|
+
variant?: string | number;
|
|
64
|
+
colorScheme?: string;
|
|
65
|
+
};
|
|
66
|
+
parts: ("container" | "icon" | "label" | "control")[];
|
|
67
|
+
};
|
|
68
|
+
export default checkboxTheme;
|
|
69
|
+
//# sourceMappingURL=checkbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../../../../src/theme/cruk/components/checkbox.ts"],"names":[],"mappings":"AAyDA,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKjB,CAAC;AACH,eAAe,aAAa,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const formControlTheme: {
|
|
2
2
|
baseStyle?: {
|
|
3
3
|
container: {
|
|
4
|
-
|
|
4
|
+
maxWidth: string;
|
|
5
5
|
position: string;
|
|
6
6
|
label: {
|
|
7
7
|
color: string;
|
|
@@ -11,14 +11,15 @@ declare const formControlTheme: {
|
|
|
11
11
|
base: "text.sm";
|
|
12
12
|
lg: "text.md";
|
|
13
13
|
};
|
|
14
|
+
lineHeight: string;
|
|
14
15
|
transitionDuration: string;
|
|
16
|
+
"& span:not(.chakra-form__required-indicator, .chakra-checkbox__control)": {
|
|
17
|
+
color: string;
|
|
18
|
+
};
|
|
15
19
|
"& span": {
|
|
16
20
|
fontWeight: string;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
base: "sm";
|
|
20
|
-
lg: "md";
|
|
21
|
-
};
|
|
21
|
+
fontSize: string;
|
|
22
|
+
lineHeight: string;
|
|
22
23
|
};
|
|
23
24
|
_invalid: {
|
|
24
25
|
color: string;
|
|
@@ -34,6 +35,7 @@ declare const formControlTheme: {
|
|
|
34
35
|
color: string;
|
|
35
36
|
};
|
|
36
37
|
helperText: {
|
|
38
|
+
fontFamily: string;
|
|
37
39
|
mt: string;
|
|
38
40
|
mb: string;
|
|
39
41
|
color: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"formControl.d.ts","sourceRoot":"","sources":["../../../../../../src/theme/cruk/components/formControl.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"formControl.d.ts","sourceRoot":"","sources":["../../../../../../src/theme/cruk/components/formControl.ts"],"names":[],"mappings":"AA+DA,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAEpB,CAAC;AAEH,eAAe,gBAAgB,CAAC"}
|
|
@@ -5,6 +5,7 @@ export { default as breadcrumbTheme } from "./breadcrumb";
|
|
|
5
5
|
export { default as buttonTheme } from "./button";
|
|
6
6
|
export { default as cardTheme } from "./card";
|
|
7
7
|
export { default as caseStudyTheme } from "./caseStudy";
|
|
8
|
+
export { default as checkboxTheme } from "./checkbox";
|
|
8
9
|
export { default as circleTheme } from "./circle";
|
|
9
10
|
export { default as circleDeviceTheme } from "./circleDevice";
|
|
10
11
|
export { default as containerTheme } from "./container";
|
|
@@ -15,6 +16,8 @@ export { default as formControlTheme } from "./formControl";
|
|
|
15
16
|
export { default as formErrorTheme } from "./formErrorMessage";
|
|
16
17
|
export { default as headingTheme } from "./heading";
|
|
17
18
|
export { default as inputTheme } from "./input";
|
|
19
|
+
export { default as numberInputTheme } from "./inputNumber";
|
|
20
|
+
export { default as textAreaInputTheme } from "./inputTextArea";
|
|
18
21
|
export { default as linkTheme } from "./link";
|
|
19
22
|
export { default as listTheme } from "./list";
|
|
20
23
|
export { default as loaderTheme } from "./loader";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/theme/cruk/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,UAAU,CAAC;AAClD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,SAAS,CAAC;AAChD,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,cAAc,CAAC;AAC1D,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,UAAU,CAAC;AAClD,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,aAAa,CAAC;AACxD,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,UAAU,CAAC;AAClD,OAAO,EAAE,OAAO,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MAAM,QAAQ,CAAC;AAC9C,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -20,20 +20,47 @@ export declare const inputTheme: {
|
|
|
20
20
|
field: {
|
|
21
21
|
height: {
|
|
22
22
|
base: "50px";
|
|
23
|
-
lg: "
|
|
23
|
+
lg: "52px";
|
|
24
24
|
};
|
|
25
|
-
|
|
25
|
+
py: string;
|
|
26
26
|
borderColor: string;
|
|
27
|
-
transition: string;
|
|
28
27
|
boxSizing: string;
|
|
28
|
+
transition: string;
|
|
29
29
|
_hover: {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
"&:not(:focus):not(:disabled)": {
|
|
31
|
+
borderColor: string;
|
|
32
|
+
boxShadow: string;
|
|
33
|
+
outline: number;
|
|
34
|
+
transition: string;
|
|
35
|
+
"&:not(:has(+ .chakra-input__left-element))": {
|
|
36
|
+
px: string;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
"&:disabled": {
|
|
40
|
+
borderColor: string;
|
|
41
|
+
boxShadow: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
_groupHover: {
|
|
45
|
+
"&:not(:focus):not(:disabled)": {
|
|
46
|
+
borderColor: string;
|
|
47
|
+
boxShadow: string;
|
|
48
|
+
borderWidth: number;
|
|
49
|
+
outline: number;
|
|
50
|
+
transition: string;
|
|
51
|
+
px: string;
|
|
52
|
+
};
|
|
53
|
+
"&:disabled": {
|
|
54
|
+
borderColor: string;
|
|
55
|
+
boxShadow: string;
|
|
56
|
+
};
|
|
33
57
|
};
|
|
34
58
|
_placeholder: {
|
|
35
59
|
color: string;
|
|
36
|
-
fontSize:
|
|
60
|
+
fontSize: {
|
|
61
|
+
base: "text.sm";
|
|
62
|
+
lg: "text.md";
|
|
63
|
+
};
|
|
37
64
|
};
|
|
38
65
|
_readOnly: {
|
|
39
66
|
boxShadow: string;
|
|
@@ -41,47 +68,46 @@ export declare const inputTheme: {
|
|
|
41
68
|
};
|
|
42
69
|
_focus: {
|
|
43
70
|
zIndex: number;
|
|
44
|
-
borderWidth: string;
|
|
45
71
|
borderColor: string;
|
|
46
72
|
boxShadow: string;
|
|
73
|
+
outline: number;
|
|
74
|
+
borderWidth: number;
|
|
75
|
+
"&:not(:has(+ .chakra-input__left-element))": {
|
|
76
|
+
px: string;
|
|
77
|
+
};
|
|
47
78
|
};
|
|
48
79
|
_focusVisible: {
|
|
49
80
|
zIndex: number;
|
|
50
|
-
borderWidth: string;
|
|
51
81
|
borderColor: string;
|
|
52
82
|
boxShadow: string;
|
|
83
|
+
outline: number;
|
|
53
84
|
};
|
|
54
85
|
_disabled: {
|
|
55
|
-
borderWidth: string;
|
|
56
86
|
borderColor: string;
|
|
57
87
|
bg: string;
|
|
58
88
|
cursor: string;
|
|
59
89
|
opacity: string;
|
|
60
90
|
color: string;
|
|
61
|
-
|
|
62
|
-
boxShadow: string;
|
|
63
|
-
borderColor: string;
|
|
64
|
-
};
|
|
65
|
-
_placeholder: {
|
|
66
|
-
color: string;
|
|
67
|
-
fontSize: string;
|
|
68
|
-
};
|
|
91
|
+
boxShadow: string;
|
|
69
92
|
};
|
|
70
93
|
_invalid: {
|
|
71
|
-
borderWidth: string;
|
|
72
94
|
borderColor: string;
|
|
73
95
|
boxShadow: string;
|
|
74
96
|
_hover: {
|
|
97
|
+
borderColor: string;
|
|
75
98
|
boxShadow: string;
|
|
99
|
+
};
|
|
100
|
+
_groupHover: {
|
|
76
101
|
borderColor: string;
|
|
102
|
+
boxShadow: string;
|
|
77
103
|
};
|
|
78
104
|
_focus: {
|
|
79
|
-
boxShadow: string;
|
|
80
105
|
borderColor: string;
|
|
106
|
+
boxShadow: string;
|
|
81
107
|
};
|
|
82
108
|
_focusVisible: {
|
|
83
|
-
boxShadow: string;
|
|
84
109
|
borderColor: string;
|
|
110
|
+
boxShadow: string;
|
|
85
111
|
};
|
|
86
112
|
};
|
|
87
113
|
};
|
|
@@ -105,19 +131,54 @@ export declare const inputTheme: {
|
|
|
105
131
|
paddingX: number;
|
|
106
132
|
width: string;
|
|
107
133
|
};
|
|
134
|
+
".chakra-input__right-addon": {
|
|
135
|
+
borderWidth: string;
|
|
136
|
+
borderColor: string;
|
|
137
|
+
borderLeft: string;
|
|
138
|
+
paddingX: number;
|
|
139
|
+
};
|
|
140
|
+
_groupHover: {
|
|
141
|
+
".chakra-input[disabled] + .chakra-input__right-addon": {
|
|
142
|
+
borderColor: string;
|
|
143
|
+
borderWidth: string;
|
|
144
|
+
bg: string;
|
|
145
|
+
cursor: string;
|
|
146
|
+
opacity: string;
|
|
147
|
+
color: string;
|
|
148
|
+
};
|
|
149
|
+
".chakra-input__right-addon": {
|
|
150
|
+
borderWidth: string;
|
|
151
|
+
borderColor: string;
|
|
152
|
+
px: string;
|
|
153
|
+
};
|
|
154
|
+
};
|
|
108
155
|
_hover: {
|
|
109
|
-
".chakra-
|
|
110
|
-
|
|
156
|
+
".chakra-input__right-addon": {
|
|
157
|
+
borderWidth: string;
|
|
158
|
+
borderColor: string;
|
|
159
|
+
px: string;
|
|
111
160
|
};
|
|
112
161
|
};
|
|
113
162
|
".chakra-input:focus + .chakra-input__left-element": {
|
|
114
163
|
borderRightColor: string;
|
|
115
164
|
};
|
|
165
|
+
".chakra-input:focus + .chakra-input__right-addon": {
|
|
166
|
+
borderColor: string;
|
|
167
|
+
borderWidth: string;
|
|
168
|
+
px: string;
|
|
169
|
+
};
|
|
170
|
+
".chakra-input[aria-invalid=true] + .chakra-input__right-addon": {
|
|
171
|
+
borderColor: string;
|
|
172
|
+
borderWidth: string;
|
|
173
|
+
px: string;
|
|
174
|
+
};
|
|
116
175
|
".chakra-input[aria-invalid=true] + .chakra-input__left-element": {
|
|
117
176
|
borderRightColor: string;
|
|
118
177
|
};
|
|
119
|
-
".chakra-input[disabled] + .chakra-
|
|
120
|
-
|
|
178
|
+
".chakra-input[disabled] + .chakra-input__right-addon": {
|
|
179
|
+
borderColor: string;
|
|
180
|
+
backgroundColor: string;
|
|
181
|
+
borderWidth: string;
|
|
121
182
|
};
|
|
122
183
|
};
|
|
123
184
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../../../../src/theme/cruk/components/input.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../../../../src/theme/cruk/components/input.ts"],"names":[],"mappings":"AAqMA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASrB,CAAC;AAEH,eAAe,UAAU,CAAC"}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
export declare const numberInputTheme: {
|
|
2
|
+
baseStyle?: {
|
|
3
|
+
field: {
|
|
4
|
+
fontFamily: string;
|
|
5
|
+
fontSize: {
|
|
6
|
+
base: "text.sm";
|
|
7
|
+
lg: "text.md";
|
|
8
|
+
};
|
|
9
|
+
borderRadius: string;
|
|
10
|
+
cursor: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
sizes?: {
|
|
14
|
+
sm: {
|
|
15
|
+
field: {
|
|
16
|
+
height: string;
|
|
17
|
+
padding: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
lg: {
|
|
21
|
+
field: {
|
|
22
|
+
height: string;
|
|
23
|
+
padding: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
variants?: {
|
|
28
|
+
outline: (props: import("@chakra-ui/styled-system").StyleFunctionProps) => {
|
|
29
|
+
field: {
|
|
30
|
+
borderColor: string;
|
|
31
|
+
boxSizing: string;
|
|
32
|
+
transition: string;
|
|
33
|
+
_hover: {
|
|
34
|
+
"&:not(:focus)": {
|
|
35
|
+
borderColor: string;
|
|
36
|
+
boxShadow: string;
|
|
37
|
+
borderWidth: number;
|
|
38
|
+
outline: number;
|
|
39
|
+
transition: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
_placeholder: {
|
|
43
|
+
color: string;
|
|
44
|
+
fontSize: string;
|
|
45
|
+
};
|
|
46
|
+
_readOnly: {
|
|
47
|
+
boxShadow: string;
|
|
48
|
+
userSelect: string;
|
|
49
|
+
};
|
|
50
|
+
_focus: {
|
|
51
|
+
zIndex: number;
|
|
52
|
+
borderColor: string;
|
|
53
|
+
boxShadow: string;
|
|
54
|
+
outline: number;
|
|
55
|
+
borderWidth: number;
|
|
56
|
+
};
|
|
57
|
+
_focusVisible: {
|
|
58
|
+
zIndex: number;
|
|
59
|
+
borderColor: string;
|
|
60
|
+
boxShadow: string;
|
|
61
|
+
outline: number;
|
|
62
|
+
borderWidth: number;
|
|
63
|
+
};
|
|
64
|
+
_disabled: {
|
|
65
|
+
borderWidth: string;
|
|
66
|
+
borderColor: string;
|
|
67
|
+
bg: string;
|
|
68
|
+
cursor: string;
|
|
69
|
+
opacity: string;
|
|
70
|
+
color: string;
|
|
71
|
+
_hover: {
|
|
72
|
+
boxShadow: string;
|
|
73
|
+
borderColor: string;
|
|
74
|
+
};
|
|
75
|
+
_placeholder: {
|
|
76
|
+
color: string;
|
|
77
|
+
fontSize: string;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
_invalid: {
|
|
81
|
+
borderWidth: string;
|
|
82
|
+
borderColor: string;
|
|
83
|
+
boxShadow: string;
|
|
84
|
+
_hover: {
|
|
85
|
+
boxShadow: string;
|
|
86
|
+
borderColor: string;
|
|
87
|
+
};
|
|
88
|
+
_focus: {
|
|
89
|
+
boxShadow: string;
|
|
90
|
+
borderColor: string;
|
|
91
|
+
};
|
|
92
|
+
_focusVisible: {
|
|
93
|
+
boxShadow: string;
|
|
94
|
+
borderColor: string;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
stepperGroup: {
|
|
99
|
+
borderLeft: string;
|
|
100
|
+
borderColor: string;
|
|
101
|
+
width: string;
|
|
102
|
+
".chakra-numberinput__field:focus + &": {
|
|
103
|
+
borderLeftColor: string;
|
|
104
|
+
};
|
|
105
|
+
".chakra-numberinput__field[aria-invalid=true] + &": {
|
|
106
|
+
borderLeftColor: string;
|
|
107
|
+
};
|
|
108
|
+
".chakra-numberinput__field[disabled] + &": {
|
|
109
|
+
borderLeftColor: string;
|
|
110
|
+
};
|
|
111
|
+
"& > *": {
|
|
112
|
+
borderColor: string;
|
|
113
|
+
borderBottom: string;
|
|
114
|
+
};
|
|
115
|
+
"& > :first-of-type": {
|
|
116
|
+
borderBottom: string;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
defaultProps?: {
|
|
122
|
+
size?: "lg" | "sm";
|
|
123
|
+
variant?: "outline";
|
|
124
|
+
colorScheme?: string;
|
|
125
|
+
};
|
|
126
|
+
parts: ("root" | "field" | "stepperGroup" | "stepper")[];
|
|
127
|
+
};
|
|
128
|
+
export default numberInputTheme;
|
|
129
|
+
//# sourceMappingURL=inputNumber.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inputNumber.d.ts","sourceRoot":"","sources":["../../../../../../src/theme/cruk/components/inputNumber.ts"],"names":[],"mappings":"AA4IA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAU3B,CAAC;AAEH,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
declare const textAreaTheme: {
|
|
2
|
+
baseStyle?: {
|
|
3
|
+
fontFamily: string;
|
|
4
|
+
fontSize: {
|
|
5
|
+
base: "text.sm";
|
|
6
|
+
lg: "text.md";
|
|
7
|
+
};
|
|
8
|
+
borderColor: string;
|
|
9
|
+
borderRadius: string;
|
|
10
|
+
cursor: string;
|
|
11
|
+
padding: string;
|
|
12
|
+
_hover: {
|
|
13
|
+
boxShadow: string;
|
|
14
|
+
border: number;
|
|
15
|
+
transition: string;
|
|
16
|
+
padding: string;
|
|
17
|
+
};
|
|
18
|
+
_focus: {
|
|
19
|
+
zIndex: number;
|
|
20
|
+
border: string;
|
|
21
|
+
borderColor: string;
|
|
22
|
+
boxShadow: string;
|
|
23
|
+
padding: string;
|
|
24
|
+
};
|
|
25
|
+
_disabled: {
|
|
26
|
+
backgroundColor: string;
|
|
27
|
+
border: string;
|
|
28
|
+
};
|
|
29
|
+
_error: {
|
|
30
|
+
border: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
sizes?: {
|
|
34
|
+
[key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
|
|
35
|
+
};
|
|
36
|
+
variants?: {
|
|
37
|
+
[key: string]: import("@chakra-ui/styled-system").SystemStyleInterpolation;
|
|
38
|
+
};
|
|
39
|
+
defaultProps?: {
|
|
40
|
+
size?: string | number;
|
|
41
|
+
variant?: string | number;
|
|
42
|
+
colorScheme?: string;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
export default textAreaTheme;
|
|
46
|
+
//# sourceMappingURL=inputTextArea.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inputTextArea.d.ts","sourceRoot":"","sources":["../../../../../../src/theme/cruk/components/inputTextArea.ts"],"names":[],"mappings":"AAQA,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKjB,CAAC;AAEH,eAAe,aAAa,CAAC"}
|
|
@@ -84,10 +84,56 @@ declare const popoverTheme: {
|
|
|
84
84
|
keys: ("header" | "closeButton" | "body" | "footer" | "content" | "popper" | "arrow")[];
|
|
85
85
|
}>;
|
|
86
86
|
};
|
|
87
|
-
variants?: {
|
|
87
|
+
variants?: {
|
|
88
|
+
secondary: {
|
|
89
|
+
content: {
|
|
90
|
+
"--popper-arrow-size": string;
|
|
91
|
+
backgroundColor: string;
|
|
92
|
+
border: string;
|
|
93
|
+
borderLeft: string;
|
|
94
|
+
borderColor: string;
|
|
95
|
+
_focus: {
|
|
96
|
+
boxShadow: string;
|
|
97
|
+
};
|
|
98
|
+
padding: number;
|
|
99
|
+
width: string;
|
|
100
|
+
maxWidth: {
|
|
101
|
+
base: "350px";
|
|
102
|
+
md: "450px";
|
|
103
|
+
lg: "550px";
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
arrow: {
|
|
107
|
+
border: string;
|
|
108
|
+
backgroundColor: string;
|
|
109
|
+
borderColor: string;
|
|
110
|
+
"--popper-arrow-default-shadow": string;
|
|
111
|
+
};
|
|
112
|
+
header: {};
|
|
113
|
+
body: {
|
|
114
|
+
backgroundColor: string;
|
|
115
|
+
width: string;
|
|
116
|
+
maxWidth: {
|
|
117
|
+
base: "350px";
|
|
118
|
+
md: "450px";
|
|
119
|
+
lg: "550px";
|
|
120
|
+
};
|
|
121
|
+
a: {
|
|
122
|
+
_visited: {
|
|
123
|
+
color: string;
|
|
124
|
+
};
|
|
125
|
+
_hover: {
|
|
126
|
+
color: string;
|
|
127
|
+
};
|
|
128
|
+
color: string;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
closeButton: {};
|
|
132
|
+
};
|
|
133
|
+
};
|
|
88
134
|
defaultProps?: {
|
|
89
135
|
size?: string | number;
|
|
90
|
-
variant?:
|
|
136
|
+
variant?: "secondary";
|
|
91
137
|
colorScheme?: string;
|
|
92
138
|
};
|
|
93
139
|
parts: ("header" | "closeButton" | "body" | "footer" | "content" | "popper" | "arrow")[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../../../../src/theme/cruk/components/popover.ts"],"names":[],"mappings":"AA6EA,QAAA,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../../../../src/theme/cruk/components/popover.ts"],"names":[],"mappings":"AA6EA,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqChB,CAAC;AAEH,eAAe,YAAY,CAAC"}
|