From dd8f628ea2d0b39f42dbf8a69cedbff63b184844 Mon Sep 17 00:00:00 2001 From: RiN Date: Tue, 20 Aug 2024 11:16:17 +0700 Subject: [PATCH] feat: support for rescript v11 (#29) * chore: setup development environment * chore(dev-deps): bump rescript to version 11 * chore(dev-deps): using rescript-vitest * chore: update rescript configuration * chore(deps): bump version @rescript/react * chore(dev-deps): add vitest and removed unused * refactor: replace string and test implementation * ci: bump node version to 20 * chore(dev-deps): add @vitest/coverage-v8 --- .envrc | 1 + .github/workflows/release.yml | 2 +- .github/workflows/test.release.yml | 2 +- .gitignore | 9 + .husky/pre-commit | 2 +- __tests__/test_makeprops.js | 908 +- __tests__/test_makeprops.res | 15 +- bsconfig.json | 20 - examples/app.js | 8731 +++++++++++++---- examples/app.res | 26 +- examples/pseudo.js | 136 +- flake.lock | 474 + flake.nix | 18 + package.json | 24 +- rescript.json | 31 + src/Components/Chakra__AspectRatio.res | 306 +- src/Components/Chakra__Avatar.res | 294 +- src/Components/Chakra__AvatarGroup.res | 294 +- src/Components/Chakra__Badge.res | 308 +- src/Components/Chakra__Box.res | 306 +- src/Components/Chakra__Breadcrumb.res | 294 +- src/Components/Chakra__BreadcrumbItem.res | 294 +- src/Components/Chakra__BreadcrumbLink.res | 294 +- .../Chakra__BreadcrumbSeparator.res | 294 +- src/Components/Chakra__Button.res | 306 +- src/Components/Chakra__ButtonGroup.res | 306 +- src/Components/Chakra__Center.res | 306 +- src/Components/Chakra__Circle.res | 306 +- src/Components/Chakra__CircularProgress.res | 294 +- .../Chakra__CircularProgressLabel.res | 294 +- src/Components/Chakra__CloseButton.res | 306 +- src/Components/Chakra__Code.res | 306 +- src/Components/Chakra__Container.res | 306 +- src/Components/Chakra__Divider.res | 306 +- src/Components/Chakra__Flex.res | 306 +- src/Components/Chakra__Grid.res | 306 +- src/Components/Chakra__HStack.res | 300 +- src/Components/Chakra__Heading.res | 294 +- src/Components/Chakra__Icon.res | 294 +- src/Components/Chakra__Image.res | 294 +- src/Components/Chakra__Input.res | 294 +- src/Components/Chakra__InputGroup.res | 294 +- src/Components/Chakra__InputLeftAddon.res | 294 +- src/Components/Chakra__InputLeftElement.res | 294 +- src/Components/Chakra__InputRightAddon.res | 294 +- src/Components/Chakra__InputRightElement.res | 294 +- src/Components/Chakra__Kbd.res | 306 +- src/Components/Chakra__Link.res | 298 +- src/Components/Chakra__LinkBox.res | 294 +- src/Components/Chakra__LinkOverlay.res | 298 +- src/Components/Chakra__Progress.res | 294 +- src/Components/Chakra__Select.res | 294 +- src/Components/Chakra__SimpleGrid.res | 306 +- src/Components/Chakra__Skeleton.res | 294 +- src/Components/Chakra__SkeletonCircle.res | 294 +- src/Components/Chakra__SkeletonText.res | 294 +- src/Components/Chakra__Spacer.res | 306 +- src/Components/Chakra__Spinner.res | 294 +- src/Components/Chakra__Square.res | 306 +- src/Components/Chakra__Stack.res | 306 +- src/Components/Chakra__Stat.res | 306 +- src/Components/Chakra__StatGroup.res | 306 +- src/Components/Chakra__Text.res | 294 +- src/Components/Chakra__VStack.res | 300 +- src/Components/Chakra__Wrap.res | 306 +- src/Components/Chakra__WrapItem.res | 294 +- src/Interfaces/Chakra__AtomicTypes.res | 20 +- src/Interfaces/Chakra__MakeProps.res | 208 +- vitest.config.ts | 12 + yarn.lock | 4627 +++------ 70 files changed, 14278 insertions(+), 16256 deletions(-) create mode 100644 .envrc delete mode 100644 bsconfig.json create mode 100644 flake.lock create mode 100644 flake.nix create mode 100644 rescript.json create mode 100644 vitest.config.ts diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..cffc922 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use flake . --impure diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4a3c7c4..1ef3804 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: - name: Setup node uses: actions/setup-node@v2 with: - node-version: 12 + node-version: 20 - id: vars name: Find Yarn's cache folder run: | diff --git a/.github/workflows/test.release.yml b/.github/workflows/test.release.yml index d58438e..75ffc56 100644 --- a/.github/workflows/test.release.yml +++ b/.github/workflows/test.release.yml @@ -11,7 +11,7 @@ jobs: - name: Setup node uses: actions/setup-node@v2 with: - node-version: 12 + node-version: 20 - id: vars name: Find Yarn's cache folder run: | diff --git a/.gitignore b/.gitignore index 973422a..a91f50b 100644 --- a/.gitignore +++ b/.gitignore @@ -167,3 +167,12 @@ temp/ .vercel src/**/*.js +# Devenv +.devenv* +devenv.local.nix + +# direnv +.direnv + +# pre-commit +.pre-commit-config.yaml diff --git a/.husky/pre-commit b/.husky/pre-commit index c7ce696..52ebc68 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -4,4 +4,4 @@ yarn run lint-staged yarn run build -yarn run test +yarn run test -- --coverage diff --git a/__tests__/test_makeprops.js b/__tests__/test_makeprops.js index ca3ced6..23d1829 100644 --- a/__tests__/test_makeprops.js +++ b/__tests__/test_makeprops.js @@ -1,719 +1,773 @@ -'use strict'; - -var Jest = require("@glennsl/bs-jest/src/jest.js"); -var Chakra = require("../src/Chakra.js"); -var Chakra__MakeProps = require("../src/Interfaces/Chakra__MakeProps.js"); - -function expect(x) { - return Jest.Expect.expect(x); -} +import * as Chakra from "../src/Chakra.js"; +import * as Vitest from "rescript-vitest/src/Vitest.js"; +import * as Vitest$1 from "vitest"; +import * as Belt_List from "rescript/lib/es6/belt_List.js"; +import * as Chakra__MakeProps from "../src/Interfaces/Chakra__MakeProps.js"; function toBe(x, __x) { - return Jest.Expect.toBe(__x, x); + __x.toBe(x); } function toEqual(x, __x) { - return Jest.Expect.toEqual(__x, x); + __x.toEqual(x); } -Jest.describe("Test MakeProps", (function (param) { - var testCasesPseudo_0 = [ - Chakra.pseudo(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, "teal900", undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined), - { - color: "teal.900" - } - ]; - var testCasesPseudo = { - hd: testCasesPseudo_0, - tl: /* [] */0 - }; - Jest.testAll("Chakra UI Theme Color Variant", { - hd: [ - "black", - "black" - ], +Vitest.describe("Test MakeProps", undefined, function (param) { + var testCasesPseudo_0 = [ + Chakra.pseudo( + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + "teal900", + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ), + { + color: "teal.900", + }, + ]; + var testCasesPseudo = { + hd: testCasesPseudo_0, + tl: /* [] */ 0, + }; + Vitest.Each.test2( + Belt_List.toArray({ + hd: ["black", "black"], + tl: { + hd: ["white", "white"], + tl: { + hd: ["gray", "gray"], + tl: { + hd: ["gray50", "gray.50"], + tl: { + hd: ["gray100", "gray.100"], tl: { - hd: [ - "white", - "white" - ], + hd: ["gray200", "gray.200"], tl: { - hd: [ - "gray", - "gray" - ], + hd: ["gray300", "gray.300"], tl: { - hd: [ - "gray50", - "gray.50" - ], + hd: ["gray400", "gray.400"], tl: { - hd: [ - "gray100", - "gray.100" - ], + hd: ["gray500", "gray.500"], tl: { - hd: [ - "gray200", - "gray.200" - ], + hd: ["gray600", "gray.600"], tl: { - hd: [ - "gray300", - "gray.300" - ], + hd: ["gray700", "gray.700"], tl: { - hd: [ - "gray400", - "gray.400" - ], + hd: ["gray800", "gray.800"], tl: { - hd: [ - "gray500", - "gray.500" - ], + hd: ["gray900", "gray.900"], tl: { - hd: [ - "gray600", - "gray.600" - ], + hd: ["red", "red"], tl: { - hd: [ - "gray700", - "gray.700" - ], + hd: ["red50", "red.50"], tl: { - hd: [ - "gray800", - "gray.800" - ], + hd: ["red100", "red.100"], tl: { - hd: [ - "gray900", - "gray.900" - ], + hd: ["red200", "red.200"], tl: { - hd: [ - "red", - "red" - ], + hd: ["red300", "red.300"], tl: { - hd: [ - "red50", - "red.50" - ], + hd: ["red400", "red.400"], tl: { - hd: [ - "red100", - "red.100" - ], + hd: ["red500", "red.500"], tl: { - hd: [ - "red200", - "red.200" - ], + hd: ["red600", "red.600"], tl: { - hd: [ - "red300", - "red.300" - ], + hd: ["red700", "red.700"], tl: { - hd: [ - "red400", - "red.400" - ], + hd: ["red800", "red.800"], tl: { - hd: [ - "red500", - "red.500" - ], + hd: ["red900", "red.900"], tl: { - hd: [ - "red600", - "red.600" - ], + hd: ["orange", "orange"], tl: { hd: [ - "red700", - "red.700" + "orange50", + "orange.50", ], tl: { hd: [ - "red800", - "red.800" + "orange100", + "orange.100", ], tl: { hd: [ - "red900", - "red.900" + "orange200", + "orange.200", ], tl: { hd: [ - "orange", - "orange" + "orange300", + "orange.300", ], tl: { hd: [ - "orange50", - "orange.50" + "orange400", + "orange.400", ], tl: { hd: [ - "orange100", - "orange.100" + "orange500", + "orange.500", ], tl: { hd: [ - "orange200", - "orange.200" + "orange600", + "orange.600", ], tl: { hd: [ - "orange300", - "orange.300" + "orange700", + "orange.700", ], tl: { hd: [ - "orange400", - "orange.400" + "orange800", + "orange.800", ], tl: { hd: [ - "orange500", - "orange.500" + "orange900", + "orange.900", ], tl: { hd: [ - "orange600", - "orange.600" + "yellow", + "yellow", ], tl: { hd: [ - "orange700", - "orange.700" + "yellow50", + "yellow50", ], tl: { hd: [ - "orange800", - "orange.800" + "yellow100", + "yellow.100", ], tl: { hd: [ - "orange900", - "orange.900" + "yellow200", + "yellow.200", ], tl: { hd: [ - "yellow", - "yellow" + "yellow300", + "yellow.300", ], tl: { hd: [ - "yellow50", - "yellow50" + "yellow400", + "yellow.400", ], tl: { hd: [ - "yellow100", - "yellow.100" + "yellow500", + "yellow.500", ], tl: { hd: [ - "yellow200", - "yellow.200" + "yellow600", + "yellow.600", ], tl: { hd: [ - "yellow300", - "yellow.300" + "yellow700", + "yellow.700", ], tl: { hd: [ - "yellow400", - "yellow.400" + "yellow800", + "yellow.800", ], tl: { hd: [ - "yellow500", - "yellow.500" + "yellow900", + "yellow.900", ], tl: { hd: [ - "yellow600", - "yellow.600" + "green", + "green", ], tl: { hd: [ - "yellow700", - "yellow.700" + "green50", + "green.50", ], tl: { hd: [ - "yellow800", - "yellow.800" + "green100", + "green.100", ], tl: { hd: [ - "yellow900", - "yellow.900" + "green200", + "green.200", ], tl: { hd: [ - "green", - "green" + "green300", + "green.300", ], tl: { hd: [ - "green50", - "green.50" + "green400", + "green.400", ], tl: { hd: [ - "green100", - "green.100" + "green500", + "green.500", ], tl: { hd: [ - "green200", - "green.200" + "green600", + "green.600", ], tl: { hd: [ - "green300", - "green.300" + "green700", + "green.700", ], tl: { hd: [ - "green400", - "green.400" + "green800", + "green.800", ], tl: { hd: [ - "green500", - "green.500" + "green900", + "green.900", ], tl: { hd: [ - "green600", - "green.600" + "teal", + "teal", ], tl: { hd: [ - "green700", - "green.700" + "teal50", + "teal.50", ], tl: { hd: [ - "green800", - "green.800" + "teal100", + "teal.100", ], tl: { hd: [ - "green900", - "green.900" + "teal200", + "teal.200", ], tl: { hd: [ - "teal", - "teal" + "teal300", + "teal.300", ], tl: { hd: [ - "teal50", - "teal.50" + "teal400", + "teal.400", ], tl: { hd: [ - "teal100", - "teal.100" + "teal500", + "teal.500", ], tl: { hd: [ - "teal200", - "teal.200" + "teal600", + "teal.600", ], tl: { hd: [ - "teal300", - "teal.300" + "teal700", + "teal.700", ], tl: { hd: [ - "teal400", - "teal.400" + "teal800", + "teal.800", ], tl: { hd: [ - "teal500", - "teal.500" + "teal900", + "teal.900", ], tl: { hd: [ - "teal600", - "teal.600" + "blue", + "blue", ], tl: { hd: [ - "teal700", - "teal.700" + "blue50", + "blue.50", ], tl: { hd: [ - "teal800", - "teal.800" + "blue100", + "blue.100", ], tl: { hd: [ - "teal900", - "teal.900" + "blue200", + "blue.200", ], tl: { hd: [ - "blue", - "blue" + "blue300", + "blue.300", ], tl: { hd: [ - "blue50", - "blue.50" + "blue400", + "blue.400", ], tl: { hd: [ - "blue100", - "blue.100" + "blue500", + "blue.500", ], tl: { hd: [ - "blue200", - "blue.200" + "blue600", + "blue.600", ], tl: { hd: [ - "blue300", - "blue.300" + "blue700", + "blue.700", ], tl: { hd: [ - "blue400", - "blue.400" + "blue800", + "blue.800", ], tl: { hd: [ - "blue500", - "blue.500" + "blue900", + "blue.900", ], tl: { hd: [ - "blue600", - "blue.600" + "cyan", + "cyan", ], tl: { hd: [ - "blue700", - "blue.700" + "cyan50", + "cyan.50", ], tl: { hd: [ - "blue800", - "blue.800" + "cyan100", + "cyan.100", ], tl: { hd: [ - "blue900", - "blue.900" + "cyan200", + "cyan.200", ], tl: { hd: [ - "cyan", - "cyan" + "cyan300", + "cyan.300", ], tl: { hd: [ - "cyan50", - "cyan.50" + "cyan400", + "cyan.400", ], tl: { hd: [ - "cyan100", - "cyan.100" + "cyan500", + "cyan.500", ], tl: { hd: [ - "cyan200", - "cyan.200" + "cyan600", + "cyan.600", ], tl: { hd: [ - "cyan300", - "cyan.300" + "cyan700", + "cyan.700", ], tl: { hd: [ - "cyan400", - "cyan.400" + "cyan800", + "cyan.800", ], tl: { hd: [ - "cyan500", - "cyan.500" + "cyan900", + "cyan.900", ], tl: { hd: [ - "cyan600", - "cyan.600" + "purple", + "purple", ], tl: { hd: [ - "cyan700", - "cyan.700" + "purple50", + "purple.50", ], tl: { hd: [ - "cyan800", - "cyan.800" + "purple100", + "purple.100", ], tl: { hd: [ - "cyan900", - "cyan.900" + "purple200", + "purple.200", ], tl: { hd: [ - "purple", - "purple" + "purple300", + "purple.300", ], tl: { hd: [ - "purple50", - "purple.50" + "purple400", + "purple.400", ], tl: { hd: [ - "purple100", - "purple.100" + "purple500", + "purple.500", ], tl: { hd: [ - "purple200", - "purple.200" + "purple600", + "purple.600", ], tl: { hd: [ - "purple300", - "purple.300" + "purple700", + "purple.700", ], tl: { hd: [ - "purple400", - "purple.400" + "purple800", + "purple.800", ], tl: { hd: [ - "purple500", - "purple.500" + "purple900", + "purple.900", ], tl: { hd: [ - "purple600", - "purple.600" + "pink", + "pink", ], tl: { hd: [ - "purple700", - "purple.700" + "pink50", + "pink.50", ], tl: { hd: [ - "purple800", - "purple.800" + "pink100", + "pink.100", ], tl: { hd: [ - "purple900", - "purple.900" + "pink200", + "pink.200", ], tl: { hd: [ - "pink", - "pink" + "pink300", + "pink.300", ], tl: { hd: [ - "pink50", - "pink.50" + "pink400", + "pink.400", ], tl: { hd: [ - "pink100", - "pink.100" + "pink500", + "pink.500", ], tl: { hd: [ - "pink200", - "pink.200" + "pink600", + "pink.600", ], tl: { hd: [ - "pink300", - "pink.300" + "pink700", + "pink.700", ], tl: { hd: [ - "pink400", - "pink.400" + "pink800", + "pink.800", ], tl: { hd: [ - "pink500", - "pink.500" + "pink900", + "pink.900", ], - tl: { - hd: [ - "pink600", - "pink.600" - ], - tl: { - hd: [ - "pink700", - "pink.700" - ], - tl: { - hd: [ - "pink800", - "pink.800" - ], - tl: { - hd: [ - "pink900", - "pink.900" - ], - tl: /* [] */0 - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - } - }, (function (param) { - var result = Chakra__MakeProps.Color.identity(param[0]); - var x = Jest.Expect.expect(result); - return Jest.Expect.toBe(param[1], x); - })); - return Jest.testAll("Pseudo Creation", testCasesPseudo, (function (param) { - var x = Jest.Expect.expect(param[0]); - return Jest.Expect.toEqual(param[1], x); - })); - })); + tl: /* [] */ 0, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }, + }), + "Chakra UI Theme Color Variant", + undefined, + function ($$case, expected) { + var result = Chakra__MakeProps.Color.identity($$case); + Vitest$1.expect(result).toBe(expected); + }, + ); + Vitest.Each.test2( + Belt_List.toArray(testCasesPseudo), + "Pseudo Creation", + undefined, + function ($$case, expected) { + Vitest$1.expect($$case).toEqual(expected); + }, + ); +}); var pseudo = Chakra.pseudo; -exports.expect = expect; -exports.toBe = toBe; -exports.toEqual = toEqual; -exports.pseudo = pseudo; +export { toBe, toEqual, pseudo }; /* Not a pure module */ diff --git a/__tests__/test_makeprops.res b/__tests__/test_makeprops.res index 614fa41..8e5de54 100644 --- a/__tests__/test_makeprops.res +++ b/__tests__/test_makeprops.res @@ -1,7 +1,6 @@ -open Jest +open Vitest // make pipe-first -let expect = x => Expect.expect(x) let toBe = x => Expect.toBe(_, x) let toEqual = x => Expect.toEqual(_, x) let pseudo = Chakra.pseudo @@ -125,14 +124,18 @@ describe("Test MakeProps", () => { let testCasesPseudo = list{(pseudo(~color=#teal900, ()), {"color": "teal.900"})} - testAll("Chakra UI Theme Color Variant", testCasesColors, ((case, expected)) => { + testCasesColors + ->Belt.List.toArray + ->Each.test2("Chakra UI Theme Color Variant", (case, expected) => { open Chakra__MakeProps let result = Color.identity(case) let expected = expected->Identity.fromString - result->expect->toBe(expected) + result->expect->Expect.toBe(expected) }) - testAll("Pseudo Creation", testCasesPseudo, ((case, expected)) => { + testCasesPseudo + ->Belt.List.toArray + ->Each.test2("Pseudo Creation", (case, expected) => { let expected = expected->asPseudo - case->expect->toEqual(expected) + case->expect->Expect.toEqual(expected) }) }) diff --git a/bsconfig.json b/bsconfig.json deleted file mode 100644 index f58bdda..0000000 --- a/bsconfig.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": "rescript-chakra", - "refmt": 3, - "reason": { - "react-jsx": 3 - }, - "suffix": ".js", - "bsc-flags": ["-bs-super-errors", "-bs-no-version-header"], - "sources": [ - { "dir": "src", "subdirs": true }, - { "dir": "examples", "subdirs": true, "type": "dev" }, - { "dir": "__tests__", "subdirs": true, "type": "dev" } - ], - "bs-dependencies": ["@rescript/react"], - "bs-dev-dependencies": ["@glennsl/bs-jest"], - "package-specs": { - "module": "commonjs", - "in-source": true - } -} diff --git a/examples/app.js b/examples/app.js index 983df91..7492200 100644 --- a/examples/app.js +++ b/examples/app.js @@ -1,1967 +1,6864 @@ -'use strict'; - -var Curry = require("rescript/lib/js/curry.js"); -var React = require("react"); -var Chakra = require("../src/Chakra.js"); -var Caml_option = require("rescript/lib/js/caml_option.js"); -var Chakra__Box = require("../src/Components/Chakra__Box.js"); -var Chakra__Text = require("../src/Components/Chakra__Text.js"); -var Chakra__Button = require("../src/Components/Chakra__Button.js"); -var React$1 = require("@chakra-ui/react"); +import * as Curry from "rescript/lib/es6/curry.js"; +import * as React from "react"; +import * as Chakra from "../src/Chakra.js"; +import * as Caml_option from "rescript/lib/es6/caml_option.js"; +import * as Chakra__Box from "../src/Components/Chakra__Box.js"; +import * as Chakra__Text from "../src/Components/Chakra__Text.js"; +import * as Chakra__Button from "../src/Components/Chakra__Button.js"; +import * as React$1 from "@chakra-ui/react"; function App$TextAndHeading(Props) { - return React.createElement(React.Fragment, undefined, React.createElement(React$1.Text, Curry.app(Chakra__Text.makeProps(undefined, undefined, undefined, { - NAME: "num", - VAL: 5 - }, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined)("Hello", undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined), [ - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined - ])), React.createElement(React$1.Text, Curry.app(Chakra__Text.makeProps(undefined, undefined, undefined, { - NAME: "array", - VAL: [ - 5, - 6, - 7 - ] - }, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined)("Hello", undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined), [ - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined - ])), React.createElement(React$1.Text, Curry.app(Chakra__Text.makeProps(undefined, "lowercase", undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined)("Hello", "i", undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined), [ - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined - ]))); + return React.createElement( + React.Fragment, + undefined, + React.createElement( + React$1.Text, + Curry.app( + Chakra__Text.makeProps( + undefined, + undefined, + undefined, + { + NAME: "num", + VAL: 5, + }, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + )( + "Hello", + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ), + [ + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ], + ), + ), + React.createElement( + React$1.Text, + Curry.app( + Chakra__Text.makeProps( + undefined, + undefined, + undefined, + { + NAME: "array", + VAL: [5, 6, 7], + }, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + )( + "Hello", + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ), + [ + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ], + ), + ), + React.createElement( + React$1.Text, + Curry.app( + Chakra__Text.makeProps( + undefined, + "lowercase", + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + )( + "Hello", + "i", + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ), + [ + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ], + ), + ), + ); } var TextAndHeading = { - make: App$TextAndHeading + make: App$TextAndHeading, }; function App$MarginAndProps(Props) { - return React.createElement(React.Fragment, undefined, React.createElement(React$1.Box, Curry.app(Chakra__Box.makeProps(2, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined)("Tomato", undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined), [ - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined - ])), React.createElement(React$1.Box, Curry.app(Chakra__Box.makeProps(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, "auto", undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, { - NAME: "px", - VAL: 960 - }, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined)(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined), [ - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined - ])), React.createElement(React$1.Box, Curry.app(Chakra__Box.makeProps({ - NAME: "array", - VAL: [ - 2, - 3 - ] - }, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined)(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined), [ - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined - ]))); + return React.createElement( + React.Fragment, + undefined, + React.createElement( + React$1.Box, + Curry.app( + Chakra__Box.makeProps( + 2, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + )( + "Tomato", + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ), + [ + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ], + ), + ), + React.createElement( + React$1.Box, + Curry.app( + Chakra__Box.makeProps( + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + "auto", + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + { + NAME: "px", + VAL: 960, + }, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + )( + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ), + [ + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ], + ), + ), + React.createElement( + React$1.Box, + Curry.app( + Chakra__Box.makeProps( + { + NAME: "array", + VAL: [2, 3], + }, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + )( + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ), + [ + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ], + ), + ), + ); } var MarginAndProps = { - make: App$MarginAndProps + make: App$MarginAndProps, }; function App$LayoutWidthHeight(Props) { - return React.createElement(React.Fragment, undefined, React.createElement(React$1.Box, Curry.app(Chakra__Box.makeProps(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, { - NAME: "percent", - VAL: 100 - }, undefined, undefined, undefined, undefined, undefined, 32, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined)(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined), [ - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined - ])), React.createElement(React$1.Box, Curry.app(Chakra__Box.makeProps(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, { - NAME: "percent", - VAL: 100 - }, undefined, undefined, undefined, undefined, undefined, { - NAME: "px", - VAL: 32 - }, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined)(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined), [ - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined - ])), React.createElement(React$1.Box, Curry.app(Chakra__Box.makeProps(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, "sm", undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined)(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined), [ - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined - ])), React.createElement(React$1.Box, Curry.app(Chakra__Box.makeProps(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, "0.5", undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined)(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined), [ - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined - ])), React.createElement(React$1.Box, Curry.app(Chakra__Box.makeProps(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, { - NAME: "px", - VAL: 256 - }, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined)(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined), [ - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined - ])), React.createElement(React$1.Box, Curry.app(Chakra__Box.makeProps(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, { - NAME: "px", - VAL: 49 - }, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined)(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined), [ - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined - ]))); + return React.createElement( + React.Fragment, + undefined, + React.createElement( + React$1.Box, + Curry.app( + Chakra__Box.makeProps( + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + { + NAME: "percent", + VAL: 100, + }, + undefined, + undefined, + undefined, + undefined, + undefined, + 32, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + )( + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ), + [ + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ], + ), + ), + React.createElement( + React$1.Box, + Curry.app( + Chakra__Box.makeProps( + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + { + NAME: "percent", + VAL: 100, + }, + undefined, + undefined, + undefined, + undefined, + undefined, + { + NAME: "px", + VAL: 32, + }, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + )( + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ), + [ + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ], + ), + ), + React.createElement( + React$1.Box, + Curry.app( + Chakra__Box.makeProps( + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + "sm", + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + )( + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ), + [ + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ], + ), + ), + React.createElement( + React$1.Box, + Curry.app( + Chakra__Box.makeProps( + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + "0.5", + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + )( + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ), + [ + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ], + ), + ), + React.createElement( + React$1.Box, + Curry.app( + Chakra__Box.makeProps( + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + { + NAME: "px", + VAL: 256, + }, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + )( + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ), + [ + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ], + ), + ), + React.createElement( + React$1.Box, + Curry.app( + Chakra__Box.makeProps( + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + { + NAME: "px", + VAL: 49, + }, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + )( + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ), + [ + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ], + ), + ), + ); } var LayoutWidthHeight = { - make: App$LayoutWidthHeight + make: App$LayoutWidthHeight, }; function App$ColorsAndBackground(Props) { - return React.createElement(React.Fragment, undefined, React.createElement(React$1.Box, Curry.app(Chakra__Box.makeProps(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, "gray50", undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined)(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined), [ - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined - ])), React.createElement(React$1.Box, Curry.app(Chakra__Box.makeProps(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, { - NAME: "hex", - VAL: "f00" - }, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined)(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined), [ - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined - ])), React.createElement(React$1.Box, Curry.app(Chakra__Box.makeProps(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, { - NAME: "hex", - VAL: "FF6347" - }, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined)(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined), [ - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined - ])), React.createElement(React$1.Box, Curry.app(Chakra__Box.makeProps(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, { - NAME: "rgb", - VAL: [ - 255, - 215, - 0 - ] - }, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined)(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined), [ - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined - ])), React.createElement(React$1.Box, Curry.app(Chakra__Box.makeProps(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, { - NAME: "hsl", - VAL: [ - { - NAME: "deg", - VAL: 0.0 - }, - { - NAME: "percent", - VAL: 60.0 - }, - { - NAME: "percent", - VAL: 50.0 - } - ] - }, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined)(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined), [ - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined - ])), React.createElement(React$1.Box, Curry.app(Chakra__Box.makeProps(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, { - NAME: "hsla", - VAL: [ - { - NAME: "deg", - VAL: 235 - }, - { - NAME: "percent", - VAL: 100 - }, - { - NAME: "percent", - VAL: 50 - }, - { - NAME: "num", - VAL: 1 - } - ] - }, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined)(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined), [ - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined - ]))); + return React.createElement( + React.Fragment, + undefined, + React.createElement( + React$1.Box, + Curry.app( + Chakra__Box.makeProps( + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + "gray50", + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + )( + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ), + [ + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ], + ), + ), + React.createElement( + React$1.Box, + Curry.app( + Chakra__Box.makeProps( + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + { + NAME: "hex", + VAL: "f00", + }, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + )( + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ), + [ + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ], + ), + ), + React.createElement( + React$1.Box, + Curry.app( + Chakra__Box.makeProps( + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + { + NAME: "hex", + VAL: "FF6347", + }, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + )( + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ), + [ + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ], + ), + ), + React.createElement( + React$1.Box, + Curry.app( + Chakra__Box.makeProps( + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + { + NAME: "rgb", + VAL: [255, 215, 0], + }, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + )( + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ), + [ + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ], + ), + ), + React.createElement( + React$1.Box, + Curry.app( + Chakra__Box.makeProps( + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + { + NAME: "hsl", + VAL: [ + { + NAME: "deg", + VAL: 0.0, + }, + { + NAME: "percent", + VAL: 60.0, + }, + { + NAME: "percent", + VAL: 50.0, + }, + ], + }, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + )( + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ), + [ + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ], + ), + ), + React.createElement( + React$1.Box, + Curry.app( + Chakra__Box.makeProps( + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + { + NAME: "hsla", + VAL: [ + { + NAME: "deg", + VAL: 235, + }, + { + NAME: "percent", + VAL: 100, + }, + { + NAME: "percent", + VAL: 50, + }, + { + NAME: "num", + VAL: 1, + }, + ], + }, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + )( + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ), + [ + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ], + ), + ), + ); } var ColorsAndBackground = { - make: App$ColorsAndBackground + make: App$ColorsAndBackground, }; function App$Borders(Props) { - return React.createElement(React.Fragment, undefined, React.createElement(React$1.Box, Curry.app(Chakra__Box.makeProps(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, 1, undefined, undefined, "gray200", undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined)("Card", undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined), [ - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined - ]))); + return React.createElement( + React.Fragment, + undefined, + React.createElement( + React$1.Box, + Curry.app( + Chakra__Box.makeProps( + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + 1, + undefined, + undefined, + "gray200", + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + )( + "Card", + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ), + [ + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ], + ), + ), + ); } var Borders = { - make: App$Borders + make: App$Borders, }; function App$Background(Props) { - return React.createElement(React.Fragment, undefined, React.createElement(React$1.Box, Curry.app(Chakra__Box.makeProps(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, { - NAME: "url", - VAL: "/images/kyuubi.png" - }, undefined, undefined, undefined, "center", undefined, "noRepeat", undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined)(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined), [ - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined - ])), React.createElement(React$1.Box, Curry.app(Chakra__Box.makeProps(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, { - NAME: "url", - VAL: "/images/kyuubi.png" - }, undefined, undefined, undefined, "center", undefined, "noRepeat", undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined)(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined), [ - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined - ]))); + return React.createElement( + React.Fragment, + undefined, + React.createElement( + React$1.Box, + Curry.app( + Chakra__Box.makeProps( + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + { + NAME: "url", + VAL: "/images/kyuubi.png", + }, + undefined, + undefined, + undefined, + "center", + undefined, + "noRepeat", + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + )( + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ), + [ + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ], + ), + ), + React.createElement( + React$1.Box, + Curry.app( + Chakra__Box.makeProps( + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + { + NAME: "url", + VAL: "/images/kyuubi.png", + }, + undefined, + undefined, + undefined, + "center", + undefined, + "noRepeat", + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + )( + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ), + [ + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ], + ), + ), + ); } var Background = { - make: App$Background + make: App$Background, }; function App$Pseudo(Props) { - var toast = Chakra.useToast(undefined); - var toast2 = Chakra.createStandaloneToast(undefined); - return React.createElement(React.Fragment, undefined, React.createElement(React$1.Button, Curry.app(Chakra__Button.makeProps(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined)("Hover me", undefined, undefined, undefined, undefined, undefined, undefined, "teal", Caml_option.some(Chakra.pseudo(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, "teal500", undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, "white", undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined)), undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined), [ - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - (function (param) { - Curry._1(toast, { - id: "ChakraToast" - }); - Curry._1(toast2, { - id: "ChakraToastCreateStandaloneToast" - }); - - }), - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined, - undefined - ]))); + var toast = Chakra.useToast(); + var toast2 = Chakra.createStandaloneToast(); + return React.createElement( + React.Fragment, + undefined, + React.createElement( + React$1.Button, + Curry.app( + Chakra__Button.makeProps( + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + )( + "Hover me", + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + "teal", + Caml_option.some( + Chakra.pseudo( + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + "teal500", + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + "white", + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ), + ), + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ), + [ + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + function (param) { + Curry._1(toast, { + id: "ChakraToast", + }); + Curry._1(toast2, { + id: "ChakraToastCreateStandaloneToast", + }); + }, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + ], + ), + ), + ); } var Pseudo = { - make: App$Pseudo + make: App$Pseudo, }; function App$App(Props) { - return React.createElement(React$1.ChakraProvider, { - children: null - }, React.createElement(App$LayoutWidthHeight, {}), React.createElement(App$MarginAndProps, {}), React.createElement(App$ColorsAndBackground, {}), React.createElement(App$Borders, {}), React.createElement(App$Background, {})); + return React.createElement( + React$1.ChakraProvider, + { + children: null, + }, + React.createElement(App$LayoutWidthHeight, {}), + React.createElement(App$MarginAndProps, {}), + React.createElement(App$ColorsAndBackground, {}), + React.createElement(App$Borders, {}), + React.createElement(App$Background, {}), + ); } var App = { - make: App$App + make: App$App, }; -exports.TextAndHeading = TextAndHeading; -exports.MarginAndProps = MarginAndProps; -exports.LayoutWidthHeight = LayoutWidthHeight; -exports.ColorsAndBackground = ColorsAndBackground; -exports.Borders = Borders; -exports.Background = Background; -exports.Pseudo = Pseudo; -exports.App = App; +export { + TextAndHeading, + MarginAndProps, + LayoutWidthHeight, + ColorsAndBackground, + Borders, + Background, + Pseudo, + App, +}; /* react Not a pure module */ diff --git a/examples/app.res b/examples/app.res index 31e5489..c37b31a 100644 --- a/examples/app.res +++ b/examples/app.res @@ -7,9 +7,7 @@ module TextAndHeading = { {"Hello"->React.string} } -/** - @see - **/ +/* @see */ module MarginAndProps = { open Chakra @react.component @@ -22,9 +20,7 @@ module MarginAndProps = { } -/** - @see - **/ +/* @see */ module LayoutWidthHeight = { open Chakra @react.component @@ -43,13 +39,11 @@ module LayoutWidthHeight = { } -/** - Reference +/* Reference @see @see @see - @see - **/ + @see */ module ColorsAndBackground = { open Chakra @react.component @@ -72,10 +66,8 @@ module ColorsAndBackground = { } -/** - Borders - @see -**/ +/* Borders + @see */ module Borders = { open Chakra @react.component @@ -84,10 +76,8 @@ module Borders = { {"Card"->React.string} } -/** - Background - @see -**/ +/* Background + @see */ module Background = { open Chakra @react.component diff --git a/examples/pseudo.js b/examples/pseudo.js index 715fa1e..802172c 100644 --- a/examples/pseudo.js +++ b/examples/pseudo.js @@ -1,8 +1,134 @@ -'use strict'; +import * as Chakra from "../src/Chakra.js"; -var Chakra = require("../src/Chakra.js"); +var obj = Chakra.pseudo( + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + "blue100", + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, + undefined, +); -var obj = Chakra.pseudo(undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, "blue100", undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined); - -exports.obj = obj; +export { obj }; /* obj Not a pure module */ diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..a376287 --- /dev/null +++ b/flake.lock @@ -0,0 +1,474 @@ +{ + "nodes": { + "cachix": { + "inputs": { + "devenv": "devenv_2", + "flake-compat": [ + "devenv", + "flake-compat" + ], + "nixpkgs": [ + "devenv", + "nixpkgs" + ], + "pre-commit-hooks": [ + "devenv", + "pre-commit-hooks" + ] + }, + "locked": { + "lastModified": 1712055811, + "narHash": "sha256-7FcfMm5A/f02yyzuavJe06zLa9hcMHsagE28ADcmQvk=", + "owner": "cachix", + "repo": "cachix", + "rev": "02e38da89851ec7fec3356a5c04bc8349cae0e30", + "type": "github" + }, + "original": { + "owner": "cachix", + "repo": "cachix", + "type": "github" + } + }, + "devenv": { + "inputs": { + "cachix": "cachix", + "flake-compat": "flake-compat_2", + "nix": "nix_2", + "nixpkgs": "nixpkgs_2", + "pre-commit-hooks": "pre-commit-hooks" + }, + "locked": { + "lastModified": 1723898192, + "narHash": "sha256-MXIK60F11Tc7B+vRcLOWPx6IweAu3u54YpdByM/9OuA=", + "owner": "cachix", + "repo": "devenv", + "rev": "64bb347c3b0cee39da55ec6f52a5bef8d833c431", + "type": "github" + }, + "original": { + "owner": "cachix", + "repo": "devenv", + "type": "github" + } + }, + "devenv_2": { + "inputs": { + "flake-compat": [ + "devenv", + "cachix", + "flake-compat" + ], + "nix": "nix", + "nixpkgs": "nixpkgs", + "poetry2nix": "poetry2nix", + "pre-commit-hooks": [ + "devenv", + "cachix", + "pre-commit-hooks" + ] + }, + "locked": { + "lastModified": 1708704632, + "narHash": "sha256-w+dOIW60FKMaHI1q5714CSibk99JfYxm0CzTinYWr+Q=", + "owner": "cachix", + "repo": "devenv", + "rev": "2ee4450b0f4b95a1b90f2eb5ffea98b90e48c196", + "type": "github" + }, + "original": { + "owner": "cachix", + "ref": "python-rewrite", + "repo": "devenv", + "type": "github" + } + }, + "flake-compat": { + "flake": false, + "locked": { + "lastModified": 1673956053, + "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, + "flake-compat_2": { + "flake": false, + "locked": { + "lastModified": 1696426674, + "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, + "flake-parts": { + "inputs": { + "nixpkgs-lib": "nixpkgs-lib" + }, + "locked": { + "lastModified": 1722555600, + "narHash": "sha256-XOQkdLafnb/p9ij77byFQjDf5m5QYl9b2REiVClC+x4=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "8471fe90ad337a8074e957b69ca4d0089218391d", + "type": "github" + }, + "original": { + "id": "flake-parts", + "type": "indirect" + } + }, + "flake-utils": { + "inputs": { + "systems": "systems" + }, + "locked": { + "lastModified": 1689068808, + "narHash": "sha256-6ixXo3wt24N/melDWjq70UuHQLxGV8jZvooRanIHXw0=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "919d646de7be200f3bf08cb76ae1f09402b6f9b4", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "flake-utils_2": { + "inputs": { + "systems": "systems_2" + }, + "locked": { + "lastModified": 1710146030, + "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "gitignore": { + "inputs": { + "nixpkgs": [ + "devenv", + "pre-commit-hooks", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1709087332, + "narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=", + "owner": "hercules-ci", + "repo": "gitignore.nix", + "rev": "637db329424fd7e46cf4185293b9cc8c88c95394", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "gitignore.nix", + "type": "github" + } + }, + "nix": { + "inputs": { + "flake-compat": "flake-compat", + "nixpkgs": [ + "devenv", + "cachix", + "devenv", + "nixpkgs" + ], + "nixpkgs-regression": "nixpkgs-regression" + }, + "locked": { + "lastModified": 1712911606, + "narHash": "sha256-BGvBhepCufsjcUkXnEEXhEVjwdJAwPglCC2+bInc794=", + "owner": "domenkozar", + "repo": "nix", + "rev": "b24a9318ea3f3600c1e24b4a00691ee912d4de12", + "type": "github" + }, + "original": { + "owner": "domenkozar", + "ref": "devenv-2.21", + "repo": "nix", + "type": "github" + } + }, + "nix-github-actions": { + "inputs": { + "nixpkgs": [ + "devenv", + "cachix", + "devenv", + "poetry2nix", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1688870561, + "narHash": "sha256-4UYkifnPEw1nAzqqPOTL2MvWtm3sNGw1UTYTalkTcGY=", + "owner": "nix-community", + "repo": "nix-github-actions", + "rev": "165b1650b753316aa7f1787f3005a8d2da0f5301", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "nix-github-actions", + "type": "github" + } + }, + "nix_2": { + "inputs": { + "flake-compat": [ + "devenv", + "flake-compat" + ], + "nixpkgs": [ + "devenv", + "nixpkgs" + ], + "nixpkgs-regression": "nixpkgs-regression_2" + }, + "locked": { + "lastModified": 1712911606, + "narHash": "sha256-BGvBhepCufsjcUkXnEEXhEVjwdJAwPglCC2+bInc794=", + "owner": "domenkozar", + "repo": "nix", + "rev": "b24a9318ea3f3600c1e24b4a00691ee912d4de12", + "type": "github" + }, + "original": { + "owner": "domenkozar", + "ref": "devenv-2.21", + "repo": "nix", + "type": "github" + } + }, + "nixpkgs": { + "locked": { + "lastModified": 1692808169, + "narHash": "sha256-x9Opq06rIiwdwGeK2Ykj69dNc2IvUH1fY55Wm7atwrE=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "9201b5ff357e781bf014d0330d18555695df7ba8", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs-lib": { + "locked": { + "lastModified": 1723911303, + "narHash": "sha256-uFf2QeW7eAHlYXuDktm9c25OxOyCoUOQmh5SZ9amE5Q=", + "type": "tarball", + "url": "https://github.com/NixOS/nixpkgs/archive/a5d394176e64ab29c852d03346c1fc9b0b7d33eb.tar.gz" + }, + "original": { + "type": "tarball", + "url": "https://github.com/NixOS/nixpkgs/archive/a5d394176e64ab29c852d03346c1fc9b0b7d33eb.tar.gz" + } + }, + "nixpkgs-regression": { + "locked": { + "lastModified": 1643052045, + "narHash": "sha256-uGJ0VXIhWKGXxkeNnq4TvV3CIOkUJ3PAoLZ3HMzNVMw=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "215d4d0fd80ca5163643b03a33fde804a29cc1e2", + "type": "github" + }, + "original": { + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "215d4d0fd80ca5163643b03a33fde804a29cc1e2", + "type": "github" + } + }, + "nixpkgs-regression_2": { + "locked": { + "lastModified": 1643052045, + "narHash": "sha256-uGJ0VXIhWKGXxkeNnq4TvV3CIOkUJ3PAoLZ3HMzNVMw=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "215d4d0fd80ca5163643b03a33fde804a29cc1e2", + "type": "github" + }, + "original": { + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "215d4d0fd80ca5163643b03a33fde804a29cc1e2", + "type": "github" + } + }, + "nixpkgs-stable": { + "locked": { + "lastModified": 1710695816, + "narHash": "sha256-3Eh7fhEID17pv9ZxrPwCLfqXnYP006RKzSs0JptsN84=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "614b4613980a522ba49f0d194531beddbb7220d3", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-23.11", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs-unstable": { + "locked": { + "lastModified": 1719082008, + "narHash": "sha256-jHJSUH619zBQ6WdC21fFAlDxHErKVDJ5fpN0Hgx4sjs=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "9693852a2070b398ee123a329e68f0dab5526681", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_2": { + "locked": { + "lastModified": 1713361204, + "narHash": "sha256-TA6EDunWTkc5FvDCqU3W2T3SFn0gRZqh6D/hJnM02MM=", + "owner": "cachix", + "repo": "devenv-nixpkgs", + "rev": "285676e87ad9f0ca23d8714a6ab61e7e027020c6", + "type": "github" + }, + "original": { + "owner": "cachix", + "ref": "rolling", + "repo": "devenv-nixpkgs", + "type": "github" + } + }, + "poetry2nix": { + "inputs": { + "flake-utils": "flake-utils", + "nix-github-actions": "nix-github-actions", + "nixpkgs": [ + "devenv", + "cachix", + "devenv", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1692876271, + "narHash": "sha256-IXfZEkI0Mal5y1jr6IRWMqK8GW2/f28xJenZIPQqkY0=", + "owner": "nix-community", + "repo": "poetry2nix", + "rev": "d5006be9c2c2417dafb2e2e5034d83fabd207ee3", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "poetry2nix", + "type": "github" + } + }, + "pre-commit-hooks": { + "inputs": { + "flake-compat": [ + "devenv", + "flake-compat" + ], + "flake-utils": "flake-utils_2", + "gitignore": "gitignore", + "nixpkgs": [ + "devenv", + "nixpkgs" + ], + "nixpkgs-stable": "nixpkgs-stable" + }, + "locked": { + "lastModified": 1713775815, + "narHash": "sha256-Wu9cdYTnGQQwtT20QQMg7jzkANKQjwBD9iccfGKkfls=", + "owner": "cachix", + "repo": "pre-commit-hooks.nix", + "rev": "2ac4dcbf55ed43f3be0bae15e181f08a57af24a4", + "type": "github" + }, + "original": { + "owner": "cachix", + "repo": "pre-commit-hooks.nix", + "type": "github" + } + }, + "root": { + "inputs": { + "devenv": "devenv", + "flake-parts": "flake-parts", + "nixpkgs": [ + "nixpkgs-unstable" + ], + "nixpkgs-unstable": "nixpkgs-unstable" + } + }, + "systems": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, + "systems_2": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..b9e5617 --- /dev/null +++ b/flake.nix @@ -0,0 +1,18 @@ +{ + inputs.nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; + inputs.nixpkgs.follows = "nixpkgs-unstable"; + inputs.devenv.url = "github:cachix/devenv"; + + outputs = + inputs@{ flake-parts, nixpkgs, ... }: + flake-parts.lib.mkFlake { inherit inputs; } { + imports = [ inputs.devenv.flakeModule ]; + systems = nixpkgs.lib.systems.flakeExposed; + perSystem = _args: { + devenv.shells.default = { + languages.javascript.enable = true; + languages.javascript.corepack.enable = true; + }; + }; + }; +} diff --git a/package.json b/package.json index a9482ff..4bebcdb 100644 --- a/package.json +++ b/package.json @@ -35,22 +35,11 @@ "semantic-release": "semantic-release", "ci": "yarn install --immutable", "pretest": "yarn build", - "test": "jest", + "test": "vitest run", "postinstall": "husky install", "prepublishOnly": "pinst --disable", "postpublish": "pinst --enable" }, - "jest": { - "verbose": true, - "testPathIgnorePatterns": [ - "/node_modules/", - "/testUtils/" - ], - "coveragePathIgnorePatterns": [ - "/node_modules/", - "/testUtils/" - ] - }, "prettier": { "trailingComma": "all" }, @@ -66,19 +55,20 @@ "@chakra-ui/react": "1.6.8", "@emotion/react": "11.4.1", "@emotion/styled": "11.3.0", - "@glennsl/bs-jest": "0.7.0", - "@rescript/react": "0.10.3", + "@rescript/react": "0.11.0", + "@vitest/coverage-v8": "^2.0.5", "framer-motion": "4.1.17", "husky": "7.0.2", - "jest": "26.6.3", "lint-staged": "11.1.2", "pinst": "2.1.6", "prettier": "2.4.1", "react": "17.0.2", "react-dom": "17.0.2", - "rescript": "9.1.4", + "rescript": "^11", + "rescript-vitest": "^1.4.0", "semantic-release": "17.4.4", - "semantic-release-npm-github-publish": "1.4.0" + "semantic-release-npm-github-publish": "1.4.0", + "vitest": "^2.0.5" }, "peerDependencies": { "@chakra-ui/react": ">=1.6.3", diff --git a/rescript.json b/rescript.json new file mode 100644 index 0000000..9391140 --- /dev/null +++ b/rescript.json @@ -0,0 +1,31 @@ +{ + "name": "rescript-chakra", + "uncurried": false, + "reason": { + "react-jsx": 3 + }, + "suffix": ".js", + "bsc-flags": ["-bs-super-errors", "-bs-no-version-header"], + "sources": [ + { + "dir": "src", + "subdirs": true + }, + { + "dir": "examples", + "subdirs": true, + "type": "dev" + }, + { + "dir": "__tests__", + "subdirs": true, + "type": "dev" + } + ], + "bs-dependencies": ["@rescript/react"], + "bs-dev-dependencies": ["rescript-vitest"], + "package-specs": { + "module": "esmodule", + "in-source": true + } +} diff --git a/src/Components/Chakra__AspectRatio.res b/src/Components/Chakra__AspectRatio.res index 08a510a..6657c24 100644 --- a/src/Components/Chakra__AspectRatio.res +++ b/src/Components/Chakra__AspectRatio.res @@ -3,16 +3,12 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {AspectRatio} - **/ + /* Component Props {AspectRatio} */ ~_as: string=?, ~isTruncated: bool=?, ~ratio: Identity.t=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -31,24 +27,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -58,10 +48,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -74,10 +62,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -91,10 +77,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -107,20 +91,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -151,10 +131,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -170,24 +148,19 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - TODO + /* TODO Pseudo @see @@ -230,8 +203,7 @@ external make: ( _groupChecked _placeholder _fullScreen - _selection - **/ + _selection */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -273,8 +245,7 @@ external make: ( @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -299,56 +270,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -367,10 +323,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -381,33 +335,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -433,28 +377,20 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "AspectRatio" let makeProps = ( - /** - Component Props {AspectRatio} - **/ + /* Component Props {AspectRatio} */ ~ratio=?, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -487,22 +423,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -512,9 +442,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -534,9 +462,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -551,9 +477,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -566,9 +490,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -581,9 +503,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -614,9 +534,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -632,9 +550,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -642,30 +558,20 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {AspectRatio} - **/ + /* Component Props {AspectRatio} */ ~ratio=?ratio->AspectRatio.Ratio.fromOption, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -684,20 +590,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -707,9 +607,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -722,9 +620,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -738,9 +634,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -753,9 +647,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -766,9 +658,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -799,9 +689,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -817,28 +705,20 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__Avatar.res b/src/Components/Chakra__Avatar.res index 73ab9d2..ab7e2f8 100644 --- a/src/Components/Chakra__Avatar.res +++ b/src/Components/Chakra__Avatar.res @@ -3,9 +3,7 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {Avatar} - **/ + /* Component Props {Avatar} */ ~_as: string=?, ~getInitials: string => string=?, ~icon: React.element=?, @@ -18,10 +16,8 @@ external make: ( ~srcSet: string=?, ~variant: string=?, ~isTruncated: bool=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -40,24 +36,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -67,10 +57,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -83,10 +71,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -100,10 +86,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -116,20 +100,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -160,10 +140,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -179,26 +157,20 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - Pseudo - @see - **/ + /* Pseudo + @see */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -239,8 +211,7 @@ external make: ( @as("_placeholder") ~_placeholder: Pseudo.t=?, @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -265,56 +236,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -333,10 +289,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -347,33 +301,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -399,27 +343,19 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, // ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "Avatar" let makeProps = ( - /** - Component Props {Avatar} - **/ - /** - Margin and Padding - **/ + /* Component Props {Avatar} */ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -452,22 +388,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -477,9 +407,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -499,9 +427,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -516,9 +442,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -531,9 +455,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -546,9 +468,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -579,9 +499,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -597,9 +515,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -607,25 +523,17 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {Avatar} - **/ - /** - Margin and Padding - **/ + /* Component Props {Avatar} */ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -644,20 +552,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -667,9 +569,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -682,9 +582,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -698,9 +596,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -713,9 +609,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -726,9 +620,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -759,9 +651,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -777,24 +667,18 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__AvatarGroup.res b/src/Components/Chakra__AvatarGroup.res index 14aca76..c0218cc 100644 --- a/src/Components/Chakra__AvatarGroup.res +++ b/src/Components/Chakra__AvatarGroup.res @@ -3,18 +3,14 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element, - /** - Component Props {AvatarGroup} - **/ + /* Component Props {AvatarGroup} */ ~_as: string=?, ~isTruncated: bool=?, ~max: int=?, ~size: Size.Avatar.t=?, ~spacing: Identity.t=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -33,24 +29,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -60,10 +50,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -76,10 +64,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -93,10 +79,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -109,20 +93,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -153,10 +133,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -172,26 +150,20 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - Pseudo - @see - **/ + /* Pseudo + @see */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -232,8 +204,7 @@ external make: ( @as("_placeholder") ~_placeholder: Pseudo.t=?, @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -258,56 +229,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -326,10 +282,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -340,33 +294,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -392,28 +336,20 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "AvatarGroup" let makeProps = ( - /** - Component Props {AvatarGroup} - **/ + /* Component Props {AvatarGroup} */ ~spacing=?, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -446,22 +382,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -471,9 +401,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -493,9 +421,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -510,9 +436,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -525,9 +449,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -540,9 +462,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -573,9 +493,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -591,9 +509,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -601,26 +517,18 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {AvatarGroup} - **/ + /* Component Props {AvatarGroup} */ ~spacing=?spacing->Margin.fromOption, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -639,20 +547,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -662,9 +564,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -677,9 +577,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -693,9 +591,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -708,9 +604,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -721,9 +615,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -754,9 +646,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -772,24 +662,18 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__Badge.res b/src/Components/Chakra__Badge.res index 7818c05..3bdc857 100644 --- a/src/Components/Chakra__Badge.res +++ b/src/Components/Chakra__Badge.res @@ -3,17 +3,13 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {Badge} - @see - **/ + /* Component Props {Badge} + @see */ @as("as") ~_as: string=?, ~isTruncated: bool=?, ~variant: Identity.t=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -32,24 +28,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -59,10 +49,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -75,10 +63,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -92,10 +78,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -108,20 +92,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -152,10 +132,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -171,24 +149,19 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - TODO + /* TODO Pseudo @see @@ -231,8 +204,7 @@ external make: ( _groupChecked _placeholder _fullScreen - _selection - **/ + _selection */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -274,8 +246,7 @@ external make: ( @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -300,56 +271,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -368,10 +324,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -382,33 +336,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -434,28 +378,20 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "Badge" let makeProps = ( - /** - Component Props {Badge} - **/ + /* Component Props {Badge} */ ~variant=?, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -488,22 +424,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -513,9 +443,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -535,9 +463,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -552,9 +478,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -567,9 +491,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -582,9 +504,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -615,9 +535,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -633,9 +551,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -643,30 +559,20 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {Badge} - **/ + /* Component Props {Badge} */ ~variant=?variant->Badge.Variant.fromOption, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -685,20 +591,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -708,9 +608,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -723,9 +621,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -739,9 +635,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -754,9 +648,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -767,9 +659,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -800,9 +690,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -818,28 +706,20 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__Box.res b/src/Components/Chakra__Box.res index e6e97a4..60aeb48 100644 --- a/src/Components/Chakra__Box.res +++ b/src/Components/Chakra__Box.res @@ -3,15 +3,11 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {Box} - **/ + /* Component Props {Box} */ ~_as: string=?, ~isTruncated: bool=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -30,24 +26,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -57,10 +47,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -73,10 +61,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -90,10 +76,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -106,20 +90,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -150,10 +130,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -169,24 +147,19 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - TODO + /* TODO Pseudo @see @@ -229,8 +202,7 @@ external make: ( _groupChecked _placeholder _fullScreen - _selection - **/ + _selection */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -271,8 +243,7 @@ external make: ( @as("_placeholder") ~_placeholder: Pseudo.t=?, @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -297,56 +268,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -365,10 +321,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -379,33 +333,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -431,27 +375,19 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "Box" let makeProps = ( - /** - Component Props {Box} - **/ - /** - Margin and Padding - **/ + /* Component Props {Box} */ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -484,22 +420,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -509,9 +439,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -531,9 +459,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -548,9 +474,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -563,9 +487,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -578,9 +500,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -611,9 +531,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -629,9 +547,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -639,29 +555,19 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {Box} - **/ - /** - Margin and Padding - **/ + /* Component Props {Box} */ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -680,20 +586,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -703,9 +603,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -718,9 +616,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -734,9 +630,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -749,9 +643,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -762,9 +654,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -795,9 +685,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -813,28 +701,20 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__Breadcrumb.res b/src/Components/Chakra__Breadcrumb.res index 0bc35b2..69679af 100644 --- a/src/Components/Chakra__Breadcrumb.res +++ b/src/Components/Chakra__Breadcrumb.res @@ -3,19 +3,15 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {Breadcrumb} - **/ + /* Component Props {Breadcrumb} */ ~_as: string=?, ~isTruncated: bool=?, ~separator: React.element=?, ~size: string=?, ~variant: string=?, ~spacing: Identity.t=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -34,24 +30,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -61,10 +51,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -77,10 +65,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -94,10 +80,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -110,20 +94,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -154,10 +134,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -173,26 +151,20 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - Pseudo - @see - **/ + /* Pseudo + @see */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -233,8 +205,7 @@ external make: ( @as("_placeholder") ~_placeholder: Pseudo.t=?, @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -259,56 +230,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -327,10 +283,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -341,33 +295,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -393,28 +337,20 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "Breadcrumb" let makeProps = ( - /** - Component Props {Breadcrumb} - **/ + /* Component Props {Breadcrumb} */ ~spacing=?, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -447,22 +383,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -472,9 +402,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -494,9 +422,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -511,9 +437,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -526,9 +450,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -541,9 +463,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -574,9 +494,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -592,9 +510,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -602,26 +518,18 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {Breadcrumb} - **/ + /* Component Props {Breadcrumb} */ ~spacing=?spacing->Margin.fromOption, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -640,20 +548,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -663,9 +565,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -678,9 +578,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -694,9 +592,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -709,9 +605,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -722,9 +616,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -755,9 +647,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -773,24 +663,18 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__BreadcrumbItem.res b/src/Components/Chakra__BreadcrumbItem.res index 519628c..cd43dde 100644 --- a/src/Components/Chakra__BreadcrumbItem.res +++ b/src/Components/Chakra__BreadcrumbItem.res @@ -3,19 +3,15 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {BreadcrumbItem} - **/ + /* Component Props {BreadcrumbItem} */ ~_as: string=?, ~isTruncated: bool=?, ~isCurrentPage: bool=?, ~isLastChild: bool=?, ~separator: React.element=?, ~spacing: Identity.t=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -34,24 +30,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -61,10 +51,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -77,10 +65,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -94,10 +80,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -110,20 +94,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -154,10 +134,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -173,26 +151,20 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - Pseudo - @see - **/ + /* Pseudo + @see */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -233,8 +205,7 @@ external make: ( @as("_placeholder") ~_placeholder: Pseudo.t=?, @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -259,56 +230,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -327,10 +283,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -341,33 +295,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -393,28 +337,20 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "BreadcrumbItem" let makeProps = ( - /** - Component Props {BreadcrumbItem} - **/ + /* Component Props {BreadcrumbItem} */ ~spacing=?, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -447,22 +383,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -472,9 +402,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -494,9 +422,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -511,9 +437,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -526,9 +450,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -541,9 +463,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -574,9 +494,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -592,9 +510,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -602,26 +518,18 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {BreadcrumbItem} - **/ + /* Component Props {BreadcrumbItem} */ ~spacing=?spacing->Margin.fromOption, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -640,20 +548,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -663,9 +565,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -678,9 +578,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -694,9 +592,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -709,9 +605,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -722,9 +616,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -755,9 +647,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -773,24 +663,18 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__BreadcrumbLink.res b/src/Components/Chakra__BreadcrumbLink.res index a21ad3c..9bdb731 100644 --- a/src/Components/Chakra__BreadcrumbLink.res +++ b/src/Components/Chakra__BreadcrumbLink.res @@ -3,19 +3,15 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {Link} - **/ + /* Component Props {Link} */ ~_as: string=?, ~isTruncated: bool=?, ~isExternal: bool=?, ~size: string=?, ~variant: string=?, ~isCurrentPage: bool=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -34,24 +30,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -61,10 +51,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -77,10 +65,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -94,10 +80,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -110,20 +94,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -154,10 +134,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -173,26 +151,20 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - Pseudo - @see - **/ + /* Pseudo + @see */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -233,8 +205,7 @@ external make: ( @as("_placeholder") ~_placeholder: Pseudo.t=?, @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -259,56 +230,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -327,10 +283,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -341,33 +295,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -393,27 +337,19 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "Link" let makeProps = ( - /** - Component Props {Link} - **/ - /** - Margin and Padding - **/ + /* Component Props {Link} */ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -446,22 +382,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -471,9 +401,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -493,9 +421,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -510,9 +436,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -525,9 +449,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -540,9 +462,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -573,9 +493,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -591,9 +509,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -601,25 +517,17 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {Link} - **/ - /** - Margin and Padding - **/ + /* Component Props {Link} */ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -638,20 +546,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -661,9 +563,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -676,9 +576,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -692,9 +590,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -707,9 +603,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -720,9 +614,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -753,9 +645,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -771,24 +661,18 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__BreadcrumbSeparator.res b/src/Components/Chakra__BreadcrumbSeparator.res index 4adbf27..d3c015e 100644 --- a/src/Components/Chakra__BreadcrumbSeparator.res +++ b/src/Components/Chakra__BreadcrumbSeparator.res @@ -3,15 +3,11 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {BreadcrumbSeparator} - **/ + /* Component Props {BreadcrumbSeparator} */ ~_as: string=?, ~isTruncated: bool=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -30,24 +26,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -57,10 +47,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -73,10 +61,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -90,10 +76,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -106,20 +90,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -150,10 +130,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -169,26 +147,20 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - Pseudo - @see - **/ + /* Pseudo + @see */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -229,8 +201,7 @@ external make: ( @as("_placeholder") ~_placeholder: Pseudo.t=?, @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -255,56 +226,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -323,10 +279,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -337,33 +291,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -389,27 +333,19 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "BreadcrumbSeparator" let makeProps = ( - /** - Component Props {BreadcrumbSeparator} - **/ - /** - Margin and Padding - **/ + /* Component Props {BreadcrumbSeparator} */ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -442,22 +378,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -467,9 +397,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -489,9 +417,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -506,9 +432,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -521,9 +445,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -536,9 +458,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -569,9 +489,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -587,9 +505,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -597,25 +513,17 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {BreadcrumbSeparator} - **/ - /** - Margin and Padding - **/ + /* Component Props {BreadcrumbSeparator} */ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -634,20 +542,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -657,9 +559,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -672,9 +572,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -688,9 +586,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -703,9 +599,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -716,9 +610,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -749,9 +641,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -767,24 +657,18 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__Button.res b/src/Components/Chakra__Button.res index e34b926..fb925bb 100644 --- a/src/Components/Chakra__Button.res +++ b/src/Components/Chakra__Button.res @@ -3,9 +3,7 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {Button} - **/ + /* Component Props {Button} */ ~_as: string=?, ~isTruncated: bool=?, ~iconSpacing: Identity.t=?, @@ -20,10 +18,8 @@ external make: ( ~spinner: React.element=?, ~leftIcon: React.element=?, ~rightIcon: React.element=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -42,24 +38,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -69,10 +59,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -85,10 +73,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -102,10 +88,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -118,20 +102,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -162,10 +142,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -181,24 +159,19 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - TODO + /* TODO Pseudo @see @@ -241,8 +214,7 @@ external make: ( _groupChecked _placeholder _fullScreen - _selection - **/ + _selection */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -283,8 +255,7 @@ external make: ( @as("_placeholder") ~_placeholder: Pseudo.t=?, @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -309,56 +280,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -377,10 +333,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -391,33 +345,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -443,24 +387,18 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "Button" let makeProps = ( - /** - Component Props {Button} - **/ + /* Component Props {Button} */ ~iconSpacing=?, ~isActive=?, ~isFullWidth=?, @@ -469,9 +407,7 @@ let makeProps = ( ~size=?, ~variant=?, ~spinnerPlacement=?, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -504,22 +440,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -529,9 +459,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -551,9 +479,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -568,9 +494,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -583,9 +507,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -598,9 +520,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -631,9 +551,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -649,9 +567,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -659,26 +575,18 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {Button} - **/ + /* Component Props {Button} */ ~iconSpacing=?iconSpacing->Margin.fromOption, ~isActive=?isActive->Bool.fromOption, ~isFullWidth=?isFullWidth->Bool.fromOption, @@ -687,9 +595,7 @@ let makeProps = ( ~size=?size->Button.Size.fromOption, ~variant=?variant->Button.Variant.fromOption, ~spinnerPlacement=?spinnerPlacement->Button.SpinnerPlacement.fromOption, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -708,20 +614,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -731,9 +631,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -746,9 +644,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -762,9 +658,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -777,9 +671,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -790,9 +682,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -823,9 +713,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -841,28 +729,20 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__ButtonGroup.res b/src/Components/Chakra__ButtonGroup.res index 150f460..09fdb72 100644 --- a/src/Components/Chakra__ButtonGroup.res +++ b/src/Components/Chakra__ButtonGroup.res @@ -3,9 +3,7 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {ButtonGroup} - **/ + /* Component Props {ButtonGroup} */ ~_as: string=?, ~isTruncated: bool=?, ~isAttached: Identity.t=?, @@ -13,10 +11,8 @@ external make: ( ~size: Identity.t=?, ~spacing: Identity.t=?, ~variant: Identity.t=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -35,24 +31,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -62,10 +52,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -78,10 +66,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -95,10 +81,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -111,20 +95,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -155,10 +135,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -174,24 +152,19 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - TODO + /* TODO Pseudo @see @@ -234,8 +207,7 @@ external make: ( _groupChecked _placeholder _fullScreen - _selection - **/ + _selection */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -276,8 +248,7 @@ external make: ( @as("_placeholder") ~_placeholder: Pseudo.t=?, @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -302,56 +273,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -370,10 +326,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -384,33 +338,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -436,31 +380,23 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "ButtonGroup" let makeProps = ( - /** - Component Props {ButtonGroup} - **/ + /* Component Props {ButtonGroup} */ ~isAttached=?, ~size=?, ~spacing=?, ~variant=?, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -493,22 +429,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -518,9 +448,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -540,9 +468,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -557,9 +483,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -572,9 +496,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -587,9 +509,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -620,9 +540,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -638,9 +556,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -648,33 +564,23 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {ButtonGroup} - **/ + /* Component Props {ButtonGroup} */ ~isAttached=?isAttached->Bool.fromOption, ~size=?size->Button.Size.fromOption, ~spacing=?spacing->Margin.fromOption, ~variant=?variant->Button.Variant.fromOption, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -693,20 +599,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -716,9 +616,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -731,9 +629,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -747,9 +643,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -762,9 +656,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -775,9 +667,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -808,9 +698,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -826,28 +714,20 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__Center.res b/src/Components/Chakra__Center.res index 17066c8..faa15f2 100644 --- a/src/Components/Chakra__Center.res +++ b/src/Components/Chakra__Center.res @@ -3,15 +3,11 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {Center} - **/ + /* Component Props {Center} */ ~_as: string=?, ~isTruncated: bool=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -30,24 +26,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -57,10 +47,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -73,10 +61,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -90,10 +76,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -106,20 +90,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -150,10 +130,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -169,24 +147,19 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - TODO + /* TODO Pseudo @see @@ -229,8 +202,7 @@ external make: ( _groupChecked _placeholder _fullScreen - _selection - **/ + _selection */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -272,8 +244,7 @@ external make: ( @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -298,56 +269,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -366,10 +322,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -380,33 +334,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -432,27 +376,19 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "Center" let makeProps = ( - /** - Component Props {Center} - **/ - /** - Margin and Padding - **/ + /* Component Props {Center} */ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -485,22 +421,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -510,9 +440,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -532,9 +460,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -549,9 +475,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -564,9 +488,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -579,9 +501,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -612,9 +532,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -630,9 +548,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -640,29 +556,19 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {Center} - **/ - /** - Margin and Padding - **/ + /* Component Props {Center} */ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -681,20 +587,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -704,9 +604,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -719,9 +617,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -735,9 +631,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -750,9 +644,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -763,9 +655,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -796,9 +686,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -814,28 +702,20 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__Circle.res b/src/Components/Chakra__Circle.res index 444793e..fd3ce15 100644 --- a/src/Components/Chakra__Circle.res +++ b/src/Components/Chakra__Circle.res @@ -3,15 +3,11 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {Circle} - **/ + /* Component Props {Circle} */ ~_as: string=?, ~isTruncated: bool=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -30,24 +26,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -57,10 +47,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -73,10 +61,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -90,10 +76,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -106,20 +90,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -150,10 +130,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -169,24 +147,19 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - TODO + /* TODO Pseudo @see @@ -229,8 +202,7 @@ external make: ( _groupChecked _placeholder _fullScreen - _selection - **/ + _selection */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -272,8 +244,7 @@ external make: ( @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -298,56 +269,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -366,10 +322,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -380,33 +334,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -432,27 +376,19 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "Circle" let makeProps = ( - /** - Component Props {Circle} - **/ - /** - Margin and Padding - **/ + /* Component Props {Circle} */ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -485,22 +421,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -510,9 +440,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -532,9 +460,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -549,9 +475,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -564,9 +488,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -579,9 +501,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -612,9 +532,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -630,9 +548,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -640,29 +556,19 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {Circle} - **/ - /** - Margin and Padding - **/ + /* Component Props {Circle} */ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -681,20 +587,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -704,9 +604,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -719,9 +617,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -735,9 +631,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -750,9 +644,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -763,9 +655,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -796,9 +686,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -814,28 +702,20 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__CircularProgress.res b/src/Components/Chakra__CircularProgress.res index 6139f64..d2e0e71 100644 --- a/src/Components/Chakra__CircularProgress.res +++ b/src/Components/Chakra__CircularProgress.res @@ -3,9 +3,7 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {CircularProgress} - **/ + /* Component Props {CircularProgress} */ ~capIsRound: bool=?, ~getValueText: (float, float) => string=?, ~isIndeterminate: bool=?, @@ -17,10 +15,8 @@ external make: ( ~valueText: string=?, ~_as: string=?, ~trackColor: Identity.t=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -39,24 +35,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -66,10 +56,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -82,10 +70,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -99,10 +85,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -115,20 +99,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -159,10 +139,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -178,26 +156,20 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - Pseudo - @see - **/ + /* Pseudo + @see */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -238,8 +210,7 @@ external make: ( @as("_placeholder") ~_placeholder: Pseudo.t=?, @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -264,56 +235,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -332,10 +288,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -346,33 +300,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -398,27 +342,19 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "CircularProgress" let makeProps = ( - /** - Component Props {CircularProgress} - **/ - /** - Margin and Padding - **/ + /* Component Props {CircularProgress} */ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -451,22 +387,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -476,9 +406,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -498,9 +426,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -515,9 +441,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -530,9 +454,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -545,9 +467,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -578,9 +498,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -596,9 +514,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -606,25 +522,17 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {CircularProgress} - **/ - /** - Margin and Padding - **/ + /* Component Props {CircularProgress} */ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -643,20 +551,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -666,9 +568,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -681,9 +581,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -697,9 +595,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -712,9 +608,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -725,9 +619,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -758,9 +650,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -776,24 +666,18 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__CircularProgressLabel.res b/src/Components/Chakra__CircularProgressLabel.res index f0ec2b4..b830491 100644 --- a/src/Components/Chakra__CircularProgressLabel.res +++ b/src/Components/Chakra__CircularProgressLabel.res @@ -3,15 +3,11 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {CircularProgressLabel} - **/ + /* Component Props {CircularProgressLabel} */ ~_as: string=?, ~isTruncated: bool=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -30,24 +26,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -57,10 +47,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -73,10 +61,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -90,10 +76,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -106,20 +90,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -150,10 +130,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -169,26 +147,20 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - Pseudo - @see - **/ + /* Pseudo + @see */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -229,8 +201,7 @@ external make: ( @as("_placeholder") ~_placeholder: Pseudo.t=?, @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -255,56 +226,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -323,10 +279,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -337,33 +291,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -389,27 +333,19 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "CircularProgressLabel" let makeProps = ( - /** - Component Props {CircularProgressLabel} - **/ - /** - Margin and Padding - **/ + /* Component Props {CircularProgressLabel} */ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -442,22 +378,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -467,9 +397,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -489,9 +417,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -506,9 +432,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -521,9 +445,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -536,9 +458,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -569,9 +489,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -587,9 +505,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -597,25 +513,17 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {CircularProgressLabel} - **/ - /** - Margin and Padding - **/ + /* Component Props {CircularProgressLabel} */ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -634,20 +542,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -657,9 +559,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -672,9 +572,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -688,9 +586,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -703,9 +599,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -716,9 +610,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -749,9 +641,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -767,24 +657,18 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__CloseButton.res b/src/Components/Chakra__CloseButton.res index 2c16806..0211485 100644 --- a/src/Components/Chakra__CloseButton.res +++ b/src/Components/Chakra__CloseButton.res @@ -3,17 +3,13 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {CloseButton} - **/ + /* Component Props {CloseButton} */ ~_as: string=?, ~isTruncated: bool=?, ~isDisabled: Identity.t=?, ~size: Identity.t=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -32,24 +28,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -59,10 +49,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -75,10 +63,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -92,10 +78,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -108,20 +92,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -152,10 +132,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -171,24 +149,19 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - TODO + /* TODO Pseudo @see @@ -231,8 +204,7 @@ external make: ( _groupChecked _placeholder _fullScreen - _selection - **/ + _selection */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -274,8 +246,7 @@ external make: ( @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -300,56 +271,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -368,10 +324,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -382,33 +336,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -434,29 +378,21 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "CloseButton" let makeProps = ( - /** - Component Props {CloseButton} - **/ + /* Component Props {CloseButton} */ ~isDisabled=?, ~size=?, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -489,22 +425,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -514,9 +444,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -536,9 +464,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -553,9 +479,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -568,9 +492,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -583,9 +505,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -616,9 +536,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -634,9 +552,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -644,31 +560,21 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {CloseButton} - **/ + /* Component Props {CloseButton} */ ~isDisabled=?isDisabled->Bool.fromOption, ~size=?size->CloseButton.Size.fromOption, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -687,20 +593,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -710,9 +610,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -725,9 +623,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -741,9 +637,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -756,9 +650,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -769,9 +661,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -802,9 +692,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -820,28 +708,20 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__Code.res b/src/Components/Chakra__Code.res index 2786a84..28ab136 100644 --- a/src/Components/Chakra__Code.res +++ b/src/Components/Chakra__Code.res @@ -3,16 +3,12 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {Code} - **/ + /* Component Props {Code} */ ~_as: string=?, ~isTruncated: bool=?, ~variant: Identity.t=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -31,24 +27,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -58,10 +48,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -74,10 +62,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -91,10 +77,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -107,20 +91,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -151,10 +131,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -170,24 +148,19 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - TODO + /* TODO Pseudo @see @@ -230,8 +203,7 @@ external make: ( _groupChecked _placeholder _fullScreen - _selection - **/ + _selection */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -273,8 +245,7 @@ external make: ( @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -299,56 +270,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -367,10 +323,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -381,33 +335,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -433,28 +377,20 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "Code" let makeProps = ( - /** - Component Props {Code} - **/ + /* Component Props {Code} */ ~variant=?, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -487,22 +423,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -512,9 +442,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -534,9 +462,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -551,9 +477,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -566,9 +490,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -581,9 +503,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -614,9 +534,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -632,9 +550,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -642,30 +558,20 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {Code} - **/ + /* Component Props {Code} */ ~variant=?variant->Badge.Variant.fromOption, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -684,20 +590,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -707,9 +607,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -722,9 +620,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -738,9 +634,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -753,9 +647,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -766,9 +658,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -799,9 +689,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -817,28 +705,20 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__Container.res b/src/Components/Chakra__Container.res index a8a1679..917c7f1 100644 --- a/src/Components/Chakra__Container.res +++ b/src/Components/Chakra__Container.res @@ -3,16 +3,12 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {Container} - **/ + /* Component Props {Container} */ ~_as: string=?, ~isTruncated: bool=?, ~centerContent: Identity.t=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -31,24 +27,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -58,10 +48,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -74,10 +62,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -91,10 +77,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -107,20 +91,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -151,10 +131,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -170,24 +148,19 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - TODO + /* TODO Pseudo @see @@ -230,8 +203,7 @@ external make: ( _groupChecked _placeholder _fullScreen - _selection - **/ + _selection */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -273,8 +245,7 @@ external make: ( @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -299,56 +270,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -367,10 +323,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -381,33 +335,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -433,28 +377,20 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "Container" let makeProps = ( - /** - Component Props {Container} - **/ + /* Component Props {Container} */ ~centerContent=?, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -487,22 +423,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -512,9 +442,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -534,9 +462,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -551,9 +477,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -566,9 +490,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -581,9 +503,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -614,9 +534,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -632,9 +550,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -642,30 +558,20 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {Container} - **/ + /* Component Props {Container} */ ~centerContent=?centerContent->Bool.fromOption, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -684,20 +590,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -707,9 +607,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -722,9 +620,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -738,9 +634,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -753,9 +647,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -766,9 +658,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -799,9 +689,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -817,28 +705,20 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__Divider.res b/src/Components/Chakra__Divider.res index 3a36bfa..04d4f28 100644 --- a/src/Components/Chakra__Divider.res +++ b/src/Components/Chakra__Divider.res @@ -3,16 +3,12 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {Divider} - **/ + /* Component Props {Divider} */ ~_as: string=?, ~isTruncated: bool=?, ~variant: Identity.t=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -31,24 +27,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -58,10 +48,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -74,10 +62,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -91,10 +77,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -107,20 +91,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -151,10 +131,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -170,24 +148,19 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - TODO + /* TODO Pseudo @see @@ -230,8 +203,7 @@ external make: ( _groupChecked _placeholder _fullScreen - _selection - **/ + _selection */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -273,8 +245,7 @@ external make: ( @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -299,56 +270,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -367,10 +323,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -381,33 +335,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -433,28 +377,20 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "Divider" let makeProps = ( - /** - Component Props {Divider} - **/ + /* Component Props {Divider} */ ~variant=?, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -487,22 +423,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -512,9 +442,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -534,9 +462,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -551,9 +477,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -566,9 +490,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -581,9 +503,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -614,9 +534,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -632,9 +550,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -642,30 +558,20 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {Divider} - **/ + /* Component Props {Divider} */ ~variant=?variant->Divider.Variant.fromOption, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -684,20 +590,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -707,9 +607,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -722,9 +620,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -738,9 +634,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -753,9 +647,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -766,9 +658,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -799,9 +689,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -817,28 +705,20 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__Flex.res b/src/Components/Chakra__Flex.res index 6848ce8..2157ed2 100644 --- a/src/Components/Chakra__Flex.res +++ b/src/Components/Chakra__Flex.res @@ -3,15 +3,11 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {Flex} - **/ + /* Component Props {Flex} */ ~_as: string=?, ~isTruncated: bool=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -30,24 +26,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -57,10 +47,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -73,10 +61,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -90,10 +76,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -106,20 +90,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -150,10 +130,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -169,24 +147,19 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - TODO + /* TODO Pseudo @see @@ -229,8 +202,7 @@ external make: ( _groupChecked _placeholder _fullScreen - _selection - **/ + _selection */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -271,8 +243,7 @@ external make: ( @as("_placeholder") ~_placeholder: Pseudo.t=?, @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -297,56 +268,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -365,10 +321,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -379,33 +333,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -431,24 +375,18 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "Flex" let makeProps = ( - /** - Component Props {Flex} - **/ + /* Component Props {Flex} */ ~align=?, ~basis=?, ~direction=?, @@ -456,9 +394,7 @@ let makeProps = ( ~justify=?, ~shrink=?, ~wrap=?, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -491,22 +427,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -516,9 +446,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -538,9 +466,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -555,9 +481,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -570,9 +494,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -585,9 +507,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -618,9 +538,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -636,9 +554,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -646,29 +562,19 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {Flex} - **/ - /** - Margin and Padding - **/ + /* Component Props {Flex} */ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -687,20 +593,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -710,9 +610,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -725,9 +623,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?align->withShorthand(alignItems)->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -744,9 +640,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -759,9 +653,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -772,9 +664,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -805,9 +695,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -823,28 +711,20 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__Grid.res b/src/Components/Chakra__Grid.res index 1cb753a..0682ae2 100644 --- a/src/Components/Chakra__Grid.res +++ b/src/Components/Chakra__Grid.res @@ -3,15 +3,11 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {Grid} - **/ + /* Component Props {Grid} */ ~_as: string=?, ~isTruncated: bool=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -30,24 +26,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -57,10 +47,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -73,10 +61,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -90,10 +76,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -106,20 +90,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -150,10 +130,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -169,24 +147,19 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - TODO + /* TODO Pseudo @see @@ -229,8 +202,7 @@ external make: ( _groupChecked _placeholder _fullScreen - _selection - **/ + _selection */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -272,8 +244,7 @@ external make: ( @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -298,56 +269,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -366,10 +322,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -380,33 +334,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -432,24 +376,18 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "Grid" let makeProps = ( - /** - Component Props {Grid} - **/ + /* Component Props {Grid} */ ~gap=?, ~rowGap=?, ~columnGap=?, @@ -462,9 +400,7 @@ let makeProps = ( ~templateRows=?, ~templateColumns=?, ~templateAreas=?, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -497,22 +433,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -522,9 +452,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -544,9 +472,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -561,9 +487,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -576,9 +500,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -591,9 +513,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -624,9 +544,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -642,9 +560,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -652,29 +568,19 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {Grid} - **/ - /** - Margin and Padding - **/ + /* Component Props {Grid} */ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -693,20 +599,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -716,9 +616,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -731,9 +629,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -747,9 +643,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gap->withShorthand(gridGap)->GridGap.fromOption, ~gridRowGap=?rowGap->withShorthand(gridRowGap)->GridRowGap.fromOption, ~gridColumnGap=?columnGap->withShorthand(gridColumnGap)->GridColumnGap.fromOption, @@ -766,9 +660,7 @@ let makeProps = ( ~gridTemplateAreas=?templateAreas ->withShorthand(gridTemplateAreas) ->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -779,9 +671,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -812,9 +702,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -830,28 +718,20 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__HStack.res b/src/Components/Chakra__HStack.res index 25df0ba..ea5f820 100644 --- a/src/Components/Chakra__HStack.res +++ b/src/Components/Chakra__HStack.res @@ -3,19 +3,15 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {HStack} - **/ + /* Component Props {HStack} */ ~_as: string=?, ~isTruncated: bool=?, ~isInline: Identity.t=?, ~shouldWrapChildren: Identity.t=?, ~spacing: Identity.t=?, ~divider: React.element=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -34,24 +30,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -61,10 +51,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -77,10 +65,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -94,10 +80,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -110,20 +94,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -154,10 +134,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -173,26 +151,20 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - Pseudo - @see - **/ + /* Pseudo + @see */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -233,8 +205,7 @@ external make: ( @as("_placeholder") ~_placeholder: Pseudo.t=?, @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -259,56 +230,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -327,10 +283,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -341,33 +295,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -393,24 +337,18 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "HStack" let makeProps = ( - /** - Component Props {HStack} - **/ + /* Component Props {HStack} */ ~align=?, ~basis=?, ~direction=?, @@ -421,9 +359,7 @@ let makeProps = ( ~isInline=?, ~shouldWrapChildren=?, ~spacing=?, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -456,22 +392,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -481,9 +411,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -503,9 +431,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -520,9 +446,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -535,9 +459,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -550,9 +472,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -583,9 +503,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -601,9 +519,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -611,32 +527,22 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {HStack} - **/ + /* Component Props {HStack} */ ~isInline=?isInline->Bool.fromOption, ~shouldWrapChildren=?shouldWrapChildren->Bool.fromOption, ~spacing=?spacing->Margin.fromOption, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -655,20 +561,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -678,9 +578,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -693,9 +591,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?align->withShorthand(alignItems)->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -712,9 +608,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -727,9 +621,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -740,9 +632,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -773,9 +663,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -791,24 +679,18 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__Heading.res b/src/Components/Chakra__Heading.res index 0e9d646..9d1c674 100644 --- a/src/Components/Chakra__Heading.res +++ b/src/Components/Chakra__Heading.res @@ -3,18 +3,14 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {Heading} - **/ + /* Component Props {Heading} */ ~_as: string=?, ~isTruncated: bool=?, ~orientation: Orientation.t=?, ~size: Size.Heading.t=?, ~variant: string=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -33,24 +29,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -60,10 +50,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -76,10 +64,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -93,10 +79,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -109,20 +93,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -153,10 +133,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -172,26 +150,20 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - Pseudo - @see - **/ + /* Pseudo + @see */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -232,8 +204,7 @@ external make: ( @as("_placeholder") ~_placeholder: Pseudo.t=?, @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -258,56 +229,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -326,10 +282,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -340,33 +294,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -392,27 +336,19 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "Heading" let makeProps = ( - /** - Component Props {Heading} - **/ - /** - Margin and Padding - **/ + /* Component Props {Heading} */ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -445,22 +381,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -470,9 +400,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -492,9 +420,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -509,9 +435,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -524,9 +448,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -539,9 +461,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -572,9 +492,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -590,9 +508,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -600,25 +516,17 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {Heading} - **/ - /** - Margin and Padding - **/ + /* Component Props {Heading} */ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -637,20 +545,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -660,9 +562,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -675,9 +575,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -691,9 +589,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -706,9 +602,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -719,9 +613,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -752,9 +644,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -770,24 +660,18 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__Icon.res b/src/Components/Chakra__Icon.res index 46c3b16..1274766 100644 --- a/src/Components/Chakra__Icon.res +++ b/src/Components/Chakra__Icon.res @@ -3,18 +3,14 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {Icon} - **/ + /* Component Props {Icon} */ ~_as: string=?, ~isTruncated: bool=?, ~viewBox: string=?, ~role: [#presentation | #img]=?, ~focusable: bool=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -33,24 +29,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -60,10 +50,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -76,10 +64,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -93,10 +79,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -109,20 +93,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -153,10 +133,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -172,26 +150,20 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - Pseudo - @see - **/ + /* Pseudo + @see */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -232,8 +204,7 @@ external make: ( @as("_placeholder") ~_placeholder: Pseudo.t=?, @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -258,56 +229,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -326,10 +282,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -340,33 +294,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -392,28 +336,20 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "Icon" let makeProps = ( - /** - Component Props {Icon} - **/ + /* Component Props {Icon} */ ~viewBox=?, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -446,22 +382,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -471,9 +401,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -493,9 +421,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -510,9 +436,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -525,9 +449,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -540,9 +462,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -573,9 +493,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -591,9 +509,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -601,26 +517,18 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {Icon} - **/ + /* Component Props {Icon} */ ~viewBox=?viewBox->ViewBox.fromOption, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -639,20 +547,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -662,9 +564,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -677,9 +577,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -693,9 +591,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -708,9 +604,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -721,9 +615,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -754,9 +646,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -772,24 +662,18 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__Image.res b/src/Components/Chakra__Image.res index b693940..96515bb 100644 --- a/src/Components/Chakra__Image.res +++ b/src/Components/Chakra__Image.res @@ -3,9 +3,7 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {Image} - **/ + /* Component Props {Image} */ ~_as: string=?, ~isTruncated: bool=?, ~src: string=?, @@ -19,10 +17,8 @@ external make: ( ~fallback: React.element=?, ~crossOrigin: [@as("") #empty | #anonymous | @as("use-credentials") #useCredentials]=?, ~align: Identity.t=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -41,24 +37,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -68,10 +58,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -84,10 +72,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -101,10 +87,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -117,20 +101,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -161,10 +141,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -180,26 +158,20 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - Pseudo - @see - **/ + /* Pseudo + @see */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -240,8 +212,7 @@ external make: ( @as("_placeholder") ~_placeholder: Pseudo.t=?, @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -266,56 +237,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -334,10 +290,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -348,33 +302,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -400,32 +344,24 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Image.t=?, ~onError: ReactEvent.Image.t=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "Image" let makeProps = ( - /** - Component Props {Image} - **/ + /* Component Props {Image} */ ~sizes=?, ~htmlHeight=?, ~htmlWidth=?, ~fit=?, ~align=?, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -458,22 +394,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -483,9 +413,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -505,9 +433,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -522,9 +448,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -537,9 +461,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -552,9 +474,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -585,9 +505,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -603,9 +521,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -613,30 +529,22 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {Image} - **/ + /* Component Props {Image} */ ~sizes=?sizes->Sizes.fromOption, ~htmlHeight=?htmlHeight->StringOrNumber.fromOption, ~htmlWidth=?htmlWidth->StringOrNumber.fromOption, ~fit=?fit->ObjectFit.fromOption, ~align=?align->BackgroundPosition.fromOption, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -655,20 +563,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -678,9 +580,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -693,9 +593,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -709,9 +607,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -724,9 +620,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -737,9 +631,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -770,9 +662,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -788,24 +678,18 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__Input.res b/src/Components/Chakra__Input.res index f508414..4d66518 100644 --- a/src/Components/Chakra__Input.res +++ b/src/Components/Chakra__Input.res @@ -3,9 +3,7 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {Input} - **/ + /* Component Props {Input} */ ~_as: string=?, ~errorBorderColor: Identity.t=?, ~focusBorderColor: Identity.t=?, @@ -17,10 +15,8 @@ external make: ( ~size: Size.Select.t=?, ~value: string=?, ~variant: Identity.t=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -39,24 +35,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -66,10 +56,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -82,10 +70,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -99,10 +85,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -115,20 +99,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -159,10 +139,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -178,26 +156,20 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - Pseudo - @see - **/ + /* Pseudo + @see */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -238,8 +210,7 @@ external make: ( @as("_placeholder") ~_placeholder: Pseudo.t=?, @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -264,56 +235,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -332,10 +288,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -346,33 +300,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -398,30 +342,22 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "Input" let makeProps = ( - /** - Component Props {Input} - **/ + /* Component Props {Input} */ ~errorBorderColor=?, ~focusBorderColor=?, ~variant=?, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -454,22 +390,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -479,9 +409,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -501,9 +429,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -518,9 +444,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -533,9 +457,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -548,9 +470,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -581,9 +501,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -599,9 +517,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -609,28 +525,20 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {Input} - **/ + /* Component Props {Input} */ ~errorBorderColor=?errorBorderColor->BorderColor.fromOption, ~focusBorderColor=?focusBorderColor->BorderColor.fromOption, ~variant=?variant->Select.Variant.fromOption, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -649,20 +557,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -672,9 +574,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -687,9 +587,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -703,9 +601,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -718,9 +614,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -731,9 +625,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -764,9 +656,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -782,24 +672,18 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__InputGroup.res b/src/Components/Chakra__InputGroup.res index 0df23d4..9103338 100644 --- a/src/Components/Chakra__InputGroup.res +++ b/src/Components/Chakra__InputGroup.res @@ -3,15 +3,11 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {InputGroup} - **/ + /* Component Props {InputGroup} */ ~_as: string=?, ~isTruncated: bool=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -30,24 +26,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -57,10 +47,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -73,10 +61,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -90,10 +76,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -106,20 +90,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -150,10 +130,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -169,26 +147,20 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - Pseudo - @see - **/ + /* Pseudo + @see */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -229,8 +201,7 @@ external make: ( @as("_placeholder") ~_placeholder: Pseudo.t=?, @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -255,56 +226,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -323,10 +279,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -337,33 +291,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -389,27 +333,19 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "InputGroup" let makeProps = ( - /** - Component Props {InputGroup} - **/ - /** - Margin and Padding - **/ + /* Component Props {InputGroup} */ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -442,22 +378,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -467,9 +397,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -489,9 +417,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -506,9 +432,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -521,9 +445,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -536,9 +458,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -569,9 +489,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -587,9 +505,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -597,25 +513,17 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {InputGroup} - **/ - /** - Margin and Padding - **/ + /* Component Props {InputGroup} */ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -634,20 +542,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -657,9 +559,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -672,9 +572,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -688,9 +586,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -703,9 +599,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -716,9 +610,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -749,9 +641,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -767,24 +657,18 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__InputLeftAddon.res b/src/Components/Chakra__InputLeftAddon.res index bdd6dcc..2ca6028 100644 --- a/src/Components/Chakra__InputLeftAddon.res +++ b/src/Components/Chakra__InputLeftAddon.res @@ -3,15 +3,11 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: string, - /** - Component Props {InputLeftAddon} - **/ + /* Component Props {InputLeftAddon} */ ~_as: string=?, ~isTruncated: bool=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -30,24 +26,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -57,10 +47,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -73,10 +61,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -90,10 +76,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -106,20 +90,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -150,10 +130,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -169,26 +147,20 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - Pseudo - @see - **/ + /* Pseudo + @see */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -229,8 +201,7 @@ external make: ( @as("_placeholder") ~_placeholder: Pseudo.t=?, @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -255,56 +226,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -323,10 +279,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -337,33 +291,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -389,27 +333,19 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "InputLeftAddon" let makeProps = ( - /** - Component Props {InputLeftAddon} - **/ - /** - Margin and Padding - **/ + /* Component Props {InputLeftAddon} */ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -442,22 +378,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -467,9 +397,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -489,9 +417,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -506,9 +432,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -521,9 +445,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -536,9 +458,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -569,9 +489,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -587,9 +505,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -597,25 +513,17 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {InputLeftAddon} - **/ - /** - Margin and Padding - **/ + /* Component Props {InputLeftAddon} */ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -634,20 +542,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -657,9 +559,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -672,9 +572,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -688,9 +586,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -703,9 +599,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -716,9 +610,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -749,9 +641,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -767,24 +657,18 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__InputLeftElement.res b/src/Components/Chakra__InputLeftElement.res index 6d5e8f3..7b155bb 100644 --- a/src/Components/Chakra__InputLeftElement.res +++ b/src/Components/Chakra__InputLeftElement.res @@ -3,15 +3,11 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {InputLeftElement} - **/ + /* Component Props {InputLeftElement} */ ~_as: string=?, ~isTruncated: bool=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -30,24 +26,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -57,10 +47,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -73,10 +61,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -90,10 +76,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -106,20 +90,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -150,10 +130,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -169,26 +147,20 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - Pseudo - @see - **/ + /* Pseudo + @see */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -229,8 +201,7 @@ external make: ( @as("_placeholder") ~_placeholder: Pseudo.t=?, @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -255,56 +226,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -323,10 +279,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -337,33 +291,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -389,27 +333,19 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "InputLeftElement" let makeProps = ( - /** - Component Props {InputLeftElement} - **/ - /** - Margin and Padding - **/ + /* Component Props {InputLeftElement} */ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -442,22 +378,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -467,9 +397,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -489,9 +417,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -506,9 +432,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -521,9 +445,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -536,9 +458,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -569,9 +489,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -587,9 +505,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -597,25 +513,17 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {InputLeftElement} - **/ - /** - Margin and Padding - **/ + /* Component Props {InputLeftElement} */ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -634,20 +542,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -657,9 +559,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -672,9 +572,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -688,9 +586,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -703,9 +599,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -716,9 +610,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -749,9 +641,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -767,24 +657,18 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__InputRightAddon.res b/src/Components/Chakra__InputRightAddon.res index f2081d2..d4a8c09 100644 --- a/src/Components/Chakra__InputRightAddon.res +++ b/src/Components/Chakra__InputRightAddon.res @@ -3,15 +3,11 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: string, - /** - Component Props {InputRightAddon} - **/ + /* Component Props {InputRightAddon} */ ~_as: string=?, ~isTruncated: bool=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -30,24 +26,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -57,10 +47,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -73,10 +61,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -90,10 +76,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -106,20 +90,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -150,10 +130,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -169,26 +147,20 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - Pseudo - @see - **/ + /* Pseudo + @see */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -229,8 +201,7 @@ external make: ( @as("_placeholder") ~_placeholder: Pseudo.t=?, @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -255,56 +226,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -323,10 +279,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -337,33 +291,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -389,27 +333,19 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "InputRightAddon" let makeProps = ( - /** - Component Props {InputRightAddon} - **/ - /** - Margin and Padding - **/ + /* Component Props {InputRightAddon} */ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -442,22 +378,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -467,9 +397,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -489,9 +417,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -506,9 +432,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -521,9 +445,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -536,9 +458,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -569,9 +489,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -587,9 +505,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -597,25 +513,17 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {InputRightAddon} - **/ - /** - Margin and Padding - **/ + /* Component Props {InputRightAddon} */ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -634,20 +542,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -657,9 +559,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -672,9 +572,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -688,9 +586,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -703,9 +599,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -716,9 +610,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -749,9 +641,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -767,24 +657,18 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__InputRightElement.res b/src/Components/Chakra__InputRightElement.res index 21d91bc..3aec79a 100644 --- a/src/Components/Chakra__InputRightElement.res +++ b/src/Components/Chakra__InputRightElement.res @@ -3,15 +3,11 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {InputRightElement} - **/ + /* Component Props {InputRightElement} */ ~_as: string=?, ~isTruncated: bool=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -30,24 +26,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -57,10 +47,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -73,10 +61,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -90,10 +76,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -106,20 +90,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -150,10 +130,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -169,26 +147,20 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - Pseudo - @see - **/ + /* Pseudo + @see */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -229,8 +201,7 @@ external make: ( @as("_placeholder") ~_placeholder: Pseudo.t=?, @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -255,56 +226,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -323,10 +279,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -337,33 +291,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -389,27 +333,19 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "InputRightElement" let makeProps = ( - /** - Component Props {InputRightElement} - **/ - /** - Margin and Padding - **/ + /* Component Props {InputRightElement} */ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -442,22 +378,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -467,9 +397,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -489,9 +417,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -506,9 +432,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -521,9 +445,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -536,9 +458,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -569,9 +489,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -587,9 +505,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -597,25 +513,17 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {InputRightElement} - **/ - /** - Margin and Padding - **/ + /* Component Props {InputRightElement} */ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -634,20 +542,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -657,9 +559,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -672,9 +572,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -688,9 +586,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -703,9 +599,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -716,9 +610,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -749,9 +641,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -767,24 +657,18 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__Kbd.res b/src/Components/Chakra__Kbd.res index de3e287..53e7f40 100644 --- a/src/Components/Chakra__Kbd.res +++ b/src/Components/Chakra__Kbd.res @@ -3,15 +3,11 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {Kbd} - **/ + /* Component Props {Kbd} */ ~_as: string=?, ~isTruncated: bool=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -30,24 +26,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -57,10 +47,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -73,10 +61,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -90,10 +76,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -106,20 +90,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -150,10 +130,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -169,24 +147,19 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - TODO + /* TODO Pseudo @see @@ -229,8 +202,7 @@ external make: ( _groupChecked _placeholder _fullScreen - _selection - **/ + _selection */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -272,8 +244,7 @@ external make: ( @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -298,56 +269,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -366,10 +322,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -380,33 +334,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -432,27 +376,19 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "Kbd" let makeProps = ( - /** - Component Props {Kbd} - **/ - /** - Margin and Padding - **/ + /* Component Props {Kbd} */ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -485,22 +421,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -510,9 +440,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -532,9 +460,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -549,9 +475,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -564,9 +488,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -579,9 +501,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -612,9 +532,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -630,9 +548,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -640,29 +556,19 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {Kbd} - **/ - /** - Margin and Padding - **/ + /* Component Props {Kbd} */ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -681,20 +587,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -704,9 +604,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -719,9 +617,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -735,9 +631,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -750,9 +644,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -763,9 +655,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -796,9 +686,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -814,28 +702,20 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__Link.res b/src/Components/Chakra__Link.res index 4fad8eb..7c41b93 100644 --- a/src/Components/Chakra__Link.res +++ b/src/Components/Chakra__Link.res @@ -3,9 +3,7 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Generic HTML Element - **/ + /* Generic HTML Element */ ~download: string=?, ~href: string=?, ~hrefLang: string=?, @@ -15,18 +13,14 @@ external make: ( ~target: HTML.Target.t=?, ~_type: string=?, ~isExternal: bool=?, - /** - Component Props {Link} - **/ + /* Component Props {Link} */ ~_as: string=?, ~isTruncated: bool=?, ~isExternal: bool=?, ~size: string=?, ~variant: string=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -45,24 +39,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -72,10 +60,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -88,10 +74,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -105,10 +89,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -121,20 +103,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -165,10 +143,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -184,26 +160,20 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - Pseudo - @see - **/ + /* Pseudo + @see */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -244,8 +214,7 @@ external make: ( @as("_placeholder") ~_placeholder: Pseudo.t=?, @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -270,56 +239,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -338,10 +292,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -352,33 +304,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -404,27 +346,19 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "Link" let makeProps = ( - /** - Component Props {Link} - **/ - /** - Margin and Padding - **/ + /* Component Props {Link} */ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -457,22 +391,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -482,9 +410,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -504,9 +430,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -521,9 +445,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -536,9 +458,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -551,9 +471,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -584,9 +502,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -602,9 +518,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -612,25 +526,17 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {Link} - **/ - /** - Margin and Padding - **/ + /* Component Props {Link} */ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -649,20 +555,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -672,9 +572,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -687,9 +585,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -703,9 +599,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -718,9 +612,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -731,9 +623,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -764,9 +654,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -782,24 +670,18 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__LinkBox.res b/src/Components/Chakra__LinkBox.res index 98cefd1..12f3e08 100644 --- a/src/Components/Chakra__LinkBox.res +++ b/src/Components/Chakra__LinkBox.res @@ -3,15 +3,11 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {LinkBox} - **/ + /* Component Props {LinkBox} */ ~_as: string=?, ~isTruncated: bool=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -30,24 +26,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -57,10 +47,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -73,10 +61,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -90,10 +76,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -106,20 +90,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -150,10 +130,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -169,26 +147,20 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - Pseudo - @see - **/ + /* Pseudo + @see */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -229,8 +201,7 @@ external make: ( @as("_placeholder") ~_placeholder: Pseudo.t=?, @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -255,56 +226,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -323,10 +279,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -337,33 +291,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -389,27 +333,19 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "LinkBox" let makeProps = ( - /** - Component Props {LinkBox} - **/ - /** - Margin and Padding - **/ + /* Component Props {LinkBox} */ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -442,22 +378,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -467,9 +397,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -489,9 +417,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -506,9 +432,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -521,9 +445,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -536,9 +458,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -569,9 +489,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -587,9 +505,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -597,25 +513,17 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {LinkBox} - **/ - /** - Margin and Padding - **/ + /* Component Props {LinkBox} */ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -634,20 +542,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -657,9 +559,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -672,9 +572,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -688,9 +586,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -703,9 +599,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -716,9 +610,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -749,9 +641,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -767,24 +657,18 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__LinkOverlay.res b/src/Components/Chakra__LinkOverlay.res index c534475..b0967ff 100644 --- a/src/Components/Chakra__LinkOverlay.res +++ b/src/Components/Chakra__LinkOverlay.res @@ -3,9 +3,7 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Generic HTML Element - **/ + /* Generic HTML Element */ ~download: string=?, ~href: string=?, ~hrefLang: string=?, @@ -15,14 +13,10 @@ external make: ( ~target: HTML.Target.t=?, ~_type: string=?, ~isExternal: bool=?, - /** - Component Props {LinkOverlay} - **/ + /* Component Props {LinkOverlay} */ ~isTruncated: bool=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -41,24 +35,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -68,10 +56,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -84,10 +70,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -101,10 +85,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -117,20 +99,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -161,10 +139,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -180,26 +156,20 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - Pseudo - @see - **/ + /* Pseudo + @see */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -240,8 +210,7 @@ external make: ( @as("_placeholder") ~_placeholder: Pseudo.t=?, @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -266,56 +235,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -334,10 +288,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -348,33 +300,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -400,27 +342,19 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "LinkOverlay" let makeProps = ( - /** - Component Props {LinkOverlay} - **/ - /** - Margin and Padding - **/ + /* Component Props {LinkOverlay} */ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -453,22 +387,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -478,9 +406,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -500,9 +426,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -517,9 +441,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -532,9 +454,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -547,9 +467,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -580,9 +498,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -598,9 +514,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -608,25 +522,17 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {LinkOverlay} - **/ - /** - Margin and Padding - **/ + /* Component Props {LinkOverlay} */ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -645,20 +551,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -668,9 +568,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -683,9 +581,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -699,9 +595,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -714,9 +608,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -727,9 +619,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -760,9 +650,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -778,24 +666,18 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__Progress.res b/src/Components/Chakra__Progress.res index c7b2587..a62ddc5 100644 --- a/src/Components/Chakra__Progress.res +++ b/src/Components/Chakra__Progress.res @@ -3,9 +3,7 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {Progress} - **/ + /* Component Props {Progress} */ ~_as: string=?, ~isTruncated: bool=?, ~hasStripe: bool=?, @@ -14,10 +12,8 @@ external make: ( ~max: float=?, ~min: float=?, ~size: Chakra__Theme.Size.Progress.t=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -36,24 +32,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -63,10 +53,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -79,10 +67,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -96,10 +82,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -112,20 +96,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -156,10 +136,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -175,26 +153,20 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - Pseudo - @see - **/ + /* Pseudo + @see */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -235,8 +207,7 @@ external make: ( @as("_placeholder") ~_placeholder: Pseudo.t=?, @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -261,56 +232,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -329,10 +285,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -343,33 +297,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -395,27 +339,19 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "Progress" let makeProps = ( - /** - Component Props {Progress} - **/ - /** - Margin and Padding - **/ + /* Component Props {Progress} */ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -448,22 +384,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -473,9 +403,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -495,9 +423,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -512,9 +438,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -527,9 +451,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -542,9 +464,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -575,9 +495,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -593,9 +511,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -603,25 +519,17 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {Progress} - **/ - /** - Margin and Padding - **/ + /* Component Props {Progress} */ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -640,20 +548,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -663,9 +565,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -678,9 +578,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -694,9 +592,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -709,9 +605,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -722,9 +616,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -755,9 +647,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -773,24 +663,18 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__Select.res b/src/Components/Chakra__Select.res index b05ff97..81cd834 100644 --- a/src/Components/Chakra__Select.res +++ b/src/Components/Chakra__Select.res @@ -3,9 +3,7 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {Select} - **/ + /* Component Props {Select} */ ~_as: string=?, ~errorBorderColor: Identity.t=?, ~focusBorderColor: Identity.t=?, @@ -21,10 +19,8 @@ external make: ( ~rootProps: bool=?, ~size: Size.Select.t=?, ~variant: Identity.t=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -43,24 +39,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -70,10 +60,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -86,10 +74,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -103,10 +89,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -119,20 +103,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -163,10 +143,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -182,26 +160,20 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - Pseudo - @see - **/ + /* Pseudo + @see */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -242,8 +214,7 @@ external make: ( @as("_placeholder") ~_placeholder: Pseudo.t=?, @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -268,56 +239,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -336,10 +292,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -350,33 +304,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -402,31 +346,23 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "Select" let makeProps = ( - /** - Component Props {Select} - **/ + /* Component Props {Select} */ ~errorBorderColor=?, ~focusBorderColor=?, ~iconColor=?, ~variant=?, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -459,22 +395,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -484,9 +414,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -506,9 +434,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -523,9 +449,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -538,9 +462,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -553,9 +475,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -586,9 +506,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -604,9 +522,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -614,29 +530,21 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {Select} - **/ + /* Component Props {Select} */ ~errorBorderColor=?errorBorderColor->BorderColor.fromOption, ~focusBorderColor=?focusBorderColor->BorderColor.fromOption, ~iconColor=?iconColor->Color.fromOption, ~variant=?variant->Select.Variant.fromOption, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -655,20 +563,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -678,9 +580,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -693,9 +593,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -709,9 +607,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -724,9 +620,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -737,9 +631,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -770,9 +662,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -788,24 +678,18 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__SimpleGrid.res b/src/Components/Chakra__SimpleGrid.res index e431089..df4ba45 100644 --- a/src/Components/Chakra__SimpleGrid.res +++ b/src/Components/Chakra__SimpleGrid.res @@ -3,15 +3,11 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {SimpleGrid} - **/ + /* Component Props {SimpleGrid} */ ~_as: string=?, ~isTruncated: bool=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -30,24 +26,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -57,10 +47,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -73,10 +61,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -90,10 +76,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -106,20 +90,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -150,10 +130,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -169,24 +147,19 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - TODO + /* TODO Pseudo @see @@ -229,8 +202,7 @@ external make: ( _groupChecked _placeholder _fullScreen - _selection - **/ + _selection */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -272,8 +244,7 @@ external make: ( @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -298,56 +269,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -366,10 +322,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -380,33 +334,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -432,24 +376,18 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "SimpleGrid" let makeProps = ( - /** - Component Props {SimpleGrid} - **/ + /* Component Props {SimpleGrid} */ ~gap=?, ~rowGap=?, ~columnGap=?, @@ -462,9 +400,7 @@ let makeProps = ( ~templateRows=?, ~templateColumns=?, ~templateAreas=?, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -497,22 +433,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -522,9 +452,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -544,9 +472,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -561,9 +487,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -576,9 +500,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -591,9 +513,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -624,9 +544,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -642,9 +560,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -652,29 +568,19 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {SimpleGrid} - **/ - /** - Margin and Padding - **/ + /* Component Props {SimpleGrid} */ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -693,20 +599,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -716,9 +616,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -731,9 +629,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -747,9 +643,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gap->withShorthand(gridGap)->GridGap.fromOption, ~gridRowGap=?rowGap->withShorthand(gridRowGap)->GridRowGap.fromOption, ~gridColumnGap=?columnGap->withShorthand(gridColumnGap)->GridColumnGap.fromOption, @@ -766,9 +660,7 @@ let makeProps = ( ~gridTemplateAreas=?templateAreas ->withShorthand(gridTemplateAreas) ->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -779,9 +671,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -812,9 +702,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -830,28 +718,20 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__Skeleton.res b/src/Components/Chakra__Skeleton.res index 2546cd7..c2775c2 100644 --- a/src/Components/Chakra__Skeleton.res +++ b/src/Components/Chakra__Skeleton.res @@ -3,9 +3,7 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {Skeleton} - **/ + /* Component Props {Skeleton} */ ~_as: string=?, ~isTruncated: bool=?, ~endColor: string=?, @@ -13,10 +11,8 @@ external make: ( ~fadeDuration: float=?, ~speed: float=?, ~isLoaded: bool=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -35,24 +31,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -62,10 +52,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -78,10 +66,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -95,10 +81,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -111,20 +95,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -155,10 +135,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -174,26 +152,20 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - Pseudo - @see - **/ + /* Pseudo + @see */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -234,8 +206,7 @@ external make: ( @as("_placeholder") ~_placeholder: Pseudo.t=?, @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -260,56 +231,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -328,10 +284,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -342,33 +296,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -394,29 +338,21 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "Skeleton" let makeProps = ( - /** - Component Props {Skeleton} - **/ + /* Component Props {Skeleton} */ ~endColor=?, ~startColor=?, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -449,22 +385,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -474,9 +404,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -496,9 +424,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -513,9 +439,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -528,9 +452,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -543,9 +465,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -576,9 +496,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -594,9 +512,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -604,27 +520,19 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {Skeleton} - **/ + /* Component Props {Skeleton} */ ~endColor=?endColor->Belt.Option.map(Chakra__AtomicTypes.Colors.toString), ~startColor=?startColor->Belt.Option.map(Chakra__AtomicTypes.Colors.toString), - /** - Margin and Padding - **/ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -643,20 +551,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -666,9 +568,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -681,9 +581,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -697,9 +595,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -712,9 +608,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -725,9 +619,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -758,9 +650,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -776,24 +666,18 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__SkeletonCircle.res b/src/Components/Chakra__SkeletonCircle.res index d561c95..934b935 100644 --- a/src/Components/Chakra__SkeletonCircle.res +++ b/src/Components/Chakra__SkeletonCircle.res @@ -3,9 +3,7 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {SkeletonCircle} - **/ + /* Component Props {SkeletonCircle} */ ~_as: string=?, ~isTruncated: bool=?, ~endColor: string=?, @@ -13,10 +11,8 @@ external make: ( ~fadeDuration: float=?, ~speed: float=?, ~isLoaded: bool=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -35,24 +31,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -62,10 +52,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -78,10 +66,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -95,10 +81,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -111,20 +95,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -155,10 +135,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -174,26 +152,20 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - Pseudo - @see - **/ + /* Pseudo + @see */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -234,8 +206,7 @@ external make: ( @as("_placeholder") ~_placeholder: Pseudo.t=?, @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -260,56 +231,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -328,10 +284,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -342,33 +296,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -394,29 +338,21 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "SkeletonCircle" let makeProps = ( - /** - Component Props {SkeletonCircle} - **/ + /* Component Props {SkeletonCircle} */ ~endColor=?, ~startColor=?, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -449,22 +385,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -474,9 +404,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -496,9 +424,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -513,9 +439,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -528,9 +452,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -543,9 +465,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -576,9 +496,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -594,9 +512,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -604,27 +520,19 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {SkeletonCircle} - **/ + /* Component Props {SkeletonCircle} */ ~endColor=?endColor->Belt.Option.map(Chakra__AtomicTypes.Colors.toString), ~startColor=?startColor->Belt.Option.map(Chakra__AtomicTypes.Colors.toString), - /** - Margin and Padding - **/ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -643,20 +551,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -666,9 +568,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -681,9 +581,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -697,9 +595,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -712,9 +608,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -725,9 +619,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -758,9 +650,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -776,24 +666,18 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__SkeletonText.res b/src/Components/Chakra__SkeletonText.res index 7bca4f1..c2a7236 100644 --- a/src/Components/Chakra__SkeletonText.res +++ b/src/Components/Chakra__SkeletonText.res @@ -3,9 +3,7 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {SkeletonText} - **/ + /* Component Props {SkeletonText} */ ~_as: string=?, ~isTruncated: bool=?, ~endColor: string=?, @@ -14,10 +12,8 @@ external make: ( ~speed: float=?, ~isLoaded: bool=?, ~noOfLines: int=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -36,24 +32,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -63,10 +53,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -79,10 +67,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -96,10 +82,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -112,20 +96,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -156,10 +136,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -175,26 +153,20 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - Pseudo - @see - **/ + /* Pseudo + @see */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -235,8 +207,7 @@ external make: ( @as("_placeholder") ~_placeholder: Pseudo.t=?, @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -261,56 +232,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -329,10 +285,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -343,33 +297,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -395,29 +339,21 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "SkeletonText" let makeProps = ( - /** - Component Props {SkeletonText} - **/ + /* Component Props {SkeletonText} */ ~endColor=?, ~startColor=?, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -450,22 +386,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -475,9 +405,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -497,9 +425,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -514,9 +440,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -529,9 +453,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -544,9 +466,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -577,9 +497,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -595,9 +513,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -605,27 +521,19 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {SkeletonText} - **/ + /* Component Props {SkeletonText} */ ~endColor=?endColor->Belt.Option.map(Chakra__AtomicTypes.Colors.toString), ~startColor=?startColor->Belt.Option.map(Chakra__AtomicTypes.Colors.toString), - /** - Margin and Padding - **/ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -644,20 +552,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -667,9 +569,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -682,9 +582,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -698,9 +596,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -713,9 +609,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -726,9 +620,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -759,9 +651,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -777,24 +667,18 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__Spacer.res b/src/Components/Chakra__Spacer.res index 8cd864c..afcfa6a 100644 --- a/src/Components/Chakra__Spacer.res +++ b/src/Components/Chakra__Spacer.res @@ -3,15 +3,11 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {Flex} - **/ + /* Component Props {Flex} */ ~_as: string=?, ~isTruncated: bool=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -30,24 +26,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -57,10 +47,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -73,10 +61,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -90,10 +76,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -106,20 +90,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -150,10 +130,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -169,24 +147,19 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - TODO + /* TODO Pseudo @see @@ -229,8 +202,7 @@ external make: ( _groupChecked _placeholder _fullScreen - _selection - **/ + _selection */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -271,8 +243,7 @@ external make: ( @as("_placeholder") ~_placeholder: Pseudo.t=?, @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -297,56 +268,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -365,10 +321,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -379,33 +333,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -431,24 +375,18 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "Spacer" let makeProps = ( - /** - Component Props {Spacer} - **/ + /* Component Props {Spacer} */ ~align=?, ~basis=?, ~direction=?, @@ -456,9 +394,7 @@ let makeProps = ( ~justify=?, ~shrink=?, ~wrap=?, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -491,22 +427,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -516,9 +446,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -538,9 +466,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -555,9 +481,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -570,9 +494,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -585,9 +507,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -618,9 +538,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -636,9 +554,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -646,29 +562,19 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {Spacer} - **/ - /** - Margin and Padding - **/ + /* Component Props {Spacer} */ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -687,20 +593,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -710,9 +610,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -725,9 +623,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?align->withShorthand(alignItems)->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -744,9 +640,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -759,9 +653,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -772,9 +664,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -805,9 +695,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -823,28 +711,20 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__Spinner.res b/src/Components/Chakra__Spinner.res index 27690ed..2cdf35a 100644 --- a/src/Components/Chakra__Spinner.res +++ b/src/Components/Chakra__Spinner.res @@ -3,9 +3,7 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {Spinner} - **/ + /* Component Props {Spinner} */ ~_as: string=?, ~isTruncated: bool=?, ~emptyColor: string=?, @@ -13,10 +11,8 @@ external make: ( ~size: Chakra__Theme.Size.Spinner.t=?, ~thickness: string=?, ~speed: string=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -35,24 +31,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -62,10 +52,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -78,10 +66,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -95,10 +81,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -111,20 +95,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -155,10 +135,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -174,26 +152,20 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - Pseudo - @see - **/ + /* Pseudo + @see */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -234,8 +206,7 @@ external make: ( @as("_placeholder") ~_placeholder: Pseudo.t=?, @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -260,56 +231,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -328,10 +284,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -342,33 +296,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -394,28 +338,20 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "Spinner" let makeProps = ( - /** - Component Props {Spinner} - **/ + /* Component Props {Spinner} */ ~emptyColor=?, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -448,22 +384,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -473,9 +403,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -495,9 +423,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -512,9 +438,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -527,9 +451,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -542,9 +464,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -575,9 +495,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -593,9 +511,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -603,26 +519,18 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {Spinner} - **/ + /* Component Props {Spinner} */ ~emptyColor=?emptyColor->Belt.Option.map(Chakra__AtomicTypes.Colors.toString), - /** - Margin and Padding - **/ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -641,20 +549,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -664,9 +566,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -679,9 +579,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -695,9 +593,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -710,9 +606,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -723,9 +617,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -756,9 +648,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -774,24 +664,18 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__Square.res b/src/Components/Chakra__Square.res index 7aca502..1c7643b 100644 --- a/src/Components/Chakra__Square.res +++ b/src/Components/Chakra__Square.res @@ -3,15 +3,11 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {Square} - **/ + /* Component Props {Square} */ ~_as: string=?, ~isTruncated: bool=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -30,24 +26,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -57,10 +47,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -73,10 +61,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -90,10 +76,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -106,20 +90,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -150,10 +130,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -169,24 +147,19 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - TODO + /* TODO Pseudo @see @@ -229,8 +202,7 @@ external make: ( _groupChecked _placeholder _fullScreen - _selection - **/ + _selection */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -272,8 +244,7 @@ external make: ( @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -298,56 +269,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -366,10 +322,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -380,33 +334,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -432,27 +376,19 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "Square" let makeProps = ( - /** - Component Props {Square} - **/ - /** - Margin and Padding - **/ + /* Component Props {Square} */ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -485,22 +421,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -510,9 +440,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -532,9 +460,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -549,9 +475,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -564,9 +488,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -579,9 +501,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -612,9 +532,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -630,9 +548,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -640,29 +556,19 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {Square} - **/ - /** - Margin and Padding - **/ + /* Component Props {Square} */ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -681,20 +587,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -704,9 +604,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -719,9 +617,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -735,9 +631,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -750,9 +644,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -763,9 +655,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -796,9 +686,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -814,28 +702,20 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__Stack.res b/src/Components/Chakra__Stack.res index 058c58f..e388437 100644 --- a/src/Components/Chakra__Stack.res +++ b/src/Components/Chakra__Stack.res @@ -3,19 +3,15 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {Stack} - **/ + /* Component Props {Stack} */ ~_as: string=?, ~isTruncated: bool=?, ~isInline: Identity.t=?, ~shouldWrapChildren: Identity.t=?, ~spacing: Identity.t=?, ~divider: React.element=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -34,24 +30,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -61,10 +51,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -77,10 +65,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -94,10 +80,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -110,20 +94,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -154,10 +134,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -173,24 +151,19 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - TODO + /* TODO Pseudo @see @@ -233,8 +206,7 @@ external make: ( _groupChecked _placeholder _fullScreen - _selection - **/ + _selection */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -276,8 +248,7 @@ external make: ( @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -302,56 +273,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -370,10 +326,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -384,33 +338,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -436,24 +380,18 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "Stack" let makeProps = ( - /** - Component Props {Stack} - **/ + /* Component Props {Stack} */ ~align=?, ~basis=?, ~direction=?, @@ -464,9 +402,7 @@ let makeProps = ( ~isInline=?, ~shouldWrapChildren=?, ~spacing=?, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -499,22 +435,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -524,9 +454,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -546,9 +474,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -563,9 +489,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -578,9 +502,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -593,9 +515,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -626,9 +546,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -644,9 +562,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -654,32 +570,22 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {Stack} - **/ + /* Component Props {Stack} */ ~isInline=?isInline->Bool.fromOption, ~shouldWrapChildren=?shouldWrapChildren->Bool.fromOption, ~spacing=?spacing->Margin.fromOption, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -698,20 +604,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -721,9 +621,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -736,9 +634,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?align->withShorthand(alignItems)->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -755,9 +651,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -770,9 +664,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -783,9 +675,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -816,9 +706,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -834,28 +722,20 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__Stat.res b/src/Components/Chakra__Stat.res index c610231..82e7e29 100644 --- a/src/Components/Chakra__Stat.res +++ b/src/Components/Chakra__Stat.res @@ -3,16 +3,12 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {Stat} - **/ + /* Component Props {Stat} */ ~_as: string=?, ~isTruncated: bool=?, ~size: Identity.t=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -31,24 +27,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -58,10 +48,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -74,10 +62,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -91,10 +77,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -107,20 +91,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -151,10 +131,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -170,24 +148,19 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - TODO + /* TODO Pseudo @see @@ -230,8 +203,7 @@ external make: ( _groupChecked _placeholder _fullScreen - _selection - **/ + _selection */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -273,8 +245,7 @@ external make: ( @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -299,56 +270,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -367,10 +323,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -381,33 +335,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -433,28 +377,20 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "Stat" let makeProps = ( - /** - Component Props {Stat} - **/ + /* Component Props {Stat} */ ~size=?, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -487,22 +423,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -512,9 +442,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -534,9 +462,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -551,9 +477,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -566,9 +490,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -581,9 +503,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -614,9 +534,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -632,9 +550,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -642,30 +558,20 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {Stat} - **/ + /* Component Props {Stat} */ ~size=?size->Stat.Size.fromOption, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -684,20 +590,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -707,9 +607,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -722,9 +620,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -738,9 +634,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -753,9 +647,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -766,9 +658,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -799,9 +689,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -817,28 +705,20 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__StatGroup.res b/src/Components/Chakra__StatGroup.res index db50442..1f9fad8 100644 --- a/src/Components/Chakra__StatGroup.res +++ b/src/Components/Chakra__StatGroup.res @@ -3,16 +3,12 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {StatGroup} - **/ + /* Component Props {StatGroup} */ ~_as: string=?, ~isTruncated: bool=?, ~size: Identity.t=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -31,24 +27,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -58,10 +48,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -74,10 +62,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -91,10 +77,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -107,20 +91,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -151,10 +131,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -170,24 +148,19 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - TODO + /* TODO Pseudo @see @@ -230,8 +203,7 @@ external make: ( _groupChecked _placeholder _fullScreen - _selection - **/ + _selection */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -273,8 +245,7 @@ external make: ( @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -299,56 +270,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -367,10 +323,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -381,33 +335,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -433,28 +377,20 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "StatGroup" let makeProps = ( - /** - Component Props {StatGroup} - **/ + /* Component Props {StatGroup} */ ~size=?, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -487,22 +423,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -512,9 +442,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -534,9 +462,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -551,9 +477,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -566,9 +490,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -581,9 +503,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -614,9 +534,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -632,9 +550,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -642,30 +558,20 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {StatGroup} - **/ + /* Component Props {StatGroup} */ ~size=?size->Stat.Size.fromOption, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -684,20 +590,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -707,9 +607,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -722,9 +620,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -738,9 +634,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -753,9 +647,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -766,9 +658,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -799,9 +689,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -817,28 +705,20 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__Text.res b/src/Components/Chakra__Text.res index 51a3d46..1d2f32a 100644 --- a/src/Components/Chakra__Text.res +++ b/src/Components/Chakra__Text.res @@ -3,9 +3,7 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {Text} - **/ + /* Component Props {Text} */ ~_as: AliasText.t=?, ~isTruncated: bool=?, ~align: Identity.t=?, @@ -15,10 +13,8 @@ external make: ( ~size: string=?, ~variant: string=?, ~noOfLines: Identity.t=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -37,24 +33,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -64,10 +54,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -80,10 +68,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -97,10 +83,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -113,20 +97,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -157,10 +137,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -176,26 +154,20 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - Pseudo - @see - **/ + /* Pseudo + @see */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -236,8 +208,7 @@ external make: ( @as("_placeholder") ~_placeholder: Pseudo.t=?, @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -262,56 +233,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -330,10 +286,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -344,33 +298,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -396,31 +340,23 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "Text" let makeProps = ( - /** - Component Props {Text} - **/ + /* Component Props {Text} */ ~align=?, ~casing=?, ~decoration=?, ~noOfLines=?, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -453,22 +389,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -478,9 +408,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -500,9 +428,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -517,9 +443,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -532,9 +456,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -547,9 +469,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -580,9 +500,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -598,9 +516,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -608,26 +524,18 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {Text} - **/ + /* Component Props {Text} */ ~noOfLines=?noOfLines->NoOfLines.fromOption, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -646,20 +554,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -669,9 +571,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?casing->withShorthand(textTransform)->TextTransform.fromOption, ~textDecoration=?decoration->withShorthand(textDecoration)->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -684,9 +584,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -700,9 +598,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -715,9 +611,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -728,9 +622,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -761,9 +653,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -779,24 +669,18 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__VStack.res b/src/Components/Chakra__VStack.res index 32e50bc..1615c54 100644 --- a/src/Components/Chakra__VStack.res +++ b/src/Components/Chakra__VStack.res @@ -3,19 +3,15 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {VStack} - **/ + /* Component Props {VStack} */ ~_as: string=?, ~isTruncated: bool=?, ~isInline: Identity.t=?, ~shouldWrapChildren: Identity.t=?, ~spacing: Identity.t=?, ~divider: React.element=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -34,24 +30,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -61,10 +51,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -77,10 +65,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -94,10 +80,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -110,20 +94,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -154,10 +134,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -173,26 +151,20 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - Pseudo - @see - **/ + /* Pseudo + @see */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -233,8 +205,7 @@ external make: ( @as("_placeholder") ~_placeholder: Pseudo.t=?, @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -259,56 +230,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -327,10 +283,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -341,33 +295,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -393,24 +337,18 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "VStack" let makeProps = ( - /** - Component Props {VStack} - **/ + /* Component Props {VStack} */ ~align=?, ~basis=?, ~direction=?, @@ -421,9 +359,7 @@ let makeProps = ( ~isInline=?, ~shouldWrapChildren=?, ~spacing=?, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -456,22 +392,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -481,9 +411,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -503,9 +431,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -520,9 +446,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -535,9 +459,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -550,9 +472,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -583,9 +503,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -601,9 +519,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -611,32 +527,22 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {VStack} - **/ + /* Component Props {VStack} */ ~isInline=?isInline->Bool.fromOption, ~shouldWrapChildren=?shouldWrapChildren->Bool.fromOption, ~spacing=?spacing->Margin.fromOption, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -655,20 +561,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -678,9 +578,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -693,9 +591,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?align->withShorthand(alignItems)->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -712,9 +608,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -727,9 +621,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -740,9 +632,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -773,9 +663,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -791,24 +679,18 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__Wrap.res b/src/Components/Chakra__Wrap.res index fee81e1..2effbe2 100644 --- a/src/Components/Chakra__Wrap.res +++ b/src/Components/Chakra__Wrap.res @@ -3,17 +3,13 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {Wrap} - **/ + /* Component Props {Wrap} */ ~_as: string=?, ~isTruncated: bool=?, ~shouldWrapChildren: Identity.t=?, ~spacing: Identity.t=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -32,24 +28,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -59,10 +49,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -75,10 +63,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -92,10 +78,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -108,20 +92,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -152,10 +132,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -171,24 +149,19 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - TODO + /* TODO Pseudo @see @@ -231,8 +204,7 @@ external make: ( _groupChecked _placeholder _fullScreen - _selection - **/ + _selection */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -274,8 +246,7 @@ external make: ( @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -300,56 +271,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -368,10 +324,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -382,33 +336,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -434,24 +378,18 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "Wrap" let makeProps = ( - /** - Component Props {Wrap} - **/ + /* Component Props {Wrap} */ ~align=?, ~basis=?, ~direction=?, @@ -460,9 +398,7 @@ let makeProps = ( ~shrink=?, ~wrap=?, ~spacing=?, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -495,22 +431,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -520,9 +450,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -542,9 +470,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -559,9 +485,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -574,9 +498,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -589,9 +511,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -622,9 +542,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -640,9 +558,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -650,30 +566,20 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {Wrap} - **/ + /* Component Props {Wrap} */ ~spacing=?spacing->Margin.fromOption, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -692,20 +598,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -715,9 +615,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -730,9 +628,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?align->withShorthand(alignItems)->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -749,9 +645,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -764,9 +658,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -777,9 +669,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -810,9 +700,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -828,28 +716,20 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Pseudo - **/ - /** - TODO - Other Props - **/ + /* TODO + Pseudo */ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Components/Chakra__WrapItem.res b/src/Components/Chakra__WrapItem.res index ffbd92e..ced9491 100644 --- a/src/Components/Chakra__WrapItem.res +++ b/src/Components/Chakra__WrapItem.res @@ -3,17 +3,13 @@ open Chakra__MakeProps @react.component @module("@chakra-ui/react") external make: ( ~children: React.element=?, - /** - Component Props {WrapItem} - **/ + /* Component Props {WrapItem} */ ~_as: string=?, ~isTruncated: bool=?, ~shouldWrapChildren: Identity.t=?, ~spacing: Identity.t=?, - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -32,24 +28,18 @@ external make: ( ~paddingStart: Identity.t=?, ~px: Identity.t=?, ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ ~colorScheme: ColorScheme.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -59,10 +49,8 @@ external make: ( ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -75,10 +63,8 @@ external make: ( ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -92,10 +78,8 @@ external make: ( ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -108,20 +92,16 @@ external make: ( ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -152,10 +132,8 @@ external make: ( ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -171,26 +149,20 @@ external make: ( ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - Pseudo - @see - **/ + /* Pseudo + @see */ @as("_hover") ~_hover: Pseudo.t=?, @as("_active") ~_active: Pseudo.t=?, @as("_focus") ~_focus: Pseudo.t=?, @@ -231,8 +203,7 @@ external make: ( @as("_placeholder") ~_placeholder: Pseudo.t=?, @as("_fullScreen") ~_fullScreen: Pseudo.t=?, @as("_selection") ~_selection: Pseudo.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -257,56 +228,41 @@ external make: ( ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, - /** - ReactEvent Clipboard - @see - **/ + /* ReactEvent Clipboard + @see */ ~onCopy: ReactEvent.Clipboard.t => unit=?, ~onCut: ReactEvent.Clipboard.t => unit=?, ~onPaste: ReactEvent.Clipboard.t => unit=?, - /** - ReactEvent Composition - @see - **/ + /* ReactEvent Composition + @see */ ~onCompositionEnd: ReactEvent.Composition.t => unit=?, ~onCompositionStart: ReactEvent.Composition.t => unit=?, ~onCompositionUpdate: ReactEvent.Composition.t => unit=?, - /** - ReactEvent Keyboard - @see - **/ + /* ReactEvent Keyboard + @see */ ~onKeyDown: ReactEvent.Keyboard.t => unit=?, ~onKeyPress: ReactEvent.Keyboard.t => unit=?, - ~onKeyUp: ReactEvent.Keyboard.t => unit=? /** - ReactEvent Focus - @see - **/, + ~onKeyUp: ReactEvent.Keyboard.t => unit=? /* ReactEvent Focus + @see */, ~onFocus: ReactEvent.Focus.t => unit=?, ~onBlur: ReactEvent.Focus.t => unit=?, - /** - ReactEvent Form - @see - **/ + /* ReactEvent Form + @see */ ~onChange: ReactEvent.Form.t => unit=?, ~onInput: ReactEvent.Form.t => unit=?, ~onInvalid: ReactEvent.Form.t => unit=?, ~onReset: ReactEvent.Form.t => unit=?, ~onSubmit: ReactEvent.Form.t => unit=?, - /** - ReactEvent Generic Events + /* ReactEvent Generic Events @see ISSUE: Not Implemented in @rescript/react for ReactEvent.Generic; ~onError: ReactEvent.Generic.t => unit=?, - ~onLoad: ReactEvent.Generic.t => unit=?, - **/ - /** - ReactEvent Mouse - @see - **/ + ~onLoad: ReactEvent.Generic.t => unit=?, */ + /* ReactEvent Mouse + @see */ ~onClick: ReactEvent.Mouse.t => unit=?, ~onContextMenu: ReactEvent.Mouse.t => unit=?, ~onDoubleClick: ReactEvent.Mouse.t => unit=?, @@ -325,10 +281,8 @@ external make: ( ~onMouseOut: ReactEvent.Mouse.t => unit=?, ~onMouseOver: ReactEvent.Mouse.t => unit=?, ~onMouseUp: ReactEvent.Mouse.t => unit=?, - /** - ReactEvent Pointer - @see - **/ + /* ReactEvent Pointer + @see */ ~onPointerDown: ReactEvent.Pointer.t => unit=?, ~onPointerMove: ReactEvent.Pointer.t => unit=?, ~onPointerUp: ReactEvent.Pointer.t => unit=?, @@ -339,33 +293,23 @@ external make: ( ~onPointerLeave: ReactEvent.Pointer.t => unit=?, ~onPointerOver: ReactEvent.Pointer.t => unit=?, ~onPointerOut: ReactEvent.Pointer.t => unit=?, - /** - ReactEvent Selection - @see - **/ + /* ReactEvent Selection + @see */ ~onSelect: ReactEvent.Selection.t => unit=?, - /** - ReactEvent Touch - @see - **/ + /* ReactEvent Touch + @see */ ~onTouchCancel: ReactEvent.Touch.t => unit=?, ~onTouchEnd: ReactEvent.Touch.t => unit=?, ~onTouchMove: ReactEvent.Touch.t => unit=?, ~onTouchStart: ReactEvent.Touch.t => unit=?, - /** - ReactEvent UI Events - @see - **/ + /* ReactEvent UI Events + @see */ ~onScroll: ReactEvent.UI.t => unit=?, - /** - ReactEvent Wheel - @see - **/ + /* ReactEvent Wheel + @see */ ~onWheel: ReactEvent.Wheel.t => unit=?, - /** - ReactEvent Media - @see - **/ + /* ReactEvent Media + @see */ ~onAbort: ReactEvent.Media.t => unit=?, ~onCanPlay: ReactEvent.Media.t => unit=?, ~onCanPlayThrough: ReactEvent.Media.t => unit=?, @@ -391,32 +335,24 @@ external make: ( ~onWaiting: ReactEvent.Media.t => unit=?, ~onLoad: ReactEvent.Synthetic.t => unit=?, ~onError: ReactEvent.Synthetic.t => unit=?, - /** - ReactEvent Other + /* ReactEvent Other @see - ~onToggle - **/ - /** - ReactEvent Animation - @see - **/ + ~onToggle */ + /* ReactEvent Animation + @see */ ~onAnimationStart: ReactEvent.Animation.t => unit=?, ~onAnimationEnd: ReactEvent.Animation.t => unit=?, ~onAnimationIteration: ReactEvent.Animation.t => unit=?, ) => React.element = "WrapItem" let makeProps = ( - /** - Component Props {WrapItem} - **/ + /* Component Props {WrapItem} */ ~align=?, ~direction=?, ~justify=?, ~shouldWrapChildren=?, ~spacing=?, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~m=?, ~margin=?, ~mt=?, @@ -449,22 +385,16 @@ let makeProps = ( ~paddingStart=?, ~px=?, ~py=?, - /** - Colors and BackgroundColor - **/ + /* Colors and BackgroundColor */ ~color=?, ~backgroundColor=?, ~bgColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, ~bgClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -474,9 +404,7 @@ let makeProps = ( ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~d=?, ~display=?, ~w=?, @@ -496,9 +424,7 @@ let makeProps = ( ~overflow=?, ~overflowX=?, ~overflowY=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -513,9 +439,7 @@ let makeProps = ( ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -528,9 +452,7 @@ let makeProps = ( ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~bg=?, ~background=?, ~bgImage=?, @@ -543,9 +465,7 @@ let makeProps = ( ~backgroundRepeat=?, ~bgAttachment=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -576,9 +496,7 @@ let makeProps = ( ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -594,9 +512,7 @@ let makeProps = ( ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~pos=?, ~position=?, ~zIndex=?, @@ -604,27 +520,19 @@ let makeProps = ( ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?, ~stroke=?, ) => makeProps( - /** - Component Props {WrapItem} - **/ + /* Component Props {WrapItem} */ ~shouldWrapChildren=?shouldWrapChildren->Bool.fromOption, ~spacing=?spacing->Margin.fromOption, - /** - Margin and Padding - **/ + /* Margin and Padding */ ~margin=?m->withShorthand(margin)->Margin.fromOption, ~marginTop=?mt->withShorthand(marginTop)->Margin.fromOption, ~marginRight=?mr->withShorthand(marginRight)->Margin.fromOption, @@ -643,20 +551,14 @@ let makeProps = ( ~paddingStart=?ps->withShorthand(paddingStart)->Padding.fromOption, ~px=?px->Padding.fromOption, ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, ~backgroundColor=?bgColor->withShorthand(backgroundColor)->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?bgClip->withShorthand(backgroundClip)->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -666,9 +568,7 @@ let makeProps = ( ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?d->withShorthand(display)->Display.fromOption, ~height=?h->withShorthand(height)->Height.fromOption, ~minHeight=?minH->withShorthand(minHeight)->Height.fromOption, @@ -681,9 +581,7 @@ let makeProps = ( ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?align->withShorthand(alignItems)->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -700,9 +598,7 @@ let makeProps = ( ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -715,9 +611,7 @@ let makeProps = ( ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?bg->withShorthand(background)->Background.fromOption, ~backgroundImage=?bgImage->withShorthand(backgroundImage)->BackgroundImage.fromOption, ~backgroundSize=?bgSize->withShorthand(backgroundSize)->BackgroundSize.fromOption, @@ -728,9 +622,7 @@ let makeProps = ( ~backgroundAttachment=?bgAttachment ->withShorthand(backgroundAttachment) ->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -761,9 +653,7 @@ let makeProps = ( ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -779,24 +669,18 @@ let makeProps = ( ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?pos->withShorthand(position)->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, ) diff --git a/src/Interfaces/Chakra__AtomicTypes.res b/src/Interfaces/Chakra__AtomicTypes.res index c15f2cb..f0148b3 100644 --- a/src/Interfaces/Chakra__AtomicTypes.res +++ b/src/Interfaces/Chakra__AtomicTypes.res @@ -1,7 +1,5 @@ -/** - Acknowledment to @see - THIS IS FILE IS COPIED @see FROM - **/ +/* Acknowledment to @see + THIS IS FILE IS COPIED @see FROM */ let join = (strings, separator) => { let rec run = (strings, acc) => switch strings { @@ -1816,7 +1814,7 @@ module Content = { | #noOpenQuote => "no-open-quote" | #noCloseQuote => "no-close-quote" | #attr(name) => "attr(" ++ (name ++ ")") - | #text(string) => j`"$string"` + | #text(s) => `"${s}"` } } @@ -2501,7 +2499,7 @@ module Borders = { let style = style->BorderStyle.toString let color = color->Colors.toString - j`$px $style $color` + `${px} ${style} ${color}` } } } @@ -2644,7 +2642,7 @@ module GridColumn = { | #slash(a, b) => { let a = a->toString let b = b->toString - j`$a / $b` + `${a} ${b}` } } } @@ -2666,7 +2664,7 @@ module GridRow = { | #slash(a, b) => { let a = a->toString let b = b->toString - j`$a / $b` + `${a} ${b}` } } } @@ -2691,7 +2689,7 @@ module TrackLength = { | #minmax(min, max) => { let min = min->Minmax.toString let max = max->Minmax.toString - j`minmax($min,$max)` + `minmax(${min}, ${max})` } } } @@ -2707,7 +2705,7 @@ module GridLength = { | #repeat(r, t) => { let r = r->RepeatValue.toString let t = t->Dimension.toString - j`repeat($r, $t)` + `repeat(${r}, ${t})` } } } @@ -2725,7 +2723,7 @@ module Gradients = { ->Js.Array2.map(((l, c)) => { let l = l->Length.toString let c = c->Colors.toString - j`$c $l` + `${c} ${l}` }) ->Js.Array2.joinWith(", ") diff --git a/src/Interfaces/Chakra__MakeProps.res b/src/Interfaces/Chakra__MakeProps.res index 9c72c05..1f06974 100644 --- a/src/Interfaces/Chakra__MakeProps.res +++ b/src/Interfaces/Chakra__MakeProps.res @@ -499,7 +499,7 @@ module GridArea = { let grid1 = grid1->GridArea.toString let grid2 = grid2->GridArea.toString - let grid = j`$grid1 / $grid2` + let grid = `${grid1} / ${grid2}` grid->Identity.fromString } | #gridArea3(grid1, grid2, grid3) => { @@ -507,7 +507,7 @@ module GridArea = { let grid2 = grid2->GridArea.toString let grid3 = grid3->GridArea.toString - let grid = j`$grid1 / $grid2 / $grid3` + let grid = `${grid1} / ${grid2} / ${grid3}` grid->Identity.fromString } | #gridArea4(grid1, grid2, grid3, grid4) => { @@ -516,7 +516,7 @@ module GridArea = { let grid3 = grid3->GridArea.toString let grid4 = grid4->GridArea.toString - let grid = j`$grid1 / $grid2 / $grid3 / $grid4` + let grid = `${grid1} / ${grid2} / ${grid3} / ${grid4}` grid->Identity.fromString } | #array(arr) => arr->arrayMap(identity)->Identity.fromArray @@ -724,7 +724,7 @@ module BackgroundSize = { | #size(x, y) => { let x = x->Length.toString let y = y->Length.toString - let size = j`$x $y` + let size = `${x} ${y}` size->Identity.fromString } | #auto => "auto"->Identity.fromString @@ -751,7 +751,7 @@ module BackgroundPosition = { | #...Length.t as l => Length.toString(l) } - let b = j`$h $v` + let b = `${h} ${v}` b->Identity.fromString } | #...Length.t as l => l->Length.toString->Identity.fromString @@ -771,7 +771,7 @@ module BackgroundRepeat = { | #hv(#...BackgroundRepeat.horizontal as h, #...BackgroundRepeat.vertical as v) => { let h = h->BackgroundRepeat.toString let v = v->BackgroundRepeat.toString - let b = j`$h $v` + let b = `${h} ${v}` b->Identity.fromString } | #...Var.t as va => va->Var.toString->Identity.fromString @@ -849,17 +849,17 @@ module Shadow = { let c = c->Colors.toString switch (blur, spread, inset) { - | (_, _, Some(_inset)) => j`inset $x $y $c` + | (_, _, Some(_inset)) => `inset ${x} ${y} ${c}` | (Some(radius), None, _) => { let radius = radius->Length.toString - j`$x $y $radius $c` + `${x} ${y} ${radius} ${c}` } | (Some(radius), Some(spread), _) => { let radius = radius->Length.toString let spread = spread->Length.toString - j`$x $y $radius $spread $c` + `${x} ${y} ${radius} ${spread} ${c}` } - | _ => j`$x, $y, $c` + | _ => `${x}, ${y}, ${c}` } } let rec identity = x => @@ -902,7 +902,7 @@ module AspectRatio = { | #ratio(a, b) => { let a = a->Js.Float.toString let b = b->Js.Float.toString - j`$a $b`->Identity.fromString + `${a} ${b}`->Identity.fromString } | #array(arr) => arr->arrayMap(identity)->Identity.fromArray } @@ -1054,10 +1054,8 @@ module Pseudo = { type t @obj external pseudo: ( - /** - Margin and Padding - @see - **/ + /* Margin and Padding + @see */ ~margin: Identity.t=?, ~marginTop: Identity.t=?, ~marginRight: Identity.t=?, @@ -1076,24 +1074,18 @@ module Pseudo = { ~paddingStart: Identity.t=?, // ? ~px: Identity.t=?, // ? ~py: Identity.t=?, - /** - Colors and BackgroundColor - @see - **/ + /* Colors and BackgroundColor + @see */ // ? ~colorScheme: Identity.t=?, ~color: Identity.t=?, ~backgroundColor: Identity.t=?, ~opacity: Identity.t=?, - /** - Gradient - @see - **/ + /* Gradient + @see */ ~bgGradient: Identity.t=?, ~backgroundClip: Identity.t=?, - /** - Typography - @see - **/ + /* Typography + @see */ ~fontFamily: Identity.t=?, ~fontSize: Identity.t=?, ~fontWeight: Identity.t=?, @@ -1103,10 +1095,8 @@ module Pseudo = { ~fontStyle: Identity.t=?, ~textTransform: Identity.t=?, ~textDecoration: Identity.t=?, - /** - Layout Width and Height - @see - **/ + /* Layout Width and Height + @see */ ~width: Identity.t=?, ~maxWidth: Identity.t=?, ~minWidth: Identity.t=?, @@ -1119,10 +1109,8 @@ module Pseudo = { ~overflow: Identity.t=?, ~overflowY: Identity.t=?, ~overflowX: Identity.t=?, - /** - Flexbox - @see - **/ + /* Flexbox + @see */ ~alignItems: Identity.t=?, ~alignContent: Identity.t=?, ~justifyItems: Identity.t=?, @@ -1136,10 +1124,8 @@ module Pseudo = { ~justifySelf: Identity.t=?, ~alignSelf: Identity.t=?, ~order: Identity.t=?, - /** - Grid - @see - **/ + /* Grid + @see */ ~gridGap: Identity.t=?, ~gridRowGap: Identity.t=?, ~gridColumnGap: Identity.t=?, @@ -1152,20 +1138,16 @@ module Pseudo = { ~gridTemplateRows: Identity.t=?, ~gridTemplateColumns: Identity.t=?, ~gridTemplateAreas: Identity.t=?, - /** - Background - @see - **/ + /* Background + @see */ ~background: Identity.t=?, ~backgroundImage: Identity.t=?, ~backgroundSize: Identity.t=?, ~backgroundPosition: Identity.t=?, ~backgroundRepeat: Identity.t=?, ~backgroundAttachment: Identity.t=?, - /** - Borders - @see - **/ + /* Borders + @see */ ~border: Identity.t=?, ~borderWidth: Identity.t=?, ~borderStyle: Identity.t=?, @@ -1196,10 +1178,8 @@ module Pseudo = { ~borderStartColor: Identity.t=?, ~borderX: Identity.t=?, ~borderY: Identity.t=?, - /** - Border Radius - @see - **/ + /* Border Radius + @see */ ~borderRadius: Identity.t=?, ~borderTopLeftRadius: Identity.t=?, ~borderTopStartRadius: Identity.t=?, @@ -1215,24 +1195,19 @@ module Pseudo = { ~borderBottomRadius: Identity.t=?, ~borderLeftRadius: Identity.t=?, ~borderStartRadius: Identity.t=?, - /** - Position - @see - **/ + /* Position + @see */ ~position: Identity.t=?, ~zIndex: Identity.t=?, ~top: Identity.t=?, ~right: Identity.t=?, ~bottom: Identity.t=?, ~left: Identity.t=?, - /** - Shadow - @see - **/ + /* Shadow + @see */ ~textShadow: Identity.t=?, ~boxShadow: Identity.t=?, - /** - TODO + /* TODO Other Props partial implemented @see @@ -1257,17 +1232,14 @@ module Pseudo = { ~float_=?, ~fill=?, ~stroke=?, - ~outline=?, - **/ + ~outline=?, */ ~fill: Identity.t=?, ~stroke: Identity.t=?, unit, ) => t = "" let make = ( - /** - Margin and Padding - **/ + /* Margin and Padding */ ~margin=?, ~marginTop=?, ~marginRight=?, @@ -1284,21 +1256,15 @@ module Pseudo = { ~paddingStart=?, // ? ~px=?px->Padding.fromOption, // ? ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?, // ? ~colorScheme=?colorScheme->ColorScheme.fromOption, ~backgroundColor=?, ~opacity=?, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?, ~backgroundClip=?, - /** - Typography - **/ + /* Typography */ ~fontFamily=?, ~fontSize=?, ~fontWeight=?, @@ -1308,9 +1274,7 @@ module Pseudo = { ~fontStyle=?, ~textTransform=?, ~textDecoration=?, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?, ~height=?, ~minHeight=?, @@ -1323,9 +1287,7 @@ module Pseudo = { ~overflow=?, ~overflowY=?, ~overflowX=?, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?, ~alignContent=?, ~justifyItems=?, @@ -1339,9 +1301,7 @@ module Pseudo = { ~justifySelf=?, ~alignSelf=?, ~order=?, - /** - Grid - **/ + /* Grid */ ~gridGap=?, ~gridRowGap=?, ~gridColumnGap=?, @@ -1354,18 +1314,14 @@ module Pseudo = { ~gridTemplateRows=?, ~gridTemplateColumns=?, ~gridTemplateAreas=?, - /** - Background - **/ + /* Background */ ~background=?, ~backgroundImage=?, ~backgroundSize=?, ~backgroundPosition=?, ~backgroundRepeat=?, ~backgroundAttachment=?, - /** - Borders - **/ + /* Borders */ ~border=?, ~borderWidth=?, ~borderStyle=?, @@ -1396,9 +1352,7 @@ module Pseudo = { ~borderStartColor=?, ~borderX=?, ~borderY=?, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?, ~borderTopLeftRadius=?, ~borderTopStartRadius=?, @@ -1414,32 +1368,24 @@ module Pseudo = { ~borderBottomRadius=?, ~borderLeftRadius=?, ~borderStartRadius=?, - /** - Position - **/ + /* Position */ ~position=?, ~zIndex=?, ~top=?, ~right=?, ~bottom=?, ~left=?, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?, ~boxShadow=?, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?, ~stroke=?, (), ) => pseudo( - /** - Margin and Padding - **/ + /* Margin and Padding */ ~margin=?margin->Margin.fromOption, ~marginTop=?marginTop->Margin.fromOption, ~marginRight=?marginRight->Margin.fromOption, @@ -1458,21 +1404,15 @@ module Pseudo = { ~paddingStart=?paddingStart->Padding.fromOption, // ? ~px=?px->Padding.fromOption, // ? ~py=?py->Padding.fromOption, - /** - Colors and Background Color - **/ + /* Colors and Background Color */ ~color=?color->Color.fromOption, // ? ~colorScheme=?colorScheme->ColorScheme.fromOption, ~backgroundColor=?backgroundColor->BackgroundColor.fromOption, ~opacity=?opacity->Opacity.fromOption, - /** - Gradient - **/ + /* Gradient */ ~bgGradient=?bgGradient->Gradient.fromOption, ~backgroundClip=?backgroundClip->BackgroundClip.fromOption, - /** - Typography - **/ + /* Typography */ ~fontFamily=?fontFamily->FontFamily.fromOption, ~fontSize=?fontSize->FontSize.fromOption, ~fontWeight=?fontWeight->FontWeight.fromOption, @@ -1482,9 +1422,7 @@ module Pseudo = { ~fontStyle=?fontStyle->FontStyle.fromOption, ~textTransform=?textTransform->TextTransform.fromOption, ~textDecoration=?textDecoration->TextDecoration.fromOption, - /** - Layout Width and Height - **/ + /* Layout Width and Height */ ~display=?display->Display.fromOption, ~height=?height->Height.fromOption, ~minHeight=?minHeight->Height.fromOption, @@ -1497,9 +1435,7 @@ module Pseudo = { ~overflow=?overflow->Overflow.fromOption, ~overflowY=?overflowY->Overflow.fromOption, ~overflowX=?overflowX->Overflow.fromOption, - /** - Flexbox - **/ + /* Flexbox */ ~alignItems=?alignItems->AlignItems.fromOption, ~alignContent=?alignContent->AlignContent.fromOption, ~justifyItems=?justifyItems->JustifyItems.fromOption, @@ -1513,9 +1449,7 @@ module Pseudo = { ~justifySelf=?justifySelf->JustifySelf.fromOption, ~alignSelf=?alignSelf->AlignSelf.fromOption, ~order=?order->Order.fromOption, - /** - Grid - **/ + /* Grid */ ~gridGap=?gridGap->GridGap.fromOption, ~gridRowGap=?gridRowGap->GridRowGap.fromOption, ~gridColumnGap=?gridColumnGap->GridColumnGap.fromOption, @@ -1528,18 +1462,14 @@ module Pseudo = { ~gridTemplateRows=?gridTemplateRows->GridTemplateRows.fromOption, ~gridTemplateColumns=?gridTemplateColumns->GridTemplateColumns.fromOption, ~gridTemplateAreas=?gridTemplateAreas->GridTemplateAreas.fromOption, - /** - Background - **/ + /* Background */ ~background=?background->Background.fromOption, ~backgroundImage=?backgroundImage->BackgroundImage.fromOption, ~backgroundSize=?backgroundSize->BackgroundSize.fromOption, ~backgroundPosition=?backgroundPosition->BackgroundPosition.fromOption, ~backgroundRepeat=?backgroundRepeat->BackgroundRepeat.fromOption, ~backgroundAttachment=?backgroundAttachment->BackgroundAttachment.fromOption, - /** - Borders - **/ + /* Borders */ ~border=?border->Border.fromOption, ~borderWidth=?borderWidth->BorderWidth.fromOption, ~borderStyle=?borderStyle->BorderStyle.fromOption, @@ -1570,9 +1500,7 @@ module Pseudo = { ~borderStartColor=?borderStartColor->BorderColor.fromOption, ~borderX=?borderX->Border.fromOption, ~borderY=?borderY->Border.fromOption, - /** - Border Radius - **/ + /* Border Radius */ ~borderRadius=?borderRadius->BorderRadius.fromOption, ~borderTopLeftRadius=?borderTopLeftRadius->BorderRadius.fromOption, ~borderTopStartRadius=?borderTopStartRadius->BorderRadius.fromOption, @@ -1588,24 +1516,18 @@ module Pseudo = { ~borderBottomRadius=?borderBottomRadius->BorderRadius.fromOption, ~borderLeftRadius=?borderLeftRadius->BorderRadius.fromOption, ~borderStartRadius=?borderStartRadius->BorderRadius.fromOption, - /** - Position - **/ + /* Position */ ~position=?position->Position.fromOption, ~zIndex=?zIndex->ZIndex.fromOption, ~top=?top->Top.fromOption, ~right=?right->Right.fromOption, ~bottom=?bottom->Bottom.fromOption, ~left=?left->Left.fromOption, - /** - Shadow - **/ + /* Shadow */ ~textShadow=?textShadow->TextShadow.fromOption, ~boxShadow=?boxShadow->BoxShadow.fromOption, - /** - TODO - Other Props - **/ + /* TODO + Other Props */ ~fill=?fill->Color.fromOption, ~stroke=?stroke->Color.fromOption, (), diff --git a/vitest.config.ts b/vitest.config.ts new file mode 100644 index 0000000..4f89a6b --- /dev/null +++ b/vitest.config.ts @@ -0,0 +1,12 @@ +import { defaultExclude, defineConfig } from 'vitest/config' + +import { readFileSync } from 'fs' + +const gitignore = readFileSync('.gitignore', 'utf8').split('\n').filter(s => s.length > 0 && !s.startsWith('#')) + +export default defineConfig({ + test: { + include: ['./__tests__/*.js'], + exclude: defaultExclude.concat(gitignore), + }, +}); diff --git a/yarn.lock b/yarn.lock index 31399b3..2a7e6a4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5,105 +5,22 @@ __metadata: version: 4 cacheKey: 7 -"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/code-frame@npm:7.14.5" - dependencies: - "@babel/highlight": ^7.14.5 - checksum: 48c584cad9aa05ff16fa965b4572deae0343d51abe658a2fb72640e924c229d47f71f880a474cc1e14e613f88a4bfd576609b1e0d8073bbc4e50e60f7e678626 - languageName: node - linkType: hard - -"@babel/compat-data@npm:^7.14.5": - version: 7.14.7 - resolution: "@babel/compat-data@npm:7.14.7" - checksum: f50909f7565cac9a7f1dd31b9817b7a90070c7eac1207b1272f6e8d862e69589f08861d2a5d8b70e6eba2e8afcea02210be4176e259d9d11bf6cda3a5563eee3 - languageName: node - linkType: hard - -"@babel/core@npm:7.14.6, @babel/core@npm:^7.1.0, @babel/core@npm:^7.7.5": - version: 7.14.6 - resolution: "@babel/core@npm:7.14.6" - dependencies: - "@babel/code-frame": ^7.14.5 - "@babel/generator": ^7.14.5 - "@babel/helper-compilation-targets": ^7.14.5 - "@babel/helper-module-transforms": ^7.14.5 - "@babel/helpers": ^7.14.6 - "@babel/parser": ^7.14.6 - "@babel/template": ^7.14.5 - "@babel/traverse": ^7.14.5 - "@babel/types": ^7.14.5 - convert-source-map: ^1.7.0 - debug: ^4.1.0 - gensync: ^1.0.0-beta.2 - json5: ^2.1.2 - semver: ^6.3.0 - source-map: ^0.5.0 - checksum: 239c4892d54f1d6e3a9a3972a7579138da6ff5308b9c08e4c80c9cd09282b6a921f58338851675fdb80b1cf9dd14f4176674917b97aa430bf1d50c0052bbb13a - languageName: node - linkType: hard - -"@babel/generator@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/generator@npm:7.14.5" - dependencies: - "@babel/types": ^7.14.5 - jsesc: ^2.5.1 - source-map: ^0.5.0 - checksum: 3ba48b75f7680d17b4c3657063339252cf63ea0038b05e24d1611dff2c8f136fc8ca5cb1c293fbc1abc79b153e264bc23a01dc5f440030282e4da0631f12e0b7 - languageName: node - linkType: hard - -"@babel/helper-compilation-targets@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/helper-compilation-targets@npm:7.14.5" - dependencies: - "@babel/compat-data": ^7.14.5 - "@babel/helper-validator-option": ^7.14.5 - browserslist: ^4.16.6 - semver: ^6.3.0 - peerDependencies: - "@babel/core": ^7.0.0 - checksum: db7d58fc7309fcd925ee3cbf724fd796fc5779545de4da97badc772c7f05f087155538fb8ed503cf2e8075fb939c79a6e806fb5b7901c20dbe09c1d194a12ed2 - languageName: node - linkType: hard - -"@babel/helper-function-name@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/helper-function-name@npm:7.14.5" - dependencies: - "@babel/helper-get-function-arity": ^7.14.5 - "@babel/template": ^7.14.5 - "@babel/types": ^7.14.5 - checksum: bf2172f932ce3bd8fdaa6df5464a581eee47484952c69115361439727e87d3289925a292655957b39446b6052119896da358022337985eed795444c550f7e4f3 - languageName: node - linkType: hard - -"@babel/helper-get-function-arity@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/helper-get-function-arity@npm:7.14.5" +"@ampproject/remapping@npm:^2.3.0": + version: 2.3.0 + resolution: "@ampproject/remapping@npm:2.3.0" dependencies: - "@babel/types": ^7.14.5 - checksum: 1bd0ae6c25af61a7795032452500362bb3f63042aadb1076184ebccc0afcb38e0565da3f02534f806ea0acb915efd75bc1de8530417f7be10f74c4a3efbacb3a + "@jridgewell/gen-mapping": ^0.3.5 + "@jridgewell/trace-mapping": ^0.3.24 + checksum: 55187d9b3dd811c71ae0300256db03f77750ab7c1893fa7da59c1439da29c5ba38e44e8f3266e06625cf7a1f477e87ed1440f3f4e8bbcd681220004725a206fb languageName: node linkType: hard -"@babel/helper-hoist-variables@npm:^7.14.5": +"@babel/code-frame@npm:^7.0.0": version: 7.14.5 - resolution: "@babel/helper-hoist-variables@npm:7.14.5" - dependencies: - "@babel/types": ^7.14.5 - checksum: c2fdc5a2391f13fac73089c563f2a3fcfbec460bd866d6ceb4f97e7138b38a5e16703e6ced3ff1a0e6058aece138e19c30fe11e9e2a65d564d73a6c4a34313e2 - languageName: node - linkType: hard - -"@babel/helper-member-expression-to-functions@npm:^7.14.5": - version: 7.14.7 - resolution: "@babel/helper-member-expression-to-functions@npm:7.14.7" + resolution: "@babel/code-frame@npm:7.14.5" dependencies: - "@babel/types": ^7.14.5 - checksum: 8a45a0f6b2e945eab5072e3401f54b0e9366c22e41b91dfa6b1cb232368d99c31c99f59fd50aff28ba989008ab47e3bfa9921dc17ea32e9fea78817a10b22fb9 + "@babel/highlight": ^7.14.5 + checksum: 48c584cad9aa05ff16fa965b4572deae0343d51abe658a2fb72640e924c229d47f71f880a474cc1e14e613f88a4bfd576609b1e0d8073bbc4e50e60f7e678626 languageName: node linkType: hard @@ -116,74 +33,17 @@ __metadata: languageName: node linkType: hard -"@babel/helper-module-imports@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/helper-module-imports@npm:7.14.5" - dependencies: - "@babel/types": ^7.14.5 - checksum: 483919bf31611dc5905acb6a01b888fad1264ddcecaae706c0dde46ff81fa708d98c4a093ab0d4ad71791eb0a30b6dafbfa5364003e71486d6b3c5c718eccf7d - languageName: node - linkType: hard - -"@babel/helper-module-transforms@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/helper-module-transforms@npm:7.14.5" - dependencies: - "@babel/helper-module-imports": ^7.14.5 - "@babel/helper-replace-supers": ^7.14.5 - "@babel/helper-simple-access": ^7.14.5 - "@babel/helper-split-export-declaration": ^7.14.5 - "@babel/helper-validator-identifier": ^7.14.5 - "@babel/template": ^7.14.5 - "@babel/traverse": ^7.14.5 - "@babel/types": ^7.14.5 - checksum: b6f47b812d264ea204802d98d6b5a8e47b8fad5a4406a349e7a913b7b881d9be509f95f405a06d5416e95d07539386fa5c50f46eb07e033f0fb9a35f06632bf5 - languageName: node - linkType: hard - -"@babel/helper-optimise-call-expression@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/helper-optimise-call-expression@npm:7.14.5" - dependencies: - "@babel/types": ^7.14.5 - checksum: 68845ee7fb88cf7bfbea9635d3fddcc953818b86732985f3fb228f77012652b36f4e41f00d8e7b5e3be2b2d41b6b9f189a36fd49874e58a29dd2e3b1dc753f5c - languageName: node - linkType: hard - -"@babel/helper-plugin-utils@npm:^7.0.0, @babel/helper-plugin-utils@npm:^7.10.4, @babel/helper-plugin-utils@npm:^7.12.13, @babel/helper-plugin-utils@npm:^7.14.5, @babel/helper-plugin-utils@npm:^7.8.0": +"@babel/helper-plugin-utils@npm:^7.14.5": version: 7.14.5 resolution: "@babel/helper-plugin-utils@npm:7.14.5" checksum: 76404ef3aadc25879f7b4c5945bafcca935d4af0cf451a95ff9f131f29ac3dc589e2ed19904ce746c7cf6c2a8a7ea33fa4eaf881b9b272d31f2be91984f505d6 languageName: node linkType: hard -"@babel/helper-replace-supers@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/helper-replace-supers@npm:7.14.5" - dependencies: - "@babel/helper-member-expression-to-functions": ^7.14.5 - "@babel/helper-optimise-call-expression": ^7.14.5 - "@babel/traverse": ^7.14.5 - "@babel/types": ^7.14.5 - checksum: 368aba02e75a3bdae7e79d424c7ec98c72a3d8ced95920899e9efc39d274a414c7ab0ac9ed49c9af21e6430a5c5063e382de93d2dd83ff27c8f469a011a658a0 - languageName: node - linkType: hard - -"@babel/helper-simple-access@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/helper-simple-access@npm:7.14.5" - dependencies: - "@babel/types": ^7.14.5 - checksum: dd6de62de59ab05121aa1198d01080415584ac4a4d4f5d4e53fd22a1c8d5359d19667cd61663937dffa9ab7761aecbe66eee9e1d266def6a59b4ede2dc15ea57 - languageName: node - linkType: hard - -"@babel/helper-split-export-declaration@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/helper-split-export-declaration@npm:7.14.5" - dependencies: - "@babel/types": ^7.14.5 - checksum: 80965627683125d6e4d3ead34f685219933203d7852f2f8af87883702367da5b43bde05b772040434841d7259a4e7045b3ab0ff1768a37c90b6563928191a562 +"@babel/helper-string-parser@npm:^7.24.8": + version: 7.24.8 + resolution: "@babel/helper-string-parser@npm:7.24.8" + checksum: 296eba6700f0249601a4dc9b8db8bde3c308494ee8593ec17da59db02220e371579b5b6c331df858cf0d6d1ac146b0220045fae6edffac6246b19dddf4aac341 languageName: node linkType: hard @@ -201,21 +61,10 @@ __metadata: languageName: node linkType: hard -"@babel/helper-validator-option@npm:^7.14.5": - version: 7.14.5 - resolution: "@babel/helper-validator-option@npm:7.14.5" - checksum: aded46b377d25f5966aab30506cdb95908bae18ea5d062e86c646e9afcef911327da80e637e06c3542ea2ba01cab903d18e91fc8a12fbf7b15e0b3e8ee0b9d3b - languageName: node - linkType: hard - -"@babel/helpers@npm:^7.14.6": - version: 7.14.6 - resolution: "@babel/helpers@npm:7.14.6" - dependencies: - "@babel/template": ^7.14.5 - "@babel/traverse": ^7.14.5 - "@babel/types": ^7.14.5 - checksum: c5c3bd0f9618cdb8895d89171fe0b89c0b119bf8c9f96aff869d95b9208628172a882a132f8f76a218e0e68d8c3316f65b60af9b3a3a778d9b9adce004ca52c7 +"@babel/helper-validator-identifier@npm:^7.24.7": + version: 7.24.7 + resolution: "@babel/helper-validator-identifier@npm:7.24.7" + checksum: 312adb9ddec68062b455fdacc6804c26cb2095bcd8263067615436b8fe66d472efb14ef64da14f93aecd2bb640e6229c2cd781dcccd5db0920023f441a15c13b languageName: node linkType: hard @@ -230,67 +79,14 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.14.5, @babel/parser@npm:^7.14.6, @babel/parser@npm:^7.14.7": - version: 7.14.7 - resolution: "@babel/parser@npm:7.14.7" +"@babel/parser@npm:^7.24.4": + version: 7.25.3 + resolution: "@babel/parser@npm:7.25.3" + dependencies: + "@babel/types": ^7.25.2 bin: parser: ./bin/babel-parser.js - checksum: 8c7c7fd9735d9de2a0531fe54338d76972aeb9a414902f5edfc317c421a2da6a8772d04dce5444c89065ae2719c48433153f9cbaa14754b1bf8d6154915095ff - languageName: node - linkType: hard - -"@babel/plugin-syntax-async-generators@npm:^7.8.4": - version: 7.8.4 - resolution: "@babel/plugin-syntax-async-generators@npm:7.8.4" - dependencies: - "@babel/helper-plugin-utils": ^7.8.0 - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 39685944ffe342981afb1fe3af824305e94ee249b1841c78c1112f93d256d3d405902ac146ab3bad8c243710f081621f9fbf53c62474800d398293c99521c8ef - languageName: node - linkType: hard - -"@babel/plugin-syntax-bigint@npm:^7.8.3": - version: 7.8.3 - resolution: "@babel/plugin-syntax-bigint@npm:7.8.3" - dependencies: - "@babel/helper-plugin-utils": ^7.8.0 - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 8c9b610377af48e1d8ec0d5ad5eec5e462fbc775b20f367e0ebc2656b98b4cc73a952e8b5ab8641e6de0d04923f3843dd73ce00a71ef5cac9940822ff776c8ec - languageName: node - linkType: hard - -"@babel/plugin-syntax-class-properties@npm:^7.8.3": - version: 7.12.13 - resolution: "@babel/plugin-syntax-class-properties@npm:7.12.13" - dependencies: - "@babel/helper-plugin-utils": ^7.12.13 - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 3023dec8acd42e0b691d9cdf21bc6931fe3e3d53c2231bdfe3eca3afeab168723f7315991550a163748bc49dbcd3c95632b77ec56f5e1d89bc5029cfeb7f0f7b - languageName: node - linkType: hard - -"@babel/plugin-syntax-import-meta@npm:^7.8.3": - version: 7.10.4 - resolution: "@babel/plugin-syntax-import-meta@npm:7.10.4" - dependencies: - "@babel/helper-plugin-utils": ^7.10.4 - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 685ee8f0b5b675952e02e1cabcde4d92638918a66ed515b2663e2e0b2246210a0768325423d5642f8687653a449357826675ccfcb712676be260a0ae13313828 - languageName: node - linkType: hard - -"@babel/plugin-syntax-json-strings@npm:^7.8.3": - version: 7.8.3 - resolution: "@babel/plugin-syntax-json-strings@npm:7.8.3" - dependencies: - "@babel/helper-plugin-utils": ^7.8.0 - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 1a7dabf0a4b264cb235966c4256aad131567eba20e41de731fa9127d371454a2f702e27fd7bedac65efb0df847e5cece7bcb5507a931604d1c2ecb7390adaa1f + checksum: 06039f32443e5d5ec3f0149c9d257ac2a6caf1d2a832ec1dd8a88cc56594bdb145288566122685d4c2f99590a7c46e4225d148af1352aecd48dd97e3396b62c3 languageName: node linkType: hard @@ -305,83 +101,6 @@ __metadata: languageName: node linkType: hard -"@babel/plugin-syntax-logical-assignment-operators@npm:^7.8.3": - version: 7.10.4 - resolution: "@babel/plugin-syntax-logical-assignment-operators@npm:7.10.4" - dependencies: - "@babel/helper-plugin-utils": ^7.10.4 - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 5b82f717707d278e58d12649932bf3327923361f051cd4517a5b63d7ebfe39cb6cdfb37aa199b5a441db305301a3c8de01c946d25d1f4c4ecb94322a23ac9e73 - languageName: node - linkType: hard - -"@babel/plugin-syntax-nullish-coalescing-operator@npm:^7.8.3": - version: 7.8.3 - resolution: "@babel/plugin-syntax-nullish-coalescing-operator@npm:7.8.3" - dependencies: - "@babel/helper-plugin-utils": ^7.8.0 - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 4ba03753759a2d9783b792c060147a20f474f76c42edf77cbf89c6669f9f22ffb3cbba4facdd8ce651129db6089a81feca1f7e42da75244eabedecba37bd20be - languageName: node - linkType: hard - -"@babel/plugin-syntax-numeric-separator@npm:^7.8.3": - version: 7.10.4 - resolution: "@babel/plugin-syntax-numeric-separator@npm:7.10.4" - dependencies: - "@babel/helper-plugin-utils": ^7.10.4 - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 47ae8782939ccc41f94b1d46b8b7a63363b003b8b7544bddae8dd454a8d51b38bbd4f9c26e91ecfb5fc16dc5f2228700e3030def63c5d07046073ec8fabc4665 - languageName: node - linkType: hard - -"@babel/plugin-syntax-object-rest-spread@npm:^7.8.3": - version: 7.8.3 - resolution: "@babel/plugin-syntax-object-rest-spread@npm:7.8.3" - dependencies: - "@babel/helper-plugin-utils": ^7.8.0 - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: db5dfb39faceddba8b80c586e331e17c3a1f79941f80eaa070b91fb920582bffe8bba46f6bebbdaf7c1f9b0bbe2a68493c28e1c9fb0ced864da739c0cd52ce43 - languageName: node - linkType: hard - -"@babel/plugin-syntax-optional-catch-binding@npm:^7.8.3": - version: 7.8.3 - resolution: "@babel/plugin-syntax-optional-catch-binding@npm:7.8.3" - dependencies: - "@babel/helper-plugin-utils": ^7.8.0 - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: f03d07526674ecdb3388e1d648ec250250968e13c037a7110e37d3eab0b82b07d6605332772afdf19f1831dfd3bdbbf0288a7d9097097d30b9548388ea693a07 - languageName: node - linkType: hard - -"@babel/plugin-syntax-optional-chaining@npm:^7.8.3": - version: 7.8.3 - resolution: "@babel/plugin-syntax-optional-chaining@npm:7.8.3" - dependencies: - "@babel/helper-plugin-utils": ^7.8.0 - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 2a50685d023bc609b01a3fd7ed3af03bc36c575da8d02199ed51cb24e8e068f26a128a20486cd502abe9e1d4c02e0264b8a58f1a5143e1291ca3508a948ada97 - languageName: node - linkType: hard - -"@babel/plugin-syntax-top-level-await@npm:^7.8.3": - version: 7.14.5 - resolution: "@babel/plugin-syntax-top-level-await@npm:7.14.5" - dependencies: - "@babel/helper-plugin-utils": ^7.14.5 - peerDependencies: - "@babel/core": ^7.0.0-0 - checksum: 642baff7c2150f146aa2ae94f8fa93f8aa81f5d82731241c60054037938cbde8031898194a216ec567af9b35bc4f394be3cd87d76aea39c8e32d68927ea67601 - languageName: node - linkType: hard - "@babel/runtime@npm:^7.0.0, @babel/runtime@npm:^7.12.13, @babel/runtime@npm:^7.13.10, @babel/runtime@npm:^7.7.2": version: 7.15.4 resolution: "@babel/runtime@npm:7.15.4" @@ -391,44 +110,6 @@ __metadata: languageName: node linkType: hard -"@babel/template@npm:^7.14.5, @babel/template@npm:^7.3.3": - version: 7.14.5 - resolution: "@babel/template@npm:7.14.5" - dependencies: - "@babel/code-frame": ^7.14.5 - "@babel/parser": ^7.14.5 - "@babel/types": ^7.14.5 - checksum: 71619e2e3d6d518bf6c40ebd610379b050a6e8e9a2ec0cda8b5c28aea5105f69006758b575dae63a21a6d4f64f854e92c0cb6cf8841d59f5585596165df78060 - languageName: node - linkType: hard - -"@babel/traverse@npm:^7.1.0, @babel/traverse@npm:^7.14.5": - version: 7.14.7 - resolution: "@babel/traverse@npm:7.14.7" - dependencies: - "@babel/code-frame": ^7.14.5 - "@babel/generator": ^7.14.5 - "@babel/helper-function-name": ^7.14.5 - "@babel/helper-hoist-variables": ^7.14.5 - "@babel/helper-split-export-declaration": ^7.14.5 - "@babel/parser": ^7.14.7 - "@babel/types": ^7.14.5 - debug: ^4.1.0 - globals: ^11.1.0 - checksum: 1fb5578211486c45171b645d1802f60067dcf8a59edaecc0cb7bf09b72767e4225d2c6f0891ffa03c23e90a56bf2c2cc4d5d6adb14145b31ee86acecaca5f7e0 - languageName: node - linkType: hard - -"@babel/types@npm:^7.0.0, @babel/types@npm:^7.14.5, @babel/types@npm:^7.3.0, @babel/types@npm:^7.3.3, @babel/types@npm:^7.8.3": - version: 7.14.5 - resolution: "@babel/types@npm:7.14.5" - dependencies: - "@babel/helper-validator-identifier": ^7.14.5 - to-fast-properties: ^2.0.0 - checksum: 45575b46df5ec0e63454b794a60f362596c6f16beda7df3693b134db5be15eb43f7b98ca7b2a5a9628171db5192eed5b8965e43c0a6f5383bca4ddefd0ea8d30 - languageName: node - linkType: hard - "@babel/types@npm:^7.15.4": version: 7.15.6 resolution: "@babel/types@npm:7.15.6" @@ -439,6 +120,17 @@ __metadata: languageName: node linkType: hard +"@babel/types@npm:^7.24.0, @babel/types@npm:^7.25.2": + version: 7.25.2 + resolution: "@babel/types@npm:7.25.2" + dependencies: + "@babel/helper-string-parser": ^7.24.8 + "@babel/helper-validator-identifier": ^7.24.7 + to-fast-properties: ^2.0.0 + checksum: 30164d05456da6997d771eabe33987b696e6b8bef547931ea265506043bac2c0de50584e5f0dc2b6d4c0e2c23b5302bb59cdc9c7f8675be4c9abbc54e66df5de + languageName: node + linkType: hard + "@bcoe/v8-coverage@npm:^0.2.3": version: 0.2.3 resolution: "@bcoe/v8-coverage@npm:0.2.3" @@ -1267,18 +959,6 @@ __metadata: languageName: node linkType: hard -"@cnakazawa/watch@npm:^1.0.3": - version: 1.0.4 - resolution: "@cnakazawa/watch@npm:1.0.4" - dependencies: - exec-sh: ^0.3.2 - minimist: ^1.2.0 - bin: - watch: cli.js - checksum: 7909f89bbee917b2a5932fd178b48b5291f417293538b1e8e68a5fa5815b3d6d4873c591d965f84559cd3e7b669c42a749ab706ef792368de39b95541ae4627d - languageName: node - linkType: hard - "@ctrl/tinycolor@npm:^3.4.0": version: 3.4.0 resolution: "@ctrl/tinycolor@npm:3.4.0" @@ -1446,260 +1126,269 @@ __metadata: languageName: node linkType: hard -"@glennsl/bs-jest@npm:0.7.0": - version: 0.7.0 - resolution: "@glennsl/bs-jest@npm:0.7.0" - dependencies: - jest: ^26.5.2 - checksum: 300fd11f74f3c56abbcd20187a40111ce16e0f41cc4135b1eeb91d65c6687e2006b5026426fbb3b5b12703ce888ba2e4709c02823fc3419f0c1a64079b83ef06 +"@esbuild/aix-ppc64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/aix-ppc64@npm:0.21.5" + checksum: 97bedac041768b1cba99e93801d6a96ca945b2e9e7d9db551237f7c0d5915248ce3b81f348f39650aa1df511ee68246f1feff5b212709d373d190d379e63e636 languageName: node linkType: hard -"@iarna/cli@npm:^1.2.0": - version: 1.2.0 - resolution: "@iarna/cli@npm:1.2.0" - dependencies: - signal-exit: ^3.0.2 - update-notifier: ^2.2.0 - yargs: ^8.0.2 - checksum: a515f681666a74c172df526a3052367da6730945a21099c60b994e70b9a513d8a2f42b2edeb6cc8fae1f9d34c8be9bdeb6ab496c9ccd7ccfc1a07ec2ee8c124f +"@esbuild/android-arm64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/android-arm64@npm:0.21.5" + checksum: dc8f94e37ca50bb8efed8c24c76e6731601d51cbb55b7a97b1a64906a7f2c02bc4ebd38cfbcbc186114fd597527384774c45d9d58ec9db95eea5b448d9765563 languageName: node linkType: hard -"@istanbuljs/load-nyc-config@npm:^1.0.0": - version: 1.1.0 - resolution: "@istanbuljs/load-nyc-config@npm:1.1.0" - dependencies: - camelcase: ^5.3.1 - find-up: ^4.1.0 - get-package-type: ^0.1.0 - js-yaml: ^3.13.1 - resolve-from: ^5.0.0 - checksum: f7f3b1c922bf5e36a7f747b2a80fedc9c2e1ebd7e03dc73082fca7c1066cc4e2e2ac39827aded6a087c32294e9c032ff3e50bc9041fcf757b4a38ca97418b652 +"@esbuild/android-arm@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/android-arm@npm:0.21.5" + checksum: 019961bfa903c1cc3a13539f46218e9adb672035b77c29b0195dd8887e45f99ccb9665fad9e8e0d481fb65171b7869d2e0cb275779634781e837d8ecf4e3e63e languageName: node linkType: hard -"@istanbuljs/schema@npm:^0.1.2": - version: 0.1.3 - resolution: "@istanbuljs/schema@npm:0.1.3" - checksum: d84c326335c37e3bd963e51d0e9631153961ff695524b1722317c9991f5153da283f819beab84a079695e2da8b3740e84c81db47c361cf12fff575968145d662 +"@esbuild/android-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/android-x64@npm:0.21.5" + checksum: 2f1f4cb49f7045dc1f5f67695e2d922b883029885eb1f6228dc6d3b9775031bacbc43bfd2750d045ade21babcb92e097c6f5117787bb1f176967cc848a45c656 languageName: node linkType: hard -"@jest/console@npm:^26.6.2": - version: 26.6.2 - resolution: "@jest/console@npm:26.6.2" - dependencies: - "@jest/types": ^26.6.2 - "@types/node": "*" - chalk: ^4.0.0 - jest-message-util: ^26.6.2 - jest-util: ^26.6.2 - slash: ^3.0.0 - checksum: 72920a893e4a622ce96786eb1d3f6ef0c88c9d1ec32fffbde4e25f582b5f1ccd5f5b7a370c0b1a4917fb74c046467f43422c0039c497df4b307527910759e0a5 +"@esbuild/darwin-arm64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/darwin-arm64@npm:0.21.5" + checksum: 78c419473cb02bc842059790fdaa00e34f061f8a4c2dffa9db581867d0c63432479e52cbf3a049402e09e5cce581ee753b7a1cff031d7cfe783cc2e434e3be90 languageName: node linkType: hard -"@jest/core@npm:^26.6.3": - version: 26.6.3 - resolution: "@jest/core@npm:26.6.3" - dependencies: - "@jest/console": ^26.6.2 - "@jest/reporters": ^26.6.2 - "@jest/test-result": ^26.6.2 - "@jest/transform": ^26.6.2 - "@jest/types": ^26.6.2 - "@types/node": "*" - ansi-escapes: ^4.2.1 - chalk: ^4.0.0 - exit: ^0.1.2 - graceful-fs: ^4.2.4 - jest-changed-files: ^26.6.2 - jest-config: ^26.6.3 - jest-haste-map: ^26.6.2 - jest-message-util: ^26.6.2 - jest-regex-util: ^26.0.0 - jest-resolve: ^26.6.2 - jest-resolve-dependencies: ^26.6.3 - jest-runner: ^26.6.3 - jest-runtime: ^26.6.3 - jest-snapshot: ^26.6.2 - jest-util: ^26.6.2 - jest-validate: ^26.6.2 - jest-watcher: ^26.6.2 - micromatch: ^4.0.2 - p-each-series: ^2.1.0 - rimraf: ^3.0.0 - slash: ^3.0.0 - strip-ansi: ^6.0.0 - checksum: e0d35e40fcbda21997dbc126722db92f8d534926c9bcf4a30ee79aa772e40ead2fefd405866e3364bff7ee50b12f03705c3fea5491b77807091961b2c3a0d65e +"@esbuild/darwin-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/darwin-x64@npm:0.21.5" + checksum: 8c6d58640c2b266dd22638d4ba02db75de3ef9351ea136e01027ce60bb2fefb42d4042b2af31832141fed91a73d48dae64e3f2ca11c004f91df51b1152a3d92b languageName: node linkType: hard -"@jest/environment@npm:^26.6.2": - version: 26.6.2 - resolution: "@jest/environment@npm:26.6.2" - dependencies: - "@jest/fake-timers": ^26.6.2 - "@jest/types": ^26.6.2 - "@types/node": "*" - jest-mock: ^26.6.2 - checksum: a4f426546801e79d2f5d1a516d80c330ccbe1638f7a7705f65110ac33f8a3ded08ccef75ad648610618122f2bfeba34e0c1e616eccc219a315956d63ff30d8fc +"@esbuild/freebsd-arm64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/freebsd-arm64@npm:0.21.5" + checksum: f574fccc7d403558a224f366374f7d88b5ce4813a956f8b54f64765f2a2ef77a0141cf23e2062163ee9565a2d0470d0caec26b5f1256fc0dd3aa1124f0aba00b languageName: node linkType: hard -"@jest/fake-timers@npm:^26.6.2": - version: 26.6.2 - resolution: "@jest/fake-timers@npm:26.6.2" - dependencies: - "@jest/types": ^26.6.2 - "@sinonjs/fake-timers": ^6.0.1 - "@types/node": "*" - jest-message-util: ^26.6.2 - jest-mock: ^26.6.2 - jest-util: ^26.6.2 - checksum: a82aa6d2f31d5e9958484b32e4714cb2ebca6ce6baf590c29505c8eea638663bf27f27b98a30ab574023cb15ecffbe70dc75d14694d76c4ccc78bee37d2ec1d1 +"@esbuild/freebsd-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/freebsd-x64@npm:0.21.5" + checksum: cefef934e0ddfd0f23791bd9870cdfab485d3b26e3b7bf7505efa79bad411ab8f8455a6281ab73fbbb67988c4b937772f1c8ae9a4a8bd7616070032ce90ddda1 languageName: node linkType: hard -"@jest/globals@npm:^26.6.2": - version: 26.6.2 - resolution: "@jest/globals@npm:26.6.2" - dependencies: - "@jest/environment": ^26.6.2 - "@jest/types": ^26.6.2 - expect: ^26.6.2 - checksum: d8f68a24adf87f6e32ba34ec884502ec067ed79a2855852ed64daa50383a53daf2b97487dd049e77c6fd6cade28b32f8cad4f0a2d02ce6b8aa23f95a136db8a7 +"@esbuild/linux-arm64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-arm64@npm:0.21.5" + checksum: 70f8f6a5f7b7af52e77daad3f5cade77494a3a55517c1c16ade3291266b849130cc8641fc180f31de082244be68a09c8c17e3adf4609c0cb691a942ed81775b4 languageName: node linkType: hard -"@jest/reporters@npm:^26.6.2": - version: 26.6.2 - resolution: "@jest/reporters@npm:26.6.2" - dependencies: - "@bcoe/v8-coverage": ^0.2.3 - "@jest/console": ^26.6.2 - "@jest/test-result": ^26.6.2 - "@jest/transform": ^26.6.2 - "@jest/types": ^26.6.2 - chalk: ^4.0.0 - collect-v8-coverage: ^1.0.0 - exit: ^0.1.2 - glob: ^7.1.2 - graceful-fs: ^4.2.4 - istanbul-lib-coverage: ^3.0.0 - istanbul-lib-instrument: ^4.0.3 - istanbul-lib-report: ^3.0.0 - istanbul-lib-source-maps: ^4.0.0 - istanbul-reports: ^3.0.2 - jest-haste-map: ^26.6.2 - jest-resolve: ^26.6.2 - jest-util: ^26.6.2 - jest-worker: ^26.6.2 - node-notifier: ^8.0.0 - slash: ^3.0.0 - source-map: ^0.6.0 - string-length: ^4.0.1 - terminal-link: ^2.0.0 - v8-to-istanbul: ^7.0.0 - dependenciesMeta: - node-notifier: - optional: true - checksum: 86ed8563dd4862de79c1b4f2e529a9a471d856b44aa66069c91b406d4c32ea70d909757797f99fc8d14a7eb2bd95286bd716346e289a92dba243e4b9eddef537 +"@esbuild/linux-arm@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-arm@npm:0.21.5" + checksum: f83f12f4f89caa6ead3aca26cd3a444c1413a9ce48194bc41f29e59707f1e04efe164ce70442811e59f59ffbb9d27abf9df62a1a1a7f09dde96e50d56474e116 languageName: node linkType: hard -"@jest/source-map@npm:^26.6.2": - version: 26.6.2 - resolution: "@jest/source-map@npm:26.6.2" - dependencies: - callsites: ^3.0.0 - graceful-fs: ^4.2.4 - source-map: ^0.6.0 - checksum: 9a6d3e650660229fadfcf4d9789cdf99d645d3827b05cbce7676f39d19af2ab00cca728420ef188cf44b92289e06e2a5f3e5299085e3ae080cc0472ea1fa4cc9 +"@esbuild/linux-ia32@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-ia32@npm:0.21.5" + checksum: 77539165cc4fdeb938061215bf3304c5f293784f3cc24fcb4119b323eaa06bd1e767a12a1480f52067357c41db04ec625422412c328a73759ca027c6d9e7e473 languageName: node linkType: hard -"@jest/test-result@npm:^26.6.2": - version: 26.6.2 - resolution: "@jest/test-result@npm:26.6.2" - dependencies: - "@jest/console": ^26.6.2 - "@jest/types": ^26.6.2 - "@types/istanbul-lib-coverage": ^2.0.0 - collect-v8-coverage: ^1.0.0 - checksum: 0ecd35212bb19f2dee97d795193897780729c446739715a52cb37ed248020ad6a32bc2e9563812f56028be19c651237403c7dfec9ed967f443d9afcc385dd9dc +"@esbuild/linux-loong64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-loong64@npm:0.21.5" + checksum: 9da670833a47cb944b2ade7df9a25404e1d066ae272a3a7563354944c35c3bb3c9afc82a03a3b49b1149e9d6279e5ab7a51d8c3ab509854f47fd957b223567f5 languageName: node linkType: hard -"@jest/test-sequencer@npm:^26.6.3": - version: 26.6.3 - resolution: "@jest/test-sequencer@npm:26.6.3" - dependencies: - "@jest/test-result": ^26.6.2 - graceful-fs: ^4.2.4 - jest-haste-map: ^26.6.2 - jest-runner: ^26.6.3 - jest-runtime: ^26.6.3 - checksum: c0c2c7917a0b6e25414b0ed570701c9cd5b2ba18fe0c55ac3a2d53ccf6aeeaf7ec388c14c78d13c27c4a7e7ee87bdca52d09d820c0ebf80a3e7d47f3fc52e9ef +"@esbuild/linux-mips64el@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-mips64el@npm:0.21.5" + checksum: 12d972b6ed79d8e1a754dbccdba8b308fb3bf03e031d3ab9371f9014c99aa47cc83078256b2f1790d921456afcc338f57d3c586edec3cefc05bbef7cd484b29d languageName: node linkType: hard -"@jest/transform@npm:^26.6.2": - version: 26.6.2 - resolution: "@jest/transform@npm:26.6.2" - dependencies: - "@babel/core": ^7.1.0 - "@jest/types": ^26.6.2 - babel-plugin-istanbul: ^6.0.0 - chalk: ^4.0.0 - convert-source-map: ^1.4.0 - fast-json-stable-stringify: ^2.0.0 - graceful-fs: ^4.2.4 - jest-haste-map: ^26.6.2 - jest-regex-util: ^26.0.0 - jest-util: ^26.6.2 - micromatch: ^4.0.2 - pirates: ^4.0.1 - slash: ^3.0.0 - source-map: ^0.6.1 - write-file-atomic: ^3.0.0 - checksum: 28e97c9eb837af80095f8e94e34a81b4515912a25d13c70a83e3920757783751be6ccb7bca9acb4a384ab78cd54f0ebcf34c1be826173719fdf88d981d54e4b7 +"@esbuild/linux-ppc64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-ppc64@npm:0.21.5" + checksum: 9f1696557b4cb5c2a31e4b59c34899ce55b879aa9495bec45769f090522eff5e0d50d314b8f2eac3713fb87394f64365af97e641ad4bcc5b647001c2f41ca344 languageName: node linkType: hard -"@jest/types@npm:^26.6.2": - version: 26.6.2 - resolution: "@jest/types@npm:26.6.2" - dependencies: - "@types/istanbul-lib-coverage": ^2.0.0 - "@types/istanbul-reports": ^3.0.0 - "@types/node": "*" - "@types/yargs": ^15.0.0 - chalk: ^4.0.0 - checksum: 5c511d7807f414b298299ae4a053abf265f39984942e0eefdfb17a7986a36f1047e0fd9a6f785bdddbf7343a5737595dfabe148719a80e118dd77486502009cc +"@esbuild/linux-riscv64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-riscv64@npm:0.21.5" + checksum: bd4689d3a28e3b8fddee9ae7dbff65524a4cc8ff3bef0d299663a35e09d86afa956533e5f238c41aa59a190a9e94dc653d58b8afa835969d69b20145e1f89103 languageName: node linkType: hard -"@nodelib/fs.scandir@npm:2.1.5": - version: 2.1.5 - resolution: "@nodelib/fs.scandir@npm:2.1.5" - dependencies: - "@nodelib/fs.stat": 2.0.5 - run-parallel: ^1.1.9 - checksum: 91b3de88d9ba843b74057ebec53d97bb1ca006fcb794f1eb2becfe6faf114cb575c90b10fc20f7390358106ffa5e6bbc493506c24f2263a33aa69f90c1e77f74 +"@esbuild/linux-s390x@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-s390x@npm:0.21.5" + checksum: f0de986335d52b8fbac90f66fcbc7999b523226b9c72cb986d9e502b373ea85de48cbbd7d1c86e9b4ea4a39f53f8b1b0e61ab8b11722f5525d5462855c106d04 languageName: node linkType: hard -"@nodelib/fs.stat@npm:2.0.5, @nodelib/fs.stat@npm:^2.0.2": - version: 2.0.5 - resolution: "@nodelib/fs.stat@npm:2.0.5" - checksum: a4fcf7408f2a1e11737856629b1259fb9ed658c464fabb17f77db1069fea5dd47abd5e92325b217617dbc116138d82ea6d33ffc07a426de940c5f6e08603da88 +"@esbuild/linux-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/linux-x64@npm:0.21.5" + checksum: fd89e3351933727f41aafc659dc7db1b0b371b1f342fa24948fd046b98171cab4c61a850ac945fc04f37d0cbf013a5a23475fd667575d4bcea1c4c5fa2bf03e9 languageName: node linkType: hard -"@nodelib/fs.walk@npm:^1.2.3": - version: 1.2.7 +"@esbuild/netbsd-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/netbsd-x64@npm:0.21.5" + checksum: d0e3f46d4ca272330252c794fdebdcee1410e7a13ab6944ecd6a4f7e7f16904e70d933ff0a269caf253e3ebe17bc70eb19925a1be549f87fe968ce5833190638 + languageName: node + linkType: hard + +"@esbuild/openbsd-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/openbsd-x64@npm:0.21.5" + checksum: e15d43aad777d36fe9e1761d13f3d7276deef8332b64ab8f050c21a91ab389007db69db0c315c40504028dbbf52780cdcb9edca326865187aa300b3469825aa2 + languageName: node + linkType: hard + +"@esbuild/sunos-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/sunos-x64@npm:0.21.5" + checksum: 23ffd152de3853986b4a088ccafd5c403b506204dafc42a6e105c8a0dbb7425de45b5a9ab3f744864e52e72242535c5847fd96349d1a31cd7c1f09d4f313a192 + languageName: node + linkType: hard + +"@esbuild/win32-arm64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/win32-arm64@npm:0.21.5" + checksum: 5d6384d242250a0c62eb24b74fcaa11052b2749d3b3145e50700312e51772c8702f16c50520a39fa7ed39a6b45d3fd69df1b216c6efba9919e0874ee0caf3da6 + languageName: node + linkType: hard + +"@esbuild/win32-ia32@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/win32-ia32@npm:0.21.5" + checksum: c62cc135effa1c8ec5dfbb2e566c0dce1e39afc02963191125f21d27063b927207777197e7793e6fbd023bfe0d4e3a8cae8ffa17751e101e7cf03bdeb11c74db + languageName: node + linkType: hard + +"@esbuild/win32-x64@npm:0.21.5": + version: 0.21.5 + resolution: "@esbuild/win32-x64@npm:0.21.5" + checksum: 804325c26136ed0c23312440914fe0369b009c8f3a5dd99bc288ebc42ca8d71a80acba399ac1a7654de95c4dc5c7e43eaa562e0a1b0d3457a93300b067ed9d62 + languageName: node + linkType: hard + +"@iarna/cli@npm:^1.2.0": + version: 1.2.0 + resolution: "@iarna/cli@npm:1.2.0" + dependencies: + signal-exit: ^3.0.2 + update-notifier: ^2.2.0 + yargs: ^8.0.2 + checksum: a515f681666a74c172df526a3052367da6730945a21099c60b994e70b9a513d8a2f42b2edeb6cc8fae1f9d34c8be9bdeb6ab496c9ccd7ccfc1a07ec2ee8c124f + languageName: node + linkType: hard + +"@isaacs/cliui@npm:^8.0.2": + version: 8.0.2 + resolution: "@isaacs/cliui@npm:8.0.2" + dependencies: + string-width: ^5.1.2 + string-width-cjs: "npm:string-width@^4.2.0" + strip-ansi: ^7.0.1 + strip-ansi-cjs: "npm:strip-ansi@^6.0.1" + wrap-ansi: ^8.1.0 + wrap-ansi-cjs: "npm:wrap-ansi@^7.0.0" + checksum: 1b9b20d02b477c6bfeb3239e5c7f143f31ae499d1c74eb1e151f86d82ba1ebfb229df6ece4e071cadf3392e31a7ad39ea7e0daf01a0ec637ecd2729266dca0e7 + languageName: node + linkType: hard + +"@istanbuljs/schema@npm:^0.1.2": + version: 0.1.3 + resolution: "@istanbuljs/schema@npm:0.1.3" + checksum: d84c326335c37e3bd963e51d0e9631153961ff695524b1722317c9991f5153da283f819beab84a079695e2da8b3740e84c81db47c361cf12fff575968145d662 + languageName: node + linkType: hard + +"@jest/schemas@npm:^29.6.3": + version: 29.6.3 + resolution: "@jest/schemas@npm:29.6.3" + dependencies: + "@sinclair/typebox": ^0.27.8 + checksum: 64c7b2757cd6c70ea2951c6ef302ef3ff30c82000aa7223f16eb3c7d8c0c0cb34878abffa29c0f6d620a3bc21b5c99300df72e7994e6766dbe9ccd90c67dfe6a + languageName: node + linkType: hard + +"@jridgewell/gen-mapping@npm:^0.3.5": + version: 0.3.5 + resolution: "@jridgewell/gen-mapping@npm:0.3.5" + dependencies: + "@jridgewell/set-array": ^1.2.1 + "@jridgewell/sourcemap-codec": ^1.4.10 + "@jridgewell/trace-mapping": ^0.3.24 + checksum: c5833e1f1edeee5377bbc0aa6f0d8dc57da4074f4c58775d622ba9a698f1655e72f75e3fec85a6fcae10420a4ba774c1ee416165f7fec8566284b8debd06f9bc + languageName: node + linkType: hard + +"@jridgewell/resolve-uri@npm:^3.1.0": + version: 3.1.2 + resolution: "@jridgewell/resolve-uri@npm:3.1.2" + checksum: cb6726e7a338ddc254d1e5d3dce3fff94cc62e6681232ff68544c3539ca6b5a26c2681d0663819e7c5778c2f904ecee6c8b20681a87da91fb7aa62032ff4d9bf + languageName: node + linkType: hard + +"@jridgewell/set-array@npm:^1.2.1": + version: 1.2.1 + resolution: "@jridgewell/set-array@npm:1.2.1" + checksum: e079fb150642f1654abfed25a36790cc5e0a1b2187be6876c0de82062b82f86e509acaa6e3c8ec6ef23dd5f6ad22436ae359586abf27b8bbf538fbbfab93a5ea + languageName: node + linkType: hard + +"@jridgewell/sourcemap-codec@npm:^1.4.10, @jridgewell/sourcemap-codec@npm:^1.4.14, @jridgewell/sourcemap-codec@npm:^1.5.0": + version: 1.5.0 + resolution: "@jridgewell/sourcemap-codec@npm:1.5.0" + checksum: 6460636a3452dacbb34ab233be2a94b5a8a42eec2a1339c30cc1cabc4ceb52512cb1bd90208a7ece4b4ca6a484645867025cb45ac745a39009474d1d47757947 + languageName: node + linkType: hard + +"@jridgewell/trace-mapping@npm:^0.3.23, @jridgewell/trace-mapping@npm:^0.3.24": + version: 0.3.25 + resolution: "@jridgewell/trace-mapping@npm:0.3.25" + dependencies: + "@jridgewell/resolve-uri": ^3.1.0 + "@jridgewell/sourcemap-codec": ^1.4.14 + checksum: 674f1975b2236f4f7f608f1b390db5968328b2c39cd3f093f9c0d6bde04a85bf720044a1c44581169f9f8dd1951705ae0b11c042d3cae01dc79d32b058e83656 + languageName: node + linkType: hard + +"@nodelib/fs.scandir@npm:2.1.5": + version: 2.1.5 + resolution: "@nodelib/fs.scandir@npm:2.1.5" + dependencies: + "@nodelib/fs.stat": 2.0.5 + run-parallel: ^1.1.9 + checksum: 91b3de88d9ba843b74057ebec53d97bb1ca006fcb794f1eb2becfe6faf114cb575c90b10fc20f7390358106ffa5e6bbc493506c24f2263a33aa69f90c1e77f74 + languageName: node + linkType: hard + +"@nodelib/fs.stat@npm:2.0.5, @nodelib/fs.stat@npm:^2.0.2": + version: 2.0.5 + resolution: "@nodelib/fs.stat@npm:2.0.5" + checksum: a4fcf7408f2a1e11737856629b1259fb9ed658c464fabb17f77db1069fea5dd47abd5e92325b217617dbc116138d82ea6d33ffc07a426de940c5f6e08603da88 + languageName: node + linkType: hard + +"@nodelib/fs.walk@npm:^1.2.3": + version: 1.2.7 resolution: "@nodelib/fs.walk@npm:1.2.7" dependencies: "@nodelib/fs.scandir": 2.1.5 @@ -2066,6 +1755,13 @@ __metadata: languageName: node linkType: hard +"@pkgjs/parseargs@npm:^0.11.0": + version: 0.11.0 + resolution: "@pkgjs/parseargs@npm:0.11.0" + checksum: dfe6befa028bf30936d80ca8f398e7b121c8232305136f699cc954fd9a183d73043d9de4334e1b851424ab68a9070a1c8dab343a27cb643888925e219250a037 + languageName: node + linkType: hard + "@popperjs/core@npm:2.4.4": version: 2.4.4 resolution: "@popperjs/core@npm:2.4.4" @@ -2115,13 +1811,125 @@ __metadata: languageName: node linkType: hard -"@rescript/react@npm:0.10.3": - version: 0.10.3 - resolution: "@rescript/react@npm:0.10.3" +"@rescript/react@npm:0.11.0": + version: 0.11.0 + resolution: "@rescript/react@npm:0.11.0" peerDependencies: - react: ">=16.8.1" - react-dom: ">=16.8.1" - checksum: 8b3ab98ed0b9122b878a4d3bf01ac2657059ad89642204948057bd822b0ff01c4631e113d57e9bf75b01fbe63a2f8dec149121643c9c3a47d9532d853fd07835 + react: ">=18.0.0" + react-dom: ">=18.0.0" + checksum: e0beee0fd30d9a7a00addf669b54936cb5717faf46b524deb7851c1de7e273b963e0deaac85904e30c9e4c9837ef7019cd4795f57e0e5bbc8bbca00ed68a35f1 + languageName: node + linkType: hard + +"@rollup/rollup-android-arm-eabi@npm:4.20.0": + version: 4.20.0 + resolution: "@rollup/rollup-android-arm-eabi@npm:4.20.0" + checksum: a05c7b0ffa1ee7d8ce05123a002ded8532ed626f885f9ff0f793e3e6d628a70dd00e86d23303b6f9cabee17b5c3e502494d90f21b06a447add36036d1927467d + languageName: node + linkType: hard + +"@rollup/rollup-android-arm64@npm:4.20.0": + version: 4.20.0 + resolution: "@rollup/rollup-android-arm64@npm:4.20.0" + checksum: 936551634faafcffecc1cc8aa746812bd333c2aa3e3d0db63c72d0cd82a4e71d774b82d26addc3886200296230102987f7297c8028d1948fb8f4c2f2ff031811 + languageName: node + linkType: hard + +"@rollup/rollup-darwin-arm64@npm:4.20.0": + version: 4.20.0 + resolution: "@rollup/rollup-darwin-arm64@npm:4.20.0" + checksum: e99cea5232cfd10f33528a743112e1c78dee987d25d0d94f6eda31860f6c680cb7f3b18b63fcd59f30040d92651f4e242efbbacd93e8394719c3183d51ec3e64 + languageName: node + linkType: hard + +"@rollup/rollup-darwin-x64@npm:4.20.0": + version: 4.20.0 + resolution: "@rollup/rollup-darwin-x64@npm:4.20.0" + checksum: 77086e2ce13103058063943aba3e7f95ef4c63d3b7abd583f1d513c5987238ac4cee096fdfc57fa89afd30a8a18df2d2d4ac179bc0670a28c242861b4236dfc6 + languageName: node + linkType: hard + +"@rollup/rollup-linux-arm-gnueabihf@npm:4.20.0": + version: 4.20.0 + resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.20.0" + checksum: 41522af18186fd8040a00239e152ab81a261c179680c4c45a5d1b60a6b9f57860cc00b5eb5587ac6af2d4db950718cb0aea11078a131e98b71d29be56a6c523c + languageName: node + linkType: hard + +"@rollup/rollup-linux-arm-musleabihf@npm:4.20.0": + version: 4.20.0 + resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.20.0" + checksum: 583a4ae63d6f24becd5afc985953205888fabb64724b1f84816b8400183b950bc46341642c1edc368fba8366749bc1bd400f9e5882bb4696ce9245eaf158c5e4 + languageName: node + linkType: hard + +"@rollup/rollup-linux-arm64-gnu@npm:4.20.0": + version: 4.20.0 + resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.20.0" + checksum: 3c439bf11b5d908df6e2c4ab263dc1696346ec536bfe3d6e6cc56e1befba8f36dc3fbf4728f747c25c1a6316d1cce11847fe9ff8862295d51f0d71e4e102743b + languageName: node + linkType: hard + +"@rollup/rollup-linux-arm64-musl@npm:4.20.0": + version: 4.20.0 + resolution: "@rollup/rollup-linux-arm64-musl@npm:4.20.0" + checksum: dd36cbc0642c5e2fafb308a5180df76567e56ade8c77f86fd467de75101b71ac0cdfce62b7bfd46cf3572506be96a9db2b51985ca9797d3c8bdbfe1ba310a6d6 + languageName: node + linkType: hard + +"@rollup/rollup-linux-powerpc64le-gnu@npm:4.20.0": + version: 4.20.0 + resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.20.0" + checksum: b838c5a3d1ca0d9ada5c153e4df9a000eb03c8f85ca168925ae088317df56fe9c958fdd45969755d9a93bd76a6257008bcff29481b40240c7db65ac849b4c686 + languageName: node + linkType: hard + +"@rollup/rollup-linux-riscv64-gnu@npm:4.20.0": + version: 4.20.0 + resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.20.0" + checksum: eef81b344031d9c7dfe9c7c1209858afed86008cad7bba00a64fba269eee3e5f146730892fd968af803a6f08197a09e93814343c1af51405b526c44c4a75a0ed + languageName: node + linkType: hard + +"@rollup/rollup-linux-s390x-gnu@npm:4.20.0": + version: 4.20.0 + resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.20.0" + checksum: fb4900587debc2a749317ea5970dfcbceba841adfe52ba68b6ac3f5e15c939bcae9ccfe565c64a7d0a1a163acc0ddbec9b6bc91341995164bc5716a8837c5ca1 + languageName: node + linkType: hard + +"@rollup/rollup-linux-x64-gnu@npm:4.20.0": + version: 4.20.0 + resolution: "@rollup/rollup-linux-x64-gnu@npm:4.20.0" + checksum: 6117c20e74a51b6393de4d750ccf3edcdf14d564089f79be96f96a608b2100517fa4e20a67ccf8b98147786cd3d4c5d81769f80a40564c302f35f921d5bfd02f + languageName: node + linkType: hard + +"@rollup/rollup-linux-x64-musl@npm:4.20.0": + version: 4.20.0 + resolution: "@rollup/rollup-linux-x64-musl@npm:4.20.0" + checksum: d8d176e282dd25b4ef937e80eab38bf335fe7a57056db685b6775d6a1490731669b73001bbb015ac88f33b838914d894874b74cb595b5a118f9cd023ebaf88c5 + languageName: node + linkType: hard + +"@rollup/rollup-win32-arm64-msvc@npm:4.20.0": + version: 4.20.0 + resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.20.0" + checksum: cd25eb6bf91a3a3b365bc30053e6205033540f638bfabcd5cf2d3799b427f979875dce705dec38ec97e81f67076c7e0ba949fbff9c9e9247a42ab3d362e08c52 + languageName: node + linkType: hard + +"@rollup/rollup-win32-ia32-msvc@npm:4.20.0": + version: 4.20.0 + resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.20.0" + checksum: e5b5d60d1fc5631676d3323a765202e53ed7606107666301075c10bf2e7de0a5eebaa0d0f624b3089202fbb224fbd9588b666f86cce0d0485c72901e3ac73075 + languageName: node + linkType: hard + +"@rollup/rollup-win32-x64-msvc@npm:4.20.0": + version: 4.20.0 + resolution: "@rollup/rollup-win32-x64-msvc@npm:4.20.0" + checksum: 02364e4aa70618383b737f14f90093f2718a2eeea860cd4853f4fdc1ee845156d0489b3d1cca909ba225902f2dcab080dcf6c29cc48066895b85c5ceae210289 languageName: node linkType: hard @@ -2336,21 +2144,10 @@ __metadata: languageName: node linkType: hard -"@sinonjs/commons@npm:^1.7.0": - version: 1.8.3 - resolution: "@sinonjs/commons@npm:1.8.3" - dependencies: - type-detect: 4.0.8 - checksum: a7f3181512f67bbb9059dc9247febfda6dea58fc2a918360b208c6fde193b0c2cbe628650b0d13b4ba69f144470788eb6c2ef8a84e050dce4808be8511da4316 - languageName: node - linkType: hard - -"@sinonjs/fake-timers@npm:^6.0.1": - version: 6.0.1 - resolution: "@sinonjs/fake-timers@npm:6.0.1" - dependencies: - "@sinonjs/commons": ^1.7.0 - checksum: 64458b908773638dda08b555a00e6fbbbc679735348291dc1b7f437ada2f60242537fdc48e4ee82d2573d86984ec87e755b66a96c0ed9ebf0f46b4c6687ccde2 +"@sinclair/typebox@npm:^0.27.8": + version: 0.27.8 + resolution: "@sinclair/typebox@npm:0.27.8" + checksum: 081340b814356e676b3e57f7cea1dd1e5790213ea4e1376021ed5ba14708736bf9fd6be6795d757d372e2bdb166f8b405020d214159c11054af8af7de1635921 languageName: node linkType: hard @@ -2361,44 +2158,10 @@ __metadata: languageName: node linkType: hard -"@types/babel__core@npm:^7.0.0, @types/babel__core@npm:^7.1.7": - version: 7.1.14 - resolution: "@types/babel__core@npm:7.1.14" - dependencies: - "@babel/parser": ^7.1.0 - "@babel/types": ^7.0.0 - "@types/babel__generator": "*" - "@types/babel__template": "*" - "@types/babel__traverse": "*" - checksum: e0212770e1cd520b8ad241642e9f99ef20b5c609c157ffe154c42e136c85f3c3f598ad7bfd452fda8abb304c483d6bce92de0b8ed0612f9f1c57b6c4a18da7b3 - languageName: node - linkType: hard - -"@types/babel__generator@npm:*": - version: 7.6.2 - resolution: "@types/babel__generator@npm:7.6.2" - dependencies: - "@babel/types": ^7.0.0 - checksum: 58fc195a3d6dddd1b39e49d05585e7261052a4b87cf1fbb8068c9fb826465a7df33df4acd3d52bb6540dc704c5bacde19fcefa152a6b064e2bf34d0c458636c5 - languageName: node - linkType: hard - -"@types/babel__template@npm:*": - version: 7.4.0 - resolution: "@types/babel__template@npm:7.4.0" - dependencies: - "@babel/parser": ^7.1.0 - "@babel/types": ^7.0.0 - checksum: 7a81a59f85705e52e753e969e760ab2d9b740be540df355e7d52f7696979f93c4728c4c8b7871c995f043c64989a6b6f307001d47cc00fb90a8442236e58adbe - languageName: node - linkType: hard - -"@types/babel__traverse@npm:*, @types/babel__traverse@npm:^7.0.4, @types/babel__traverse@npm:^7.0.6": - version: 7.11.1 - resolution: "@types/babel__traverse@npm:7.11.1" - dependencies: - "@babel/types": ^7.3.0 - checksum: 676150e00d1f6b535a3c53f9c22ae4abb3707abdbf71a9ebf200a8722fc0cd9b7c677165c0dea35616fed5af9f93b40aaa58ba56fd21bb2c843cd03c12419afd +"@types/estree@npm:1.0.5, @types/estree@npm:^1.0.0": + version: 1.0.5 + resolution: "@types/estree@npm:1.0.5" + checksum: 2c094fc4673e3bdb77443f8bf1d539692f5e1f87f02c572a15d9513b41a064bcd885658a9bc65ea52b1774051bec4e7d734f289190ffcc76468c3eec64d8ba2a languageName: node linkType: hard @@ -2412,40 +2175,6 @@ __metadata: languageName: node linkType: hard -"@types/graceful-fs@npm:^4.1.2": - version: 4.1.5 - resolution: "@types/graceful-fs@npm:4.1.5" - dependencies: - "@types/node": "*" - checksum: ab79ec306d51775542b94bd768162e85fe2a0d47bd2f6033e2aad65bfcae399614ee7662a1370091fc508a8b639e3de0abf6b7232c9fb52047f207ba114ff390 - languageName: node - linkType: hard - -"@types/istanbul-lib-coverage@npm:*, @types/istanbul-lib-coverage@npm:^2.0.0, @types/istanbul-lib-coverage@npm:^2.0.1": - version: 2.0.3 - resolution: "@types/istanbul-lib-coverage@npm:2.0.3" - checksum: d6f6dbf66d2d2d7d80d093329f0428ac279440510030bfd0080545bba6882433444430905e6e31eba299b890e50ccf2b6a7de9345d7d0ed52ff174f8ead48855 - languageName: node - linkType: hard - -"@types/istanbul-lib-report@npm:*": - version: 3.0.0 - resolution: "@types/istanbul-lib-report@npm:3.0.0" - dependencies: - "@types/istanbul-lib-coverage": "*" - checksum: 78aa9f859b6d1b2c02387b401e4e42fdec2e26ffede392e544da108abc6aff35c95b40821116ca46006d94c8b405ffd64465c32514549e997b04f8363de1af5e - languageName: node - linkType: hard - -"@types/istanbul-reports@npm:^3.0.0": - version: 3.0.1 - resolution: "@types/istanbul-reports@npm:3.0.1" - dependencies: - "@types/istanbul-lib-report": "*" - checksum: 398cc6bea308522f70829875c983cb26a19f2e420859a629d57713e3bfad64a02cf1c505575b29b5c3a1816397ad523135ae43a67eaeeae3b054f75233f4e7c4 - languageName: node - linkType: hard - "@types/keyv@npm:^3.1.1": version: 3.1.1 resolution: "@types/keyv@npm:3.1.1" @@ -2506,13 +2235,6 @@ __metadata: languageName: node linkType: hard -"@types/prettier@npm:^2.0.0": - version: 2.3.0 - resolution: "@types/prettier@npm:2.3.0" - checksum: 7c1ef16234220519d52b8a154723caf5c5dc9d5eaa85bfe06e367ba57472dab7f7fdac1ca7c29d9010d58f74f3b5235a9f8bad0111d9bad74018eb8141371e7e - languageName: node - linkType: hard - "@types/responselike@npm:^1.0.0": version: 1.0.0 resolution: "@types/responselike@npm:1.0.0" @@ -2529,13 +2251,6 @@ __metadata: languageName: node linkType: hard -"@types/stack-utils@npm:^2.0.0": - version: 2.0.0 - resolution: "@types/stack-utils@npm:2.0.0" - checksum: 662312302e07685c99a1c45c6753eb997b31d2af66e646c5937f62d593a63a111289503d0b06a8d1e6f3922b67fc2ed94889d84653a08861a7fee67b81ce5b92 - languageName: node - linkType: hard - "@types/warning@npm:^3.0.0": version: 3.0.0 resolution: "@types/warning@npm:3.0.0" @@ -2543,19 +2258,142 @@ __metadata: languageName: node linkType: hard -"@types/yargs-parser@npm:*": - version: 20.2.0 - resolution: "@types/yargs-parser@npm:20.2.0" - checksum: 202b8ca16a1589514f6b3155194c6fde9b5e5b2ffc1025849f93483f70ca9318f4d0423f209efc180beecbc447dcf14cf18e6177db296036e7927e302329dc94 +"@vitest/coverage-v8@npm:^2.0.5": + version: 2.0.5 + resolution: "@vitest/coverage-v8@npm:2.0.5" + dependencies: + "@ampproject/remapping": ^2.3.0 + "@bcoe/v8-coverage": ^0.2.3 + debug: ^4.3.5 + istanbul-lib-coverage: ^3.2.2 + istanbul-lib-report: ^3.0.1 + istanbul-lib-source-maps: ^5.0.6 + istanbul-reports: ^3.1.7 + magic-string: ^0.30.10 + magicast: ^0.3.4 + std-env: ^3.7.0 + test-exclude: ^7.0.1 + tinyrainbow: ^1.2.0 + peerDependencies: + vitest: 2.0.5 + checksum: 6c4b3e0e3c105d174b63805cd81366ef1f63fa328ffe10df1977aac3443b8e7b73eb9828955b2d0f5593959d591f10674fa503f1e1ea1349b8239dab60c7b6a4 + languageName: node + linkType: hard + +"@vitest/expect@npm:1.6.0": + version: 1.6.0 + resolution: "@vitest/expect@npm:1.6.0" + dependencies: + "@vitest/spy": 1.6.0 + "@vitest/utils": 1.6.0 + chai: ^4.3.10 + checksum: 3e69cf76d242e78385bc30b5c8eef66f58421938796d38077da99cb89f4d6deb48fc30339850cc12c8496cd72f2761578f0ce812b151531c1d6c1a47ff6e6eec + languageName: node + linkType: hard + +"@vitest/expect@npm:2.0.5": + version: 2.0.5 + resolution: "@vitest/expect@npm:2.0.5" + dependencies: + "@vitest/spy": 2.0.5 + "@vitest/utils": 2.0.5 + chai: ^5.1.1 + tinyrainbow: ^1.2.0 + checksum: a053aeba64714cd6233501916b69dba789e5e62e9beec2afd252d3749b5593dfd606c26f269f14472a9456b099910e6088dd22f8fa0c8ad963e2f36bcff06dda + languageName: node + linkType: hard + +"@vitest/pretty-format@npm:2.0.5, @vitest/pretty-format@npm:^2.0.5": + version: 2.0.5 + resolution: "@vitest/pretty-format@npm:2.0.5" + dependencies: + tinyrainbow: ^1.2.0 + checksum: 388f32027ae26417bd179c33119ebdcaad435bda3c9700f7f6bbdc96994e052a745dc17b5b266ae404fbd2afd094989d4b8d4803b562fac5e964971456604b0a + languageName: node + linkType: hard + +"@vitest/runner@npm:1.6.0": + version: 1.6.0 + resolution: "@vitest/runner@npm:1.6.0" + dependencies: + "@vitest/utils": 1.6.0 + p-limit: ^5.0.0 + pathe: ^1.1.1 + checksum: 78b369d7d9d2e350ef11c92d4c5e22d112427f0fdc575c9aebd99061ac2154eb8c776d6b14424d9f3b575518b10722542fa2bc27cd0d2ae586d0b3674dc7949d + languageName: node + linkType: hard + +"@vitest/runner@npm:2.0.5": + version: 2.0.5 + resolution: "@vitest/runner@npm:2.0.5" + dependencies: + "@vitest/utils": 2.0.5 + pathe: ^1.1.2 + checksum: 8667e8bdc361c2935ec3fd9780b822a7bfa8ee61d06a7ac5f1013003e1ed8d5fb6614da7b9b5ec0cbfb1c2f7885ffddfa4a699aa04e8ace745d0722a99df8e50 + languageName: node + linkType: hard + +"@vitest/snapshot@npm:1.6.0": + version: 1.6.0 + resolution: "@vitest/snapshot@npm:1.6.0" + dependencies: + magic-string: ^0.30.5 + pathe: ^1.1.1 + pretty-format: ^29.7.0 + checksum: 3658fa1d154f48bfc0567d8e8b643587ad013cd0502bea8e7f6cb8bce0b0821979e252710f4e67b34d9ae2a09a350c14204e478afb56811a538edba75847c586 + languageName: node + linkType: hard + +"@vitest/snapshot@npm:2.0.5": + version: 2.0.5 + resolution: "@vitest/snapshot@npm:2.0.5" + dependencies: + "@vitest/pretty-format": 2.0.5 + magic-string: ^0.30.10 + pathe: ^1.1.2 + checksum: f1314067b9ab7db34c7f8dca4d254b0b0975cf67dc588b8a2bfec2ea8e6695cb1ddffd93dce3088c68c6fac7286e511ceb2c37bd0b71a831a9308bfbc704b2eb + languageName: node + linkType: hard + +"@vitest/spy@npm:1.6.0": + version: 1.6.0 + resolution: "@vitest/spy@npm:1.6.0" + dependencies: + tinyspy: ^2.2.0 + checksum: 2227f9acd6e7644b2c4cdc9820c9b1efc6e700fba7475f3e00919a7248c5dac754ab331032160fa706926b0d07d20b8f93dbd8eebd67f8517873c6cd7727effd + languageName: node + linkType: hard + +"@vitest/spy@npm:2.0.5": + version: 2.0.5 + resolution: "@vitest/spy@npm:2.0.5" + dependencies: + tinyspy: ^3.0.0 + checksum: d9b4015968b34f2a9ccf0c119d171c2a3bb00463c1c485e689045b0488cb4428de7c16e898dc0de20df2004376ffdcbd02ddf6e9621dc22323bd8f37e2088dc1 + languageName: node + linkType: hard + +"@vitest/utils@npm:1.6.0": + version: 1.6.0 + resolution: "@vitest/utils@npm:1.6.0" + dependencies: + diff-sequences: ^29.6.3 + estree-walker: ^3.0.3 + loupe: ^2.3.7 + pretty-format: ^29.7.0 + checksum: 5ff94b8ba8bcf7f69a35476dec01f003928916e9c7f1b7f36069eb6b5156e9a8cbc3cace7cddaca1103945cf1fd8ef4360a5d17474501b487f7a2c8b4ddf3787 languageName: node linkType: hard -"@types/yargs@npm:^15.0.0": - version: 15.0.13 - resolution: "@types/yargs@npm:15.0.13" +"@vitest/utils@npm:2.0.5": + version: 2.0.5 + resolution: "@vitest/utils@npm:2.0.5" dependencies: - "@types/yargs-parser": "*" - checksum: fa1a5b0a07dbbff1657a27d1191d586632412d170321000f6f417f279547a8c191d7058dbf4d4187c188a5a1aeb2473ddb25fe316b206fccdfe1de6fad976619 + "@vitest/pretty-format": 2.0.5 + estree-walker: ^3.0.3 + loupe: ^3.1.1 + tinyrainbow: ^1.2.0 + checksum: 076d7e18db9304945701e14a8a390348cfef2a9a7fdca5c6d4b2b934d1ef87593ce5b7cf5f3112b8f669ecfdb53b03d1569f4f961fb63ced4e2f986e635f955d languageName: node linkType: hard @@ -2571,13 +2409,6 @@ __metadata: languageName: node linkType: hard -"abab@npm:^2.0.3, abab@npm:^2.0.5": - version: 2.0.5 - resolution: "abab@npm:2.0.5" - checksum: a42b91bd9dd2451a3fc6996bc8953139904ff7b1a793719205041148da892337afc97ed0589ef2c44765c4da3d688eed145781db1623b611621d805294c367a3 - languageName: node - linkType: hard - "abbrev@npm:1, abbrev@npm:~1.1.1": version: 1.1.1 resolution: "abbrev@npm:1.1.1" @@ -2585,38 +2416,21 @@ __metadata: languageName: node linkType: hard -"acorn-globals@npm:^6.0.0": - version: 6.0.0 - resolution: "acorn-globals@npm:6.0.0" +"acorn-walk@npm:^8.3.2": + version: 8.3.3 + resolution: "acorn-walk@npm:8.3.3" dependencies: - acorn: ^7.1.1 - acorn-walk: ^7.1.1 - checksum: 078ed9bc354e95a30893efd260e2dc566dfc34d8e1d24a54b9ad59984bea53ff93cb1986a85b2b5e2b8e573cb00d34ad8767371b852941a1947f81c37c1be759 - languageName: node - linkType: hard - -"acorn-walk@npm:^7.1.1": - version: 7.2.0 - resolution: "acorn-walk@npm:7.2.0" - checksum: 7b52d5d6397f2d395ca878bdb0f56e583e69bc875521876d05fe2b6e293c21aca918b288c01bd18ac99b46b55a0f00a8d0e30fbdfb53c8e36e78ad1a65f73a4a - languageName: node - linkType: hard - -"acorn@npm:^7.1.1": - version: 7.4.1 - resolution: "acorn@npm:7.4.1" - bin: - acorn: bin/acorn - checksum: 2bde98c28c1be9a08e41e581179b776b43396c9486ce52b2b9848d73c53df38c516b7edba4bacdc84cabc9d7a3299f3b46ef240ae261c38dbf8ddd89f635bd32 + acorn: ^8.11.0 + checksum: f9883a3ad708e5f1a40c70c44d3afc993c45809b1e85e7513073e7da5d48a57b99cef864ee45641236842c00fed70aa2a0562320efdefe310e4cc2c9f94fe642 languageName: node linkType: hard -"acorn@npm:^8.2.4": - version: 8.4.1 - resolution: "acorn@npm:8.4.1" +"acorn@npm:^8.11.0, acorn@npm:^8.11.3": + version: 8.12.1 + resolution: "acorn@npm:8.12.1" bin: acorn: bin/acorn - checksum: 37720df0ecd48baf87506aff228aedc7e73379df9e9309f0b89aaff18bb3d08af892d47c0f19d5ef1723066ca74157b00adcfea9a62b21a493c91babb7d22bc3 + checksum: a76b5d5fb6a5d84eab12877841746ce39330d9ea9505e45bc074fa47edebca47802a3333eadfbf009b3bbfb67ab531a3f57f98851c693c8d2a70caf6e28f0e4f languageName: node linkType: hard @@ -2712,7 +2526,7 @@ __metadata: languageName: node linkType: hard -"ansi-escapes@npm:^4.2.1, ansi-escapes@npm:^4.3.0, ansi-escapes@npm:^4.3.1": +"ansi-escapes@npm:^4.3.0, ansi-escapes@npm:^4.3.1": version: 4.3.2 resolution: "ansi-escapes@npm:4.3.2" dependencies: @@ -2749,11 +2563,25 @@ __metadata: languageName: node linkType: hard -"ansi-styles@npm:^3.2.0, ansi-styles@npm:^3.2.1": - version: 3.2.1 - resolution: "ansi-styles@npm:3.2.1" - dependencies: - color-convert: ^1.9.0 +"ansi-regex@npm:^5.0.1": + version: 5.0.1 + resolution: "ansi-regex@npm:5.0.1" + checksum: c944e1229f022a2071f7477ea425964328c577d2c752083fe564ea0513b6d733c9ec65102f6d4d2b54cba0cb2dc969648b60d567abeff13dc95ecc0b9b97737d + languageName: node + linkType: hard + +"ansi-regex@npm:^6.0.1": + version: 6.0.1 + resolution: "ansi-regex@npm:6.0.1" + checksum: 5a4e4cd7092ce47ec4dd278c6da1f58bd2e7602920eddd635a2dc6f2cf4b84b4aadaeffa49b20489348756e1f93acd1c9d9337bcbf6c59fa37bfa8c57c1129ba + languageName: node + linkType: hard + +"ansi-styles@npm:^3.2.0, ansi-styles@npm:^3.2.1": + version: 3.2.1 + resolution: "ansi-styles@npm:3.2.1" + dependencies: + color-convert: ^1.9.0 checksum: 456e1c23d9277512a47718da75e7fbb0a5ee215ef893c2f76d6b3efe8fceabc861121b80b0362146f5f995d21a1633f05a19bbf6283ae66ac11dc3b9c0bed779 languageName: node linkType: hard @@ -2767,6 +2595,20 @@ __metadata: languageName: node linkType: hard +"ansi-styles@npm:^5.0.0": + version: 5.2.0 + resolution: "ansi-styles@npm:5.2.0" + checksum: 10b01465c7a49cbfcc055188e3b79b00db6283319bb53c0d20ca9ad114d1477d6f48c1d01a3ed9678f616566ec33f11116926dfaa162fa7be9ee7d5d2c2ea7e1 + languageName: node + linkType: hard + +"ansi-styles@npm:^6.1.0": + version: 6.2.1 + resolution: "ansi-styles@npm:6.2.1" + checksum: 285ec4b6dcee7482d47826ce5e7699ff5b8bd06ad75467cdcc9c326b2b47b6d61f00d875c62896ee89daa51150e987c6de6c236fa5ad82ad62f2857f690bdca4 + languageName: node + linkType: hard + "ansicolors@npm:~0.3.2": version: 0.3.2 resolution: "ansicolors@npm:0.3.2" @@ -2781,26 +2623,6 @@ __metadata: languageName: node linkType: hard -"anymatch@npm:^2.0.0": - version: 2.0.0 - resolution: "anymatch@npm:2.0.0" - dependencies: - micromatch: ^3.1.4 - normalize-path: ^2.1.1 - checksum: 9e495910cca364b47ee125d451bae1bde542ef78a56ac2a1e9fe835a671ed6f3b05a0fedafc8afc58d0f5214c604cddd5ca2d27fa48f234faffa2bf26ffa7fcf - languageName: node - linkType: hard - -"anymatch@npm:^3.0.3": - version: 3.1.2 - resolution: "anymatch@npm:3.1.2" - dependencies: - normalize-path: ^3.0.0 - picomatch: ^2.0.4 - checksum: cd6c08eb8d435741a9de6f5695c75cfba747a50772929ca588235535c6a57d37f2c2b34057768f015fd92abb88108b122ed2e399faac6ae30363a8ca0b6107d0 - languageName: node - linkType: hard - "aproba@npm:^1.0.3, aproba@npm:^1.1.1, aproba@npm:^1.1.2": version: 1.2.0 resolution: "aproba@npm:1.2.0" @@ -2832,15 +2654,6 @@ __metadata: languageName: node linkType: hard -"argparse@npm:^1.0.7": - version: 1.0.10 - resolution: "argparse@npm:1.0.10" - dependencies: - sprintf-js: ~1.0.2 - checksum: 435adaef5f6671c3ef1478a22be6fd54bdb99fdbbce8f5561b9cbbb05068ccce87b7df3b9f3322ff52a6ebb9cab2b427cbedac47a07611690a9beaa5184093e2 - languageName: node - linkType: hard - "argv-formatter@npm:~1.0.0": version: 1.0.0 resolution: "argv-formatter@npm:1.0.0" @@ -2857,27 +2670,6 @@ __metadata: languageName: node linkType: hard -"arr-diff@npm:^4.0.0": - version: 4.0.0 - resolution: "arr-diff@npm:4.0.0" - checksum: cbdff67cf52b9742d7ecfcf8614a1a458638679909fadcec2f91d18807dd5ba1cfa1e47984f52876063c8648146d385926e11bdac976a1db3f219bfde9668160 - languageName: node - linkType: hard - -"arr-flatten@npm:^1.1.0": - version: 1.1.0 - resolution: "arr-flatten@npm:1.1.0" - checksum: 564dc9c32cb20a1b5bc6eeea3b7a7271fcc5e9f1f3d7648b9db145b7abf68815562870267010f9f4976d788f3f79d2ccf176e94cee69af7da48943a71041ab57 - languageName: node - linkType: hard - -"arr-union@npm:^3.1.0": - version: 3.1.0 - resolution: "arr-union@npm:3.1.0" - checksum: 78f0f75c4778283023b723152bf12be65773ab3628e21493e1a1d3c316d472af9053d9b3dec4d814a130ad4f8ba45ae79b0f33d270a4ae0b0ff41eb743461aa8 - languageName: node - linkType: hard - "array-ify@npm:^1.0.0": version: 1.0.0 resolution: "array-ify@npm:1.0.0" @@ -2892,13 +2684,6 @@ __metadata: languageName: node linkType: hard -"array-unique@npm:^0.3.2": - version: 0.3.2 - resolution: "array-unique@npm:0.3.2" - checksum: 7139dbbcaf48325224593f2f7a400b123b310c53365b4a1d49916928082ad862117a1e6d411c926ec540e9408786bbd1cf90805609040568059156d1d09feb70 - languageName: node - linkType: hard - "arrify@npm:^1.0.1": version: 1.0.1 resolution: "arrify@npm:1.0.1" @@ -2929,10 +2714,17 @@ __metadata: languageName: node linkType: hard -"assign-symbols@npm:^1.0.0": - version: 1.0.0 - resolution: "assign-symbols@npm:1.0.0" - checksum: 893e9389a5dde0690102ad8d6146e50d747b6f45d51996d39b04abb7774755a4a9b53883295abab4dd455704b1e10c1fa560d617db5404bae118526916472bec +"assertion-error@npm:^1.1.0": + version: 1.1.0 + resolution: "assertion-error@npm:1.1.0" + checksum: 7bbc9fa2ff51618b0ea3c4ae13dbafe6dfb71b11c267aa93c749489355f55d0b844403bfc3dc8b9a98b0f21837fa2b59191c8a8f76e65303d06498fab4867f4c + languageName: node + linkType: hard + +"assertion-error@npm:^2.0.1": + version: 2.0.1 + resolution: "assertion-error@npm:2.0.1" + checksum: 43c77b3a61c686de860551cb905277e463dc7409c5c3ccebc552e84be43a4ea833cbc8b421858e33b24928523b2831ad4aeb2bb48bc85dfd532a9bc249d3e4c9 languageName: node linkType: hard @@ -2957,15 +2749,6 @@ __metadata: languageName: node linkType: hard -"atob@npm:^2.1.2": - version: 2.1.2 - resolution: "atob@npm:2.1.2" - bin: - atob: bin/atob.js - checksum: 597c0d1a740bb6522c98bea8fe362ae9420b4203af588d2bd470326d9abd4504264956b8355923d7019a21527ef5e6526a7b4455862ec5178ccd81e0ea289d5f - languageName: node - linkType: hard - "aws-sign2@npm:~0.7.0": version: 0.7.0 resolution: "aws-sign2@npm:0.7.0" @@ -2980,49 +2763,6 @@ __metadata: languageName: node linkType: hard -"babel-jest@npm:^26.6.3": - version: 26.6.3 - resolution: "babel-jest@npm:26.6.3" - dependencies: - "@jest/transform": ^26.6.2 - "@jest/types": ^26.6.2 - "@types/babel__core": ^7.1.7 - babel-plugin-istanbul: ^6.0.0 - babel-preset-jest: ^26.6.2 - chalk: ^4.0.0 - graceful-fs: ^4.2.4 - slash: ^3.0.0 - peerDependencies: - "@babel/core": ^7.0.0 - checksum: 89231d00e6b73e1dc6f009cb97a74edb1af4426f2cfa5d9b71684d1382526651820f8dd301857b9007a44c6b7d1fb77242b201bdea3cff98488b893e9c7d7182 - languageName: node - linkType: hard - -"babel-plugin-istanbul@npm:^6.0.0": - version: 6.0.0 - resolution: "babel-plugin-istanbul@npm:6.0.0" - dependencies: - "@babel/helper-plugin-utils": ^7.0.0 - "@istanbuljs/load-nyc-config": ^1.0.0 - "@istanbuljs/schema": ^0.1.2 - istanbul-lib-instrument: ^4.0.0 - test-exclude: ^6.0.0 - checksum: 0a185405d8209153054900049a69886af9dd107eb49341530e378b0babd31902f96a3eaa44dfc8a9c8ca5bcf43794a630cb70f8148d75e26c79cdfdc2255af7f - languageName: node - linkType: hard - -"babel-plugin-jest-hoist@npm:^26.6.2": - version: 26.6.2 - resolution: "babel-plugin-jest-hoist@npm:26.6.2" - dependencies: - "@babel/template": ^7.3.3 - "@babel/types": ^7.3.3 - "@types/babel__core": ^7.0.0 - "@types/babel__traverse": ^7.0.6 - checksum: e9c1de0fced1c8220590a0d6f37631f5b975964a8e876f0426fc7fd224f4c154b01f156e87401de47556b873bf4414eb2a9632fb56765f35fc07fe69e5b76d31 - languageName: node - linkType: hard - "babel-plugin-macros@npm:^2.6.1": version: 2.8.0 resolution: "babel-plugin-macros@npm:2.8.0" @@ -3034,40 +2774,6 @@ __metadata: languageName: node linkType: hard -"babel-preset-current-node-syntax@npm:^1.0.0": - version: 1.0.1 - resolution: "babel-preset-current-node-syntax@npm:1.0.1" - dependencies: - "@babel/plugin-syntax-async-generators": ^7.8.4 - "@babel/plugin-syntax-bigint": ^7.8.3 - "@babel/plugin-syntax-class-properties": ^7.8.3 - "@babel/plugin-syntax-import-meta": ^7.8.3 - "@babel/plugin-syntax-json-strings": ^7.8.3 - "@babel/plugin-syntax-logical-assignment-operators": ^7.8.3 - "@babel/plugin-syntax-nullish-coalescing-operator": ^7.8.3 - "@babel/plugin-syntax-numeric-separator": ^7.8.3 - "@babel/plugin-syntax-object-rest-spread": ^7.8.3 - "@babel/plugin-syntax-optional-catch-binding": ^7.8.3 - "@babel/plugin-syntax-optional-chaining": ^7.8.3 - "@babel/plugin-syntax-top-level-await": ^7.8.3 - peerDependencies: - "@babel/core": ^7.0.0 - checksum: bba41cc95aa205268fd6b1cc0baab8810b848ac1dac62c7f54e5eab0beed9ad8fe68bec3766137b68d2f6d318bf990876d65d94debaa0627bd63ed09d25e2504 - languageName: node - linkType: hard - -"babel-preset-jest@npm:^26.6.2": - version: 26.6.2 - resolution: "babel-preset-jest@npm:26.6.2" - dependencies: - babel-plugin-jest-hoist: ^26.6.2 - babel-preset-current-node-syntax: ^1.0.0 - peerDependencies: - "@babel/core": ^7.0.0 - checksum: 466ca17bba2638cadda5c25f3108dab1867b30e5d728366d0d2309be5d6555db8738a6cacd2c43284bee2ce7917e3285194c223a22b3d9817794f00c2775fdb2 - languageName: node - linkType: hard - "balanced-match@npm:^1.0.0": version: 1.0.2 resolution: "balanced-match@npm:1.0.2" @@ -3075,21 +2781,6 @@ __metadata: languageName: node linkType: hard -"base@npm:^0.11.1": - version: 0.11.2 - resolution: "base@npm:0.11.2" - dependencies: - cache-base: ^1.0.1 - class-utils: ^0.3.5 - component-emitter: ^1.2.1 - define-property: ^1.0.0 - isobject: ^3.0.1 - mixin-deep: ^1.2.0 - pascalcase: ^0.1.1 - checksum: 84e30392fd028df388b209cfb800e1ab4156b3cc499bd46f96ce6271fd17f10302ba6b87d4a56c6946cc77b6571502d45d73c7948a63a84f9ffd421f81232dd5 - languageName: node - linkType: hard - "bcrypt-pbkdf@npm:^1.0.0": version: 1.0.2 resolution: "bcrypt-pbkdf@npm:1.0.2" @@ -3180,21 +2871,12 @@ __metadata: languageName: node linkType: hard -"braces@npm:^2.3.1": - version: 2.3.2 - resolution: "braces@npm:2.3.2" +"brace-expansion@npm:^2.0.1": + version: 2.0.1 + resolution: "brace-expansion@npm:2.0.1" dependencies: - arr-flatten: ^1.1.0 - array-unique: ^0.3.2 - extend-shallow: ^2.0.1 - fill-range: ^4.0.0 - isobject: ^3.0.1 - repeat-element: ^1.1.2 - snapdragon: ^0.8.1 - snapdragon-node: ^2.0.1 - split-string: ^3.0.2 - to-regex: ^3.0.1 - checksum: 5f2d5ae262a39e516c7266f1316bc1caade4dcc26c5f8454f1d35064abbccd51cfea1c2cfa5a7402026991448a2b0ed0be1adce76ff1db2dfca7d3263f58d24d + balanced-match: ^1.0.0 + checksum: c4997879681c552122f3c46859a8e90a1d082ed4431514099d5b981e75c6e9c76838de700f9b680326a16cfdc05306b384a581aacd00d0bfe2109c560b2ac008 languageName: node linkType: hard @@ -3207,37 +2889,6 @@ __metadata: languageName: node linkType: hard -"browser-process-hrtime@npm:^1.0.0": - version: 1.0.0 - resolution: "browser-process-hrtime@npm:1.0.0" - checksum: 565847e5b0dc8c3762e545abb806ba886ed55de9b2c1479e382cf27e54f0af38ae3a1f81f3a98760403404419f65cbb20aff88d91cbee2b25e284bdebcc60a85 - languageName: node - linkType: hard - -"browserslist@npm:^4.16.6": - version: 4.16.6 - resolution: "browserslist@npm:4.16.6" - dependencies: - caniuse-lite: ^1.0.30001219 - colorette: ^1.2.2 - electron-to-chromium: ^1.3.723 - escalade: ^3.1.1 - node-releases: ^1.1.71 - bin: - browserslist: cli.js - checksum: ebb0ab279c5e61f882467f7ccd7d22c0edfcc01201eba06e85e835ca4d355e682f9aa3310bfa18c3a23bb244f0b8e498b3113dae3e9b0fa4908c5ffb4a26b3a2 - languageName: node - linkType: hard - -"bser@npm:2.1.1": - version: 2.1.1 - resolution: "bser@npm:2.1.1" - dependencies: - node-int64: ^0.4.0 - checksum: 302af195672988c21be9590b0b4fcacf9bd5bc116a32cbb5f613b21800fce8ee6aa1c57e76bbfa15a60269fe48885d062383e353fbaa821dbf06e92f72cc8b7d - languageName: node - linkType: hard - "btoa-lite@npm:^1.0.0": version: 1.0.0 resolution: "btoa-lite@npm:1.0.0" @@ -3280,6 +2931,13 @@ __metadata: languageName: node linkType: hard +"cac@npm:^6.7.14": + version: 6.7.14 + resolution: "cac@npm:6.7.14" + checksum: 4acb42f232bf5c460d90f8a84368d3e8bd57832aa6f0058c1277f7dadf302e7e459b95fe33124eac3736bb43215d036acbf74961e37595ef5534eef02886d6c3 + languageName: node + linkType: hard + "cacache@npm:^12.0.0, cacache@npm:^12.0.2, cacache@npm:^12.0.3": version: 12.0.4 resolution: "cacache@npm:12.0.4" @@ -3328,23 +2986,6 @@ __metadata: languageName: node linkType: hard -"cache-base@npm:^1.0.1": - version: 1.0.1 - resolution: "cache-base@npm:1.0.1" - dependencies: - collection-visit: ^1.0.0 - component-emitter: ^1.2.1 - get-value: ^2.0.6 - has-value: ^1.0.0 - isobject: ^3.0.1 - set-value: ^2.0.0 - to-object-path: ^0.3.0 - union-value: ^1.0.0 - unset-value: ^1.0.0 - checksum: 3f362ba824453d4043df82655314503e591a09a1bcb909ffdfcc74deb0fe4e7c58e40de31293153b07aeb5545610a1d81bf49b67cff5d3dd084d389e5a4d4849 - languageName: node - linkType: hard - "call-bind@npm:^1.0.0, call-bind@npm:^1.0.2": version: 1.0.2 resolution: "call-bind@npm:1.0.2" @@ -3394,29 +3035,6 @@ __metadata: languageName: node linkType: hard -"camelcase@npm:^6.0.0": - version: 6.2.0 - resolution: "camelcase@npm:6.2.0" - checksum: 654700600a80cb1f06ab85b3e2fe80333f94b441884d40826becdac549774f51b0317c6dcb6040416df26241fa9481eb58d0c1659d4d6d5627dcd4259be61beb - languageName: node - linkType: hard - -"caniuse-lite@npm:^1.0.30001219": - version: 1.0.30001239 - resolution: "caniuse-lite@npm:1.0.30001239" - checksum: 82e3e838dddeed62039d439dc98d070b3fdb989fa20204a27e7005a071ab6d09edd77e48718a5d73da41c862efba842cdb9de892ca3c9e993f7bcb8277786129 - languageName: node - linkType: hard - -"capture-exit@npm:^2.0.0": - version: 2.0.0 - resolution: "capture-exit@npm:2.0.0" - dependencies: - rsvp: ^4.8.4 - checksum: 9dd81108a087a90430e5abbad45a195123647718cf19faa58b76db519a1d79975ab13685e55de16dbdee1da3f8e4c522e7b6dc7aa7614c65dc58ad27588f7887 - languageName: node - linkType: hard - "capture-stack-trace@npm:^1.0.0": version: 1.0.1 resolution: "capture-stack-trace@npm:1.0.1" @@ -3443,6 +3061,34 @@ __metadata: languageName: node linkType: hard +"chai@npm:^4.3.10": + version: 4.5.0 + resolution: "chai@npm:4.5.0" + dependencies: + assertion-error: ^1.1.0 + check-error: ^1.0.3 + deep-eql: ^4.1.3 + get-func-name: ^2.0.2 + loupe: ^2.3.6 + pathval: ^1.1.1 + type-detect: ^4.1.0 + checksum: beac599c09576bba5dc2e36eea58bac5c0a073dbd454790f163aa7e881c9b53fd0065ae4defd73db57b87047160cb6e05fc9cede2e0033028b36b3bd8d5c61d1 + languageName: node + linkType: hard + +"chai@npm:^5.1.1": + version: 5.1.1 + resolution: "chai@npm:5.1.1" + dependencies: + assertion-error: ^2.0.1 + check-error: ^2.1.1 + deep-eql: ^5.0.1 + loupe: ^3.1.0 + pathval: ^2.0.0 + checksum: d39de67090f4edd3f7053c47a0efc6c9a51d0747a7d6b6634c4861b26562ce768ec2443964fd865ed3b93a074468117cc6e6fe7d53fc130abbb168ba16abc55a + languageName: node + linkType: hard + "chalk@npm:^2.0.0, chalk@npm:^2.0.1, chalk@npm:^2.3.2": version: 2.4.2 resolution: "chalk@npm:2.4.2" @@ -3474,10 +3120,19 @@ __metadata: languageName: node linkType: hard -"char-regex@npm:^1.0.2": - version: 1.0.2 - resolution: "char-regex@npm:1.0.2" - checksum: 7db46ed45d9925985a9d212ed6fd5846debb7b969fe40548a3b806e65064480e895e303f8635d57b53f2f3725986d0a9cb10c227a31221d1b039e13a2211faaf +"check-error@npm:^1.0.3": + version: 1.0.3 + resolution: "check-error@npm:1.0.3" + dependencies: + get-func-name: ^2.0.2 + checksum: d3fe4e014edffa665c263fcabfe2bd0621adb323af99445f3de4c360af6b697dd5af417cdc693c1903a46890af7a67bf848e5c45106e9eaf471eeff8ee0db154 + languageName: node + linkType: hard + +"check-error@npm:^2.1.1": + version: 2.1.1 + resolution: "check-error@npm:2.1.1" + checksum: 3b6c3f0fd6f7e1820d8260dce3e1720c607a5cbb38fbbe4618fb085b9e7cb2c3521fb24c94da0fedcc4054a8eeb62ec5cc4d0237c52dc210f1c9a9fcdcf307cb languageName: node linkType: hard @@ -3527,25 +3182,6 @@ __metadata: languageName: node linkType: hard -"cjs-module-lexer@npm:^0.6.0": - version: 0.6.0 - resolution: "cjs-module-lexer@npm:0.6.0" - checksum: 333671db7fb916d9c569a52fba714a86051881c69a4df784a07cb1dfec2a1796c7bcd7ba46ff9035cccb6e7aaff612a83f6505437c01a5ae14c4ebc6c36f762c - languageName: node - linkType: hard - -"class-utils@npm:^0.3.5": - version: 0.3.6 - resolution: "class-utils@npm:0.3.6" - dependencies: - arr-union: ^3.1.0 - define-property: ^0.2.5 - isobject: ^3.0.0 - static-extend: ^0.1.1 - checksum: 6411679ad4d2bde81b62ad721d4771d108d5d8ef32805d10ebfa6f1d6bdcfd5cb6dfea5232b85221f079e42691c36cf2db05a5e76b87ba8f6deb37a2c23a4a41 - languageName: node - linkType: hard - "clean-stack@npm:^2.0.0": version: 2.2.0 resolution: "clean-stack@npm:2.2.0" @@ -3648,17 +3284,6 @@ __metadata: languageName: node linkType: hard -"cliui@npm:^6.0.0": - version: 6.0.0 - resolution: "cliui@npm:6.0.0" - dependencies: - string-width: ^4.2.0 - strip-ansi: ^6.0.0 - wrap-ansi: ^6.2.0 - checksum: e59d0642946dd300b1b002e69f43b32d55e682c84f6f2073705ffe77477b400aeabd4f4795467db0771a21d35ee070071f6a31925e4f83b52a7fe1f5c8e6e860 - languageName: node - linkType: hard - "cliui@npm:^7.0.2": version: 7.0.4 resolution: "cliui@npm:7.0.4" @@ -3696,13 +3321,6 @@ __metadata: languageName: node linkType: hard -"co@npm:^4.6.0": - version: 4.6.0 - resolution: "co@npm:4.6.0" - checksum: 3f22dbbe0f413ff72831d087d853a81d1137093e12e8ec90b4da2bde5c67bc6bff11b6adeb38ca9fa8704b8cd40dba294948bda3c271bccb74669972b840cc1a - languageName: node - linkType: hard - "code-point-at@npm:^1.0.0": version: 1.1.0 resolution: "code-point-at@npm:1.1.0" @@ -3710,23 +3328,6 @@ __metadata: languageName: node linkType: hard -"collect-v8-coverage@npm:^1.0.0": - version: 1.0.1 - resolution: "collect-v8-coverage@npm:1.0.1" - checksum: 2fc4c79300d6e22169cb0f85e00565079c3939679b7021179db73419f773454166654c7b82372b080c780a9643de4002ec5bb909be55e7018aba3e8cb4f8b01f - languageName: node - linkType: hard - -"collection-visit@npm:^1.0.0": - version: 1.0.0 - resolution: "collection-visit@npm:1.0.0" - dependencies: - map-visit: ^1.0.0 - object-visit: ^1.0.0 - checksum: c73cb1316c29f4b175198dba417f759e6b50ca3f312e42f4f451c2a38cc8e3e292e1fec60d9ccbada35fbc22805a1d897d3bc37fd88fbfe8ab509e4ede88c386 - languageName: node - linkType: hard - "color-convert@npm:^1.9.0": version: 1.9.3 resolution: "color-convert@npm:1.9.3" @@ -3759,13 +3360,6 @@ __metadata: languageName: node linkType: hard -"colorette@npm:^1.2.2": - version: 1.2.2 - resolution: "colorette@npm:1.2.2" - checksum: e240f0c94b8d9f34b52bd17b50fc13a3b74f9e662edeaa2b0c65e06ec6b1fc6367fb42b834ec5a1d819d68b74a3d850f3bd3e284f9e614d6c4ffa122f83c6ec5 - languageName: node - linkType: hard - "colorette@npm:^1.4.0": version: 1.4.0 resolution: "colorette@npm:1.4.0" @@ -3797,7 +3391,7 @@ __metadata: languageName: node linkType: hard -"combined-stream@npm:^1.0.6, combined-stream@npm:^1.0.8, combined-stream@npm:~1.0.6": +"combined-stream@npm:^1.0.6, combined-stream@npm:~1.0.6": version: 1.0.8 resolution: "combined-stream@npm:1.0.8" dependencies: @@ -3830,13 +3424,6 @@ __metadata: languageName: node linkType: hard -"component-emitter@npm:^1.2.1": - version: 1.3.0 - resolution: "component-emitter@npm:1.3.0" - checksum: fc4edbf1014f0aed88dcec33ca02d2938734e428423f640d8a3f94975615b8e8c506c19e29b93949637c5a281353e75fa79e299e0d57732f42a9fe346cb2cad6 - languageName: node - linkType: hard - "compute-scroll-into-view@npm:1.0.14": version: 1.0.14 resolution: "compute-scroll-into-view@npm:1.0.14" @@ -3863,6 +3450,13 @@ __metadata: languageName: node linkType: hard +"confbox@npm:^0.1.7": + version: 0.1.7 + resolution: "confbox@npm:0.1.7" + checksum: 00f90ee6d928fd40e863bff7b9c6727fb06aee5a82ca9da5b481dea69578aa079d48f1719c08612da00a4d4573a027a0985fc339e59d5bcbf4d84389e9ecfe35 + languageName: node + linkType: hard + "config-chain@npm:^1.1.12": version: 1.1.13 resolution: "config-chain@npm:1.1.13" @@ -3951,7 +3545,7 @@ __metadata: languageName: node linkType: hard -"convert-source-map@npm:^1.4.0, convert-source-map@npm:^1.5.0, convert-source-map@npm:^1.6.0, convert-source-map@npm:^1.7.0": +"convert-source-map@npm:^1.5.0": version: 1.8.0 resolution: "convert-source-map@npm:1.8.0" dependencies: @@ -3974,13 +3568,6 @@ __metadata: languageName: node linkType: hard -"copy-descriptor@npm:^0.1.0": - version: 0.1.1 - resolution: "copy-descriptor@npm:0.1.1" - checksum: c052cf571ff6b69b604607a3d41f03cb742af9472026013e690ab33e1bef5e64930c53a5f881dc79c7e4f5ccc3cea0ebb9f420315d3690989329088976b68ee9 - languageName: node - linkType: hard - "copy-to-clipboard@npm:3.3.1": version: 3.3.1 resolution: "copy-to-clipboard@npm:3.3.1" @@ -4090,29 +3677,6 @@ __metadata: languageName: node linkType: hard -"cssom@npm:^0.4.4": - version: 0.4.4 - resolution: "cssom@npm:0.4.4" - checksum: db81cac44219b20d76b06f51d2614cead098478d1323b2df5e4b5d25bdc3f16d8474c3d45ae28f594a0933691c774fc2102837df66ccf375e280b0728ad53c5f - languageName: node - linkType: hard - -"cssom@npm:~0.3.6": - version: 0.3.8 - resolution: "cssom@npm:0.3.8" - checksum: b7fb8b13aa2014a6c168c7644baa2f4d447a28b624544c87c8ef905bbec64ef247b3d167270f87e043acc6df30ea0f80e0da545a45187ff4006eb2c24988dfae - languageName: node - linkType: hard - -"cssstyle@npm:^2.3.0": - version: 2.3.0 - resolution: "cssstyle@npm:2.3.0" - dependencies: - cssom: ~0.3.6 - checksum: a778180d2f5eef44742b7083997a0ad6e59eee016724ceac4d6229e48842d3c5ebbb55dc02c555f793bdc486254f6eef8d2049c1815e8fc74514e3eb827d49ec - languageName: node - linkType: hard - "csstype@npm:^3.0.2, csstype@npm:^3.0.6": version: 3.0.9 resolution: "csstype@npm:3.0.9" @@ -4136,17 +3700,6 @@ __metadata: languageName: node linkType: hard -"data-urls@npm:^2.0.0": - version: 2.0.0 - resolution: "data-urls@npm:2.0.0" - dependencies: - abab: ^2.0.3 - whatwg-mimetype: ^2.3.0 - whatwg-url: ^8.0.0 - checksum: 42239927c6a202e2d02b7f41c94ca53e3cea036898b97b8bf6120ed1b25e0dd11c48ec7aa5c84cf807c2cb9f3a637df9fb50f3ca25a52863186a4ac46254726b - languageName: node - linkType: hard - "dateformat@npm:^3.0.0": version: 3.0.3 resolution: "dateformat@npm:3.0.3" @@ -4163,7 +3716,7 @@ __metadata: languageName: node linkType: hard -"debug@npm:4, debug@npm:^4.0.0, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1": +"debug@npm:4, debug@npm:^4.0.0, debug@npm:^4.1.0, debug@npm:^4.3.1": version: 4.3.2 resolution: "debug@npm:4.3.2" dependencies: @@ -4175,15 +3728,6 @@ __metadata: languageName: node linkType: hard -"debug@npm:^2.2.0, debug@npm:^2.3.3": - version: 2.6.9 - resolution: "debug@npm:2.6.9" - dependencies: - ms: 2.0.0 - checksum: 559f44f98cf25e2ee489022aec173afbff746564cb108c4493becb95bc3c017a67bdaa25a0ff64801fd32c35051d00af0e56cc7f762ae2c3bc089496e5a1c31b - languageName: node - linkType: hard - "debug@npm:^3.1.0": version: 3.2.7 resolution: "debug@npm:3.2.7" @@ -4193,6 +3737,18 @@ __metadata: languageName: node linkType: hard +"debug@npm:^4.1.1, debug@npm:^4.3.4, debug@npm:^4.3.5": + version: 4.3.6 + resolution: "debug@npm:4.3.6" + dependencies: + ms: 2.1.2 + peerDependenciesMeta: + supports-color: + optional: true + checksum: 2c434a797e0240e1fd2256f2a2ecad8366f4856800fb78dda411de255cb49871ef64c5c50780eedb92cfb4d875f1c19f69450b6b831781165d96c4adc1c62245 + languageName: node + linkType: hard + "debuglog@npm:*, debuglog@npm:^1.0.1": version: 1.0.1 resolution: "debuglog@npm:1.0.1" @@ -4217,13 +3773,6 @@ __metadata: languageName: node linkType: hard -"decimal.js@npm:^10.2.1": - version: 10.3.0 - resolution: "decimal.js@npm:10.3.0" - checksum: 1e4e48bf3f60a0ddff7572505f50f635a20c7baf3ba9fd983d2053a1558d315b0e1b7a0aff391ab3d45b92c6d31f18ba0e6e7019f036ee2d526d566e869a6120 - languageName: node - linkType: hard - "decode-uri-component@npm:^0.2.0": version: 0.2.0 resolution: "decode-uri-component@npm:0.2.0" @@ -4231,24 +3780,26 @@ __metadata: languageName: node linkType: hard -"deep-extend@npm:^0.6.0": - version: 0.6.0 - resolution: "deep-extend@npm:0.6.0" - checksum: 856d7f52db152c19fc5a70439ea938461cfb9338a632496fe370050dc73d3291cd76fc6713f604a5c126612dee9cac0f6da1d4b88ba4b0caa4f7214345879b89 +"deep-eql@npm:^4.1.3": + version: 4.1.4 + resolution: "deep-eql@npm:4.1.4" + dependencies: + type-detect: ^4.0.0 + checksum: e8e95ec1883303fcba87addf4ea034808bf3998485e4507fc47249d7920bebbd14de2b6aa1e1f1cd1e68e739fbbab7524eeb20b1e8246cdf89861dacafca8c22 languageName: node linkType: hard -"deep-is@npm:~0.1.3": - version: 0.1.3 - resolution: "deep-is@npm:0.1.3" - checksum: 3de58f86af4dec86c8be531a5abaf2e6d8ea98fa2f1d81a3a778d0d8df920ee282043a6ef05bfb4eb699c8551df9ac1b808d4dc71d54cc40ab1efa5ce8792943 +"deep-eql@npm:^5.0.1": + version: 5.0.2 + resolution: "deep-eql@npm:5.0.2" + checksum: ff5bb7da3c0e133dbf9527840ba77539b23d0aa972c624a70947244986f71f1be565991ec330c865cc8f5e7e3f4661b921acfb7989a5e1b531ba550b3cdad542 languageName: node linkType: hard -"deepmerge@npm:^4.2.2": - version: 4.2.2 - resolution: "deepmerge@npm:4.2.2" - checksum: 85abf8e0045ee280996e7d2396979c877ef0741e413b716e42441110e0a83ac08098b2a49cea035510060bf667c0eae3189b2a52349f5fa4b000c211041637b1 +"deep-extend@npm:^0.6.0": + version: 0.6.0 + resolution: "deep-extend@npm:0.6.0" + checksum: 856d7f52db152c19fc5a70439ea938461cfb9338a632496fe370050dc73d3291cd76fc6713f604a5c126612dee9cac0f6da1d4b88ba4b0caa4f7214345879b89 languageName: node linkType: hard @@ -4270,51 +3821,23 @@ __metadata: languageName: node linkType: hard -"define-property@npm:^0.2.5": - version: 0.2.5 - resolution: "define-property@npm:0.2.5" +"del@npm:^6.0.0": + version: 6.0.0 + resolution: "del@npm:6.0.0" dependencies: - is-descriptor: ^0.1.0 - checksum: 6fed0540727ca8ea1f5eacddf24bf9e8c212c07f638ef0cd743caa69647f0421cd72a17b466d4c378c5c0f232ad756fa92b90f8e1d975ddfec388dc6306e3583 + globby: ^11.0.1 + graceful-fs: ^4.2.4 + is-glob: ^4.0.1 + is-path-cwd: ^2.2.0 + is-path-inside: ^3.0.2 + p-map: ^4.0.0 + rimraf: ^3.0.2 + slash: ^3.0.0 + checksum: da72707c9221154db6d6b05890ac1ae771d1b4ffc2759a6b8fca58e8a8289e07d22b68f68666a6c540dd99f1021b29ef77918dcaf4dbfeb9f99f49bd7fcc6fb5 languageName: node linkType: hard -"define-property@npm:^1.0.0": - version: 1.0.0 - resolution: "define-property@npm:1.0.0" - dependencies: - is-descriptor: ^1.0.0 - checksum: 9034f8f6f3128945374349262e4f97b53e9582f9e3435bedb284c5210c45a98b355d40a42a570766add34a604d97b6ff0773bfd122f891a289009a1b82cc0eee - languageName: node - linkType: hard - -"define-property@npm:^2.0.2": - version: 2.0.2 - resolution: "define-property@npm:2.0.2" - dependencies: - is-descriptor: ^1.0.2 - isobject: ^3.0.1 - checksum: 00c7ec53b5040507016736922a9678b3247bc85e0ea0429e47d6ca6a993890f9dc338fb19d5bf6f8c0ca29016a68aa7e7da5c35d4ed8b3646347d86a3b2b4b01 - languageName: node - linkType: hard - -"del@npm:^6.0.0": - version: 6.0.0 - resolution: "del@npm:6.0.0" - dependencies: - globby: ^11.0.1 - graceful-fs: ^4.2.4 - is-glob: ^4.0.1 - is-path-cwd: ^2.2.0 - is-path-inside: ^3.0.2 - p-map: ^4.0.0 - rimraf: ^3.0.2 - slash: ^3.0.0 - checksum: da72707c9221154db6d6b05890ac1ae771d1b4ffc2759a6b8fca58e8a8289e07d22b68f68666a6c540dd99f1021b29ef77918dcaf4dbfeb9f99f49bd7fcc6fb5 - languageName: node - linkType: hard - -"delayed-stream@npm:~1.0.0": +"delayed-stream@npm:~1.0.0": version: 1.0.0 resolution: "delayed-stream@npm:1.0.0" checksum: d9dfb0a7c79fd308fada9db2cf29d1ff22047ceb50dd78f7e3c173567909b438f418259cb76a6d9c9f513e88ef41d3a14154f618741ec8368c3efeff616d0c9f @@ -4356,13 +3879,6 @@ __metadata: languageName: node linkType: hard -"detect-newline@npm:^3.0.0": - version: 3.1.0 - resolution: "detect-newline@npm:3.1.0" - checksum: 6d3f67971da681403c1b1920eb3994c0718a4e70d32ae4cfc5369f3e30b4746f075a3986cb5a5c762fac36597d8f8a33b6c98bd5ce822589773313f29ce4544f - languageName: node - linkType: hard - "detect-node-es@npm:^1.1.0": version: 1.1.0 resolution: "detect-node-es@npm:1.1.0" @@ -4380,10 +3896,10 @@ __metadata: languageName: node linkType: hard -"diff-sequences@npm:^26.6.2": - version: 26.6.2 - resolution: "diff-sequences@npm:26.6.2" - checksum: dd1eb6e52f0a200228b836876a69c90690003b8991cf7d9264d6e6063acde8fe852084b6a196f2a13f169d309e30c24c457e9c8db617aed186c665efb50af1d8 +"diff-sequences@npm:^29.6.3": + version: 29.6.3 + resolution: "diff-sequences@npm:29.6.3" + checksum: a6bc839ef1c0df53bfd00e8f34d6c201eba29d09fe1f31fa3a04d5ed2912c6306d5d1bc450c7b2fa7421536afff7f4190e8a67cb67109d9d1037a8688190b486 languageName: node linkType: hard @@ -4403,15 +3919,6 @@ __metadata: languageName: node linkType: hard -"domexception@npm:^2.0.1": - version: 2.0.1 - resolution: "domexception@npm:2.0.1" - dependencies: - webidl-conversions: ^5.0.0 - checksum: bde9f50cb568a29b0c24ab50500ff23e9a2160394f04ae5fd9db91c4303a4f892fd9a42b07a0d52cdae11d8a348b4e907dd4343176c6f5a74f8be6ffde60bd95 - languageName: node - linkType: hard - "dot-prop@npm:^4.2.1": version: 4.2.1 resolution: "dot-prop@npm:4.2.1" @@ -4465,6 +3972,13 @@ __metadata: languageName: node linkType: hard +"eastasianwidth@npm:^0.2.0": + version: 0.2.0 + resolution: "eastasianwidth@npm:0.2.0" + checksum: 436391b865bec7cfdea39615241f36773dcf7fb804e1abd623d57c549d54ee1cb3bea0b1e9c1ae588722d6f9e14cff0de8af343fa650d69402657f09f0531c4a + languageName: node + linkType: hard + "ecc-jsbn@npm:~0.1.1": version: 0.1.2 resolution: "ecc-jsbn@npm:0.1.2" @@ -4482,20 +3996,6 @@ __metadata: languageName: node linkType: hard -"electron-to-chromium@npm:^1.3.723": - version: 1.3.757 - resolution: "electron-to-chromium@npm:1.3.757" - checksum: a84e524f9db5d4994408144fc2518bbf59d707c3590eb04950188625b6b9ca3774ff69db7a9babbce4313d437f1e08db098f5c3022f491ccb24198c5096552e3 - languageName: node - linkType: hard - -"emittery@npm:^0.7.1": - version: 0.7.2 - resolution: "emittery@npm:0.7.2" - checksum: 34acfef51922a1b73d75cb658bf43ecb279633b263ffa831fb87697abbbd3aa4241ef15d204eeaa6a3c62656bd7563de7145c416a2bb18c4805e54ce6d7cdac6 - languageName: node - linkType: hard - "emoji-regex@npm:^7.0.1": version: 7.0.3 resolution: "emoji-regex@npm:7.0.3" @@ -4510,6 +4010,13 @@ __metadata: languageName: node linkType: hard +"emoji-regex@npm:^9.2.2": + version: 9.2.2 + resolution: "emoji-regex@npm:9.2.2" + checksum: f3029ec432745ecb7cf5dcea1bc9ad3d70714ef20fcae1dc87a422d3be68913c42ed3adbb86765e7aa6c723c3bcd5833b5f4e22ed06d5e5cb74e0f628d4fc95b + languageName: node + linkType: hard + "encoding@npm:^0.1.11, encoding@npm:^0.1.12": version: 0.1.13 resolution: "encoding@npm:0.1.13" @@ -4639,6 +4146,86 @@ __metadata: languageName: node linkType: hard +"esbuild@npm:^0.21.3": + version: 0.21.5 + resolution: "esbuild@npm:0.21.5" + dependencies: + "@esbuild/aix-ppc64": 0.21.5 + "@esbuild/android-arm": 0.21.5 + "@esbuild/android-arm64": 0.21.5 + "@esbuild/android-x64": 0.21.5 + "@esbuild/darwin-arm64": 0.21.5 + "@esbuild/darwin-x64": 0.21.5 + "@esbuild/freebsd-arm64": 0.21.5 + "@esbuild/freebsd-x64": 0.21.5 + "@esbuild/linux-arm": 0.21.5 + "@esbuild/linux-arm64": 0.21.5 + "@esbuild/linux-ia32": 0.21.5 + "@esbuild/linux-loong64": 0.21.5 + "@esbuild/linux-mips64el": 0.21.5 + "@esbuild/linux-ppc64": 0.21.5 + "@esbuild/linux-riscv64": 0.21.5 + "@esbuild/linux-s390x": 0.21.5 + "@esbuild/linux-x64": 0.21.5 + "@esbuild/netbsd-x64": 0.21.5 + "@esbuild/openbsd-x64": 0.21.5 + "@esbuild/sunos-x64": 0.21.5 + "@esbuild/win32-arm64": 0.21.5 + "@esbuild/win32-ia32": 0.21.5 + "@esbuild/win32-x64": 0.21.5 + dependenciesMeta: + "@esbuild/aix-ppc64": + optional: true + "@esbuild/android-arm": + optional: true + "@esbuild/android-arm64": + optional: true + "@esbuild/android-x64": + optional: true + "@esbuild/darwin-arm64": + optional: true + "@esbuild/darwin-x64": + optional: true + "@esbuild/freebsd-arm64": + optional: true + "@esbuild/freebsd-x64": + optional: true + "@esbuild/linux-arm": + optional: true + "@esbuild/linux-arm64": + optional: true + "@esbuild/linux-ia32": + optional: true + "@esbuild/linux-loong64": + optional: true + "@esbuild/linux-mips64el": + optional: true + "@esbuild/linux-ppc64": + optional: true + "@esbuild/linux-riscv64": + optional: true + "@esbuild/linux-s390x": + optional: true + "@esbuild/linux-x64": + optional: true + "@esbuild/netbsd-x64": + optional: true + "@esbuild/openbsd-x64": + optional: true + "@esbuild/sunos-x64": + optional: true + "@esbuild/win32-arm64": + optional: true + "@esbuild/win32-ia32": + optional: true + "@esbuild/win32-x64": + optional: true + bin: + esbuild: bin/esbuild + checksum: 6cd8aa57930324f3a0329e83cfdec92996463f9d0bb448e82166d61b1bce4bea39d1a3b948210ebed6f8f1f1eb5e34a6b9db1f00478efa290fc8dd82f7a1c653 + languageName: node + linkType: hard + "escalade@npm:^3.1.1": version: 3.1.1 resolution: "escalade@npm:3.1.1" @@ -4653,13 +4240,6 @@ __metadata: languageName: node linkType: hard -"escape-string-regexp@npm:^2.0.0": - version: 2.0.0 - resolution: "escape-string-regexp@npm:2.0.0" - checksum: f3500f264e864aef0c336a2efb3adb1cee9ba1abbe15d69f0d9dab423607cac91aa009b23011b4e6cfd6d6b79888873e21dad1882047aa2e1555dd307428c51d - languageName: node - linkType: hard - "escape-string-regexp@npm:^4.0.0": version: 4.0.0 resolution: "escape-string-regexp@npm:4.0.0" @@ -4667,26 +4247,7 @@ __metadata: languageName: node linkType: hard -"escodegen@npm:^2.0.0": - version: 2.0.0 - resolution: "escodegen@npm:2.0.0" - dependencies: - esprima: ^4.0.1 - estraverse: ^5.2.0 - esutils: ^2.0.2 - optionator: ^0.8.1 - source-map: ~0.6.1 - dependenciesMeta: - source-map: - optional: true - bin: - escodegen: bin/escodegen.js - esgenerate: bin/esgenerate.js - checksum: c49da32cd173570f2076f0d52b80761b2a876dfea2046bfc8c5dc84f76b70105e35b2fed10fe0a8487df14674d46bc30245f3a27e8838601c3c85e68f693f363 - languageName: node - linkType: hard - -"esprima@npm:^4.0.0, esprima@npm:^4.0.1, esprima@npm:~4.0.0": +"esprima@npm:~4.0.0": version: 4.0.1 resolution: "esprima@npm:4.0.1" bin: @@ -4696,24 +4257,12 @@ __metadata: languageName: node linkType: hard -"estraverse@npm:^5.2.0": - version: 5.2.0 - resolution: "estraverse@npm:5.2.0" - checksum: 7dc1b027aebf937bab10c3254d9d73ed21672d7382518c9ddb9dc45560cb2f4e6548cc8ff1a07b7f431e94bd0fb0bf5da75b602e2473f966fea141c4c31b31d6 - languageName: node - linkType: hard - -"esutils@npm:^2.0.2": - version: 2.0.3 - resolution: "esutils@npm:2.0.3" - checksum: 590b04533177f8f6f0f352b3ac7da6c1c1e3d8375d8973972fba9c94558ca168685fd38319c3c6f4c37ba256df7494a7f15d8e761df1655af8a8f0027d988f8f - languageName: node - linkType: hard - -"exec-sh@npm:^0.3.2": - version: 0.3.6 - resolution: "exec-sh@npm:0.3.6" - checksum: 0205697efea87a52309a1ef8cf5339817c1ade8963aa92435f1754317aa242e03b7f3dbfa367c2c5313d239554f86a7ed9df10b459a674f24150b7577d64033c +"estree-walker@npm:^3.0.3": + version: 3.0.3 + resolution: "estree-walker@npm:3.0.3" + dependencies: + "@types/estree": ^1.0.0 + checksum: ca4e8779e3d940cd11236ee115a66fff51f3993bdc576de153a0310d0d259777bdfadf68bbe4dc67e7c417e33461552f414a5a1f5d25edd8a074964dbbce4ef8 languageName: node linkType: hard @@ -4799,58 +4348,20 @@ __metadata: languageName: node linkType: hard -"exit@npm:^0.1.2": - version: 0.1.2 - resolution: "exit@npm:0.1.2" - checksum: 64022f65df300964bb588a503ecbc582a2d2d4db12f777b64495e840274ec17a71099e5cdc06dc970aba9795d8bbb9ccb6ba016844fdbd6b74541f4fdb25f201 - languageName: node - linkType: hard - -"expand-brackets@npm:^2.1.4": - version: 2.1.4 - resolution: "expand-brackets@npm:2.1.4" - dependencies: - debug: ^2.3.3 - define-property: ^0.2.5 - extend-shallow: ^2.0.1 - posix-character-classes: ^0.1.0 - regex-not: ^1.0.0 - snapdragon: ^0.8.1 - to-regex: ^3.0.1 - checksum: 9aadab00ff10da89d3bdbcb92fc48f152977e8f986b227955b17601cb7eb65a63c9b35811d78ce8ff534fc20faab759a043f0f1c71b904f5d37a35a074ff6fb0 - languageName: node - linkType: hard - -"expect@npm:^26.6.2": - version: 26.6.2 - resolution: "expect@npm:26.6.2" - dependencies: - "@jest/types": ^26.6.2 - ansi-styles: ^4.0.0 - jest-get-type: ^26.3.0 - jest-matcher-utils: ^26.6.2 - jest-message-util: ^26.6.2 - jest-regex-util: ^26.0.0 - checksum: a4ec4cbafac8b05eb02a8af5f086dede84a3a701abbfdafeadca24a1d286bd07035b32b2864a6ff012a733009beb0b96c10469b40832c5ee0d2dd0bb6b50a5b0 - languageName: node - linkType: hard - -"extend-shallow@npm:^2.0.1": - version: 2.0.1 - resolution: "extend-shallow@npm:2.0.1" - dependencies: - is-extendable: ^0.1.0 - checksum: 03dbbba8b9711409442428f4e0f80a92f86862a4d2559fa9629dd7080e85cacc6311c84ebea8b22b5ff40d3ef6475bbf534f098b77b7624448276708e60fa248 - languageName: node - linkType: hard - -"extend-shallow@npm:^3.0.0, extend-shallow@npm:^3.0.2": - version: 3.0.2 - resolution: "extend-shallow@npm:3.0.2" +"execa@npm:^8.0.1": + version: 8.0.1 + resolution: "execa@npm:8.0.1" dependencies: - assign-symbols: ^1.0.0 - is-extendable: ^1.0.1 - checksum: 5301c5070b98bef2413524046c3478cdce1a6bc112b44af2d4bdbfca59daabad49eb04c14e55375963db45f4ef6f43530d71a2c1c862a72d08eb165c77a13767 + cross-spawn: ^7.0.3 + get-stream: ^8.0.1 + human-signals: ^5.0.0 + is-stream: ^3.0.0 + merge-stream: ^2.0.0 + npm-run-path: ^5.1.0 + onetime: ^6.0.0 + signal-exit: ^4.1.0 + strip-final-newline: ^3.0.0 + checksum: 24a96e0fe0e0e170b0d8672859ac3621fab1523c86b8bf721f7f95a6798130bce8d57ea080c411c03ad44e775e48a27d1848003ae253c0eecc2cc8abd83c11ad languageName: node linkType: hard @@ -4861,22 +4372,6 @@ __metadata: languageName: node linkType: hard -"extglob@npm:^2.0.4": - version: 2.0.4 - resolution: "extglob@npm:2.0.4" - dependencies: - array-unique: ^0.3.2 - define-property: ^1.0.0 - expand-brackets: ^2.1.4 - extend-shallow: ^2.0.1 - fragment-cache: ^0.2.1 - regex-not: ^1.0.0 - snapdragon: ^0.8.1 - to-regex: ^3.0.1 - checksum: ce23be772ff536976902aa0193a6d167abad229ca40fb4c1de2fd71c0116eeae168a02f6508d41382eb918fcbafb66dba61d498754051964a167c98210c62b28 - languageName: node - linkType: hard - "extsprintf@npm:1.3.0": version: 1.3.0 resolution: "extsprintf@npm:1.3.0" @@ -4919,13 +4414,6 @@ __metadata: languageName: node linkType: hard -"fast-levenshtein@npm:~2.0.6": - version: 2.0.6 - resolution: "fast-levenshtein@npm:2.0.6" - checksum: a2d03af3088b0397633e007fb3010ecfa4f91cae2116d2385653c59396a1b31467641afa672a79e6f82218518670dc144128378124e711e35dbf90bc82846f22 - languageName: node - linkType: hard - "fastq@npm:^1.6.0": version: 1.11.0 resolution: "fastq@npm:1.11.0" @@ -4935,15 +4423,6 @@ __metadata: languageName: node linkType: hard -"fb-watchman@npm:^2.0.0": - version: 2.0.1 - resolution: "fb-watchman@npm:2.0.1" - dependencies: - bser: 2.1.1 - checksum: f9ec24592a45026a6a7f54034a4b5efb010cac7d7fbc234fe9ae5d725c13efa9be0ded1ae348473fc42af4e28eea53f8b993857c0c49e6d721f7c9eb5b21217f - languageName: node - linkType: hard - "figgy-pudding@npm:^3.4.1, figgy-pudding@npm:^3.5.1": version: 3.5.2 resolution: "figgy-pudding@npm:3.5.2" @@ -4969,18 +4448,6 @@ __metadata: languageName: node linkType: hard -"fill-range@npm:^4.0.0": - version: 4.0.0 - resolution: "fill-range@npm:4.0.0" - dependencies: - extend-shallow: ^2.0.1 - is-number: ^3.0.0 - repeat-string: ^1.6.1 - to-regex-range: ^2.1.0 - checksum: 4a1491ee292f3d4a3d073c34cff0d7ba00dad8ad0de12d0a973c5aefb3f3f54971508cbc4b1c4923f6278b692b7695f9561086571fbee9f24cf3435ab92e8d50 - languageName: node - linkType: hard - "fill-range@npm:^7.0.1": version: 7.0.1 resolution: "fill-range@npm:7.0.1" @@ -5029,7 +4496,7 @@ __metadata: languageName: node linkType: hard -"find-up@npm:^4.0.0, find-up@npm:^4.1.0": +"find-up@npm:^4.1.0": version: 4.1.0 resolution: "find-up@npm:4.1.0" dependencies: @@ -5067,10 +4534,13 @@ __metadata: languageName: node linkType: hard -"for-in@npm:^1.0.2": - version: 1.0.2 - resolution: "for-in@npm:1.0.2" - checksum: e8d7280a654216e9951103e407d1655c2dfa67178ad468cb0b35701df6b594809ccdc66671b3478660d0e6c4bca9d038b1f1fc032716a184c19d67319550c554 +"foreground-child@npm:^3.1.0": + version: 3.3.0 + resolution: "foreground-child@npm:3.3.0" + dependencies: + cross-spawn: ^7.0.0 + signal-exit: ^4.0.1 + checksum: fe90d89c8a4bf0de528e6b63b89f5b0050042072dce91b48657c7cdd96a0cb882f51c50647ce18e94658c9f225d9cd360209f50a6d161da9ce8d267d87fa95dd languageName: node linkType: hard @@ -5081,17 +4551,6 @@ __metadata: languageName: node linkType: hard -"form-data@npm:^3.0.0": - version: 3.0.1 - resolution: "form-data@npm:3.0.1" - dependencies: - asynckit: ^0.4.0 - combined-stream: ^1.0.8 - mime-types: ^2.1.12 - checksum: 6574ff4d2d845c47ba288151a6e0573767eefdee9da358be199e0f0b66aa5c454e7d62ed5e0daef6f84167ba1e9596e064f36f206488e460ef449ef7b653cdfc - languageName: node - linkType: hard - "form-data@npm:~2.3.2": version: 2.3.3 resolution: "form-data@npm:2.3.3" @@ -5103,15 +4562,6 @@ __metadata: languageName: node linkType: hard -"fragment-cache@npm:^0.2.1": - version: 0.2.1 - resolution: "fragment-cache@npm:0.2.1" - dependencies: - map-cache: ^0.2.2 - checksum: f88983f4bf54f9a8847d15e54518535aecbfa9b7f0242604ca5cd027d88ea1469212b5dbb579233e769d0e2f4e6764bc6bbac44731fb78b9964942165c7c3048 - languageName: node - linkType: hard - "framer-motion@npm:4.1.17": version: 4.1.17 resolution: "framer-motion@npm:4.1.17" @@ -5238,21 +4688,21 @@ __metadata: languageName: node linkType: hard -fsevents@^2.1.2: - version: 2.3.2 - resolution: "fsevents@npm:2.3.2" +"fsevents@patch:fsevents@~2.3.2#builtin, fsevents@patch:fsevents@~2.3.3#builtin": + version: 2.3.3 + resolution: "fsevents@patch:fsevents@npm%3A2.3.3#builtin::version=2.3.3&hash=11e9ea" dependencies: node-gyp: latest - checksum: a1883f4ca12b8b403ec528f1a4cb312b0877eacd24719da535cabea78d6fdd78530e3538bdba590a1c0f6c295128f964a89182621885296353a44dcfa4f9db53 + checksum: b4a5cd7915a22722983f0b08607c681a651a788d1109670f899f3421e42e9540c31e293e3e8019cc4571f370598d7a8baa02ce60ccabee830bcfa6b1189ba92c languageName: node linkType: hard -"fsevents@patch:fsevents@^2.1.2#builtin": - version: 2.3.2 - resolution: "fsevents@patch:fsevents@npm%3A2.3.2#builtin::version=2.3.2&hash=11e9ea" +"fsevents@~2.3.2, fsevents@~2.3.3": + version: 2.3.3 + resolution: "fsevents@npm:2.3.3" dependencies: node-gyp: latest - checksum: 7b25d9251aefe433d508a0eb614217f0495ae05a9e8af15f7dbf9998e08c4e675acd1cf32361e0fcf71d917d9e8c4b76301fdc72a1ec1105a3ea0994f5e15a8d + checksum: f22d0a854bca5dc894a7ee1aae8966933fa88ea4520603f266b9ea8dd0a1211578d418a20bdd7c016601b473276982d0926b24f68eb1f75790356336c6b74d1a languageName: node linkType: hard @@ -5286,13 +4736,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"gensync@npm:^1.0.0-beta.2": - version: 1.0.0-beta.2 - resolution: "gensync@npm:1.0.0-beta.2" - checksum: d523437689c97b3aba9c5cdeca4677d5fff9a29d620db693fea40d852bad63563110f16979d0170248439dbcd2ecee0780fb2533d3f0519f019081aa10767c60 - languageName: node - linkType: hard - "gentle-fs@npm:^2.3.0, gentle-fs@npm:^2.3.1": version: 2.3.1 resolution: "gentle-fs@npm:2.3.1" @@ -5326,6 +4769,13 @@ fsevents@^2.1.2: languageName: node linkType: hard +"get-func-name@npm:^2.0.1, get-func-name@npm:^2.0.2": + version: 2.0.2 + resolution: "get-func-name@npm:2.0.2" + checksum: c6aef9962cd9287d2b589cbec6ce1373203a5694573471450e03d5e5149671bf8593d3e24629af2cc91e19fd5e7168f666a8d2d7c80f7ac8a35b3d82c9215f38 + languageName: node + linkType: hard + "get-intrinsic@npm:^1.0.2, get-intrinsic@npm:^1.1.1": version: 1.1.1 resolution: "get-intrinsic@npm:1.1.1" @@ -5351,13 +4801,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"get-package-type@npm:^0.1.0": - version: 0.1.0 - resolution: "get-package-type@npm:0.1.0" - checksum: a5b8beaf68d8bcdb507e23b3d2b6458e54b9061e84e2a8a94b846c8e1d794beb47fdcbda895da16ae59225bb3ea1608c0719e4f986e8a987ec2f228eaf00d78b - languageName: node - linkType: hard - "get-stream@npm:^3.0.0": version: 3.0.0 resolution: "get-stream@npm:3.0.0" @@ -5390,10 +4833,10 @@ fsevents@^2.1.2: languageName: node linkType: hard -"get-value@npm:^2.0.3, get-value@npm:^2.0.6": - version: 2.0.6 - resolution: "get-value@npm:2.0.6" - checksum: f08da3262718e0f2617703cc99ecd0ddb4cca1541b0022118f898824c99157778e044c802160688dc184b17e5a894d11c5771aaadc376c68cdf66bdbc25ff865 +"get-stream@npm:^8.0.1": + version: 8.0.1 + resolution: "get-stream@npm:8.0.1" + checksum: e255dca1765688ade4aed345e7eb74649ade83476a1e7a4badbf795c1592a410a3df08b4e60cb6c03dd047a440be8b09722f701034d55d24720ea1b375d402b2 languageName: node linkType: hard @@ -5429,7 +4872,23 @@ fsevents@^2.1.2: languageName: node linkType: hard -"glob@npm:^7.1.1, glob@npm:^7.1.2, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.1.6, glob@npm:^7.1.7": +"glob@npm:^10.4.1": + version: 10.4.5 + resolution: "glob@npm:10.4.5" + dependencies: + foreground-child: ^3.1.0 + jackspeak: ^3.1.2 + minimatch: ^9.0.4 + minipass: ^7.1.2 + package-json-from-dist: ^1.0.0 + path-scurry: ^1.11.1 + bin: + glob: dist/esm/bin.mjs + checksum: 3127af1259a4b2ec6c8481752ab00f96e31d5bb66643dca440eb1c471cb19dbace027b1bcf44de206c8aaa57d5451feceeeb8ad15e80913598166c610fece93a + languageName: node + linkType: hard + +"glob@npm:^7.1.1, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.1.6, glob@npm:^7.1.7": version: 7.1.7 resolution: "glob@npm:7.1.7" dependencies: @@ -5452,13 +4911,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"globals@npm:^11.1.0": - version: 11.12.0 - resolution: "globals@npm:11.12.0" - checksum: 2563d3306a7e646fd9ec484b0ca29bf8847d9dc6ebbe86026f11e31bda04f420f6536c2decbd4cb96350379801d2cce352ab373c40be8b024324775b31f882f9 - languageName: node - linkType: hard - "globby@npm:^10.0.0": version: 10.0.2 resolution: "globby@npm:10.0.2" @@ -5515,13 +4967,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"growly@npm:^1.3.0": - version: 1.3.0 - resolution: "growly@npm:1.3.0" - checksum: c87f7e8c785cac6ee60719c9d62f7d790a85dafa13d62c4667664e3a21ee771f5fd19df3f374d2f7bdf297b8f687cf70e19bb066aba4832e6f6caa5190812578 - languageName: node - linkType: hard - "handlebars@npm:^4.7.6": version: 4.7.7 resolution: "handlebars@npm:4.7.7" @@ -5599,45 +5044,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"has-value@npm:^0.3.1": - version: 0.3.1 - resolution: "has-value@npm:0.3.1" - dependencies: - get-value: ^2.0.3 - has-values: ^0.1.4 - isobject: ^2.0.0 - checksum: d78fab4523ad531894a84d840e00ac8041e5958e44a418c56517ac62436b7c827154ab79748b4b7f6aa1358cd7d74f888be52744115c56e6acedc7cb5523e213 - languageName: node - linkType: hard - -"has-value@npm:^1.0.0": - version: 1.0.0 - resolution: "has-value@npm:1.0.0" - dependencies: - get-value: ^2.0.6 - has-values: ^1.0.0 - isobject: ^3.0.0 - checksum: e05422bce9a522e79332cba48ec7c01fb4c4b04b0d030417fdc9e2ea53508479d7efcb3184d4f7a5cf5070a99043836f18962bab25c728362d2abc29ec18b574 - languageName: node - linkType: hard - -"has-values@npm:^0.1.4": - version: 0.1.4 - resolution: "has-values@npm:0.1.4" - checksum: df7ac830e460d399b181203c12cacaeaa1dcf0febceeed78fcfa0a6354879aa6c64c6b1ec049ce1c850a9b545d7a85fecc71741a5b743e0ad5dbd3e9928adff6 - languageName: node - linkType: hard - -"has-values@npm:^1.0.0": - version: 1.0.0 - resolution: "has-values@npm:1.0.0" - dependencies: - is-number: ^3.0.0 - kind-of: ^4.0.0 - checksum: b69c45d5132bc29d54a9a28e5ee53a35ab4109f3335a035c37e3511fe94234e848169e2e7d583f4fa889a92646f3018287361d47d9f636c0e2880c0856c79a58 - languageName: node - linkType: hard - "has@npm:^1.0.3": version: 1.0.3 resolution: "has@npm:1.0.3" @@ -5686,15 +5092,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"html-encoding-sniffer@npm:^2.0.1": - version: 2.0.1 - resolution: "html-encoding-sniffer@npm:2.0.1" - dependencies: - whatwg-encoding: ^1.0.5 - checksum: 6f49e83a2e9225ba92c4586701cd21c0cf26c4c1f1a5f330a911c90a792649cc47b5bb3e67e78ba23dfa6b5b9c70af34231f44729b173d52b4ba305467b39042 - languageName: node - linkType: hard - "html-escaper@npm:^2.0.0": version: 2.0.2 resolution: "html-escaper@npm:2.0.2" @@ -5802,6 +5199,13 @@ fsevents@^2.1.2: languageName: node linkType: hard +"human-signals@npm:^5.0.0": + version: 5.0.0 + resolution: "human-signals@npm:5.0.0" + checksum: f8a4348760bc85bc2b673f3118afb3b8ae0b7c130b6049051bb8ca823e1ba6f110355aa17e82523645808ff3c96171c06fd620a1314a4bcdc3ec4fa00e544cd7 + languageName: node + linkType: hard + "humanize-ms@npm:^1.2.1": version: 1.2.1 resolution: "humanize-ms@npm:1.2.1" @@ -5820,15 +5224,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"iconv-lite@npm:0.4.24": - version: 0.4.24 - resolution: "iconv-lite@npm:0.4.24" - dependencies: - safer-buffer: ">= 2.1.2 < 3" - checksum: a9b9521066ee81853a8561e92bd7240bc5d3b7d5ef7da807a475e7858b0246e318b6af518c30a20a8749ef5eafeaa9631079446e4e696c7b60f468b34dc2cbfc - languageName: node - linkType: hard - "iconv-lite@npm:^0.6.2": version: 0.6.3 resolution: "iconv-lite@npm:0.6.3" @@ -5894,18 +5289,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"import-local@npm:^3.0.2": - version: 3.0.2 - resolution: "import-local@npm:3.0.2" - dependencies: - pkg-dir: ^4.2.0 - resolve-cwd: ^3.0.0 - bin: - import-local-fixture: fixtures/cli.js - checksum: 9ba5f1697b8b11aae8dab7964bf1c2409ed5dc51dd03fe8698fb32df04a3a683adbe9d95e6bb963a384373ec8d055c508f0c534b45aac1de4a3b4b653e6cfe82 - languageName: node - linkType: hard - "imurmurhash@npm:*, imurmurhash@npm:^0.1.4": version: 0.1.4 resolution: "imurmurhash@npm:0.1.4" @@ -6047,24 +5430,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"is-accessor-descriptor@npm:^0.1.6": - version: 0.1.6 - resolution: "is-accessor-descriptor@npm:0.1.6" - dependencies: - kind-of: ^3.0.2 - checksum: 7a7fca21855f7f5e56706d34ce089bc95b78db4ee0d11f554b642ac06b508452aaf26ffdf5dc0680c99f66e2043d78ab659760c417af60fd067ae0f09717d3cc - languageName: node - linkType: hard - -"is-accessor-descriptor@npm:^1.0.0": - version: 1.0.0 - resolution: "is-accessor-descriptor@npm:1.0.0" - dependencies: - kind-of: ^6.0.0 - checksum: 3973215c2eaea260a33d8ab227f56dc1f9bf085f68a1a27e3108378917482369992b907a57ae05a72a16591af174cf5206efca3faf608fb36eaca675f2841e13 - languageName: node - linkType: hard - "is-arrayish@npm:^0.2.1": version: 0.2.1 resolution: "is-arrayish@npm:0.2.1" @@ -6088,13 +5453,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"is-buffer@npm:^1.1.5": - version: 1.1.6 - resolution: "is-buffer@npm:1.1.6" - checksum: 336ec78f00e88efe6ff6f1aa08d06aadb942a6cd320e5f538ac00648378fb964743b3737c88ce7ce8741c067e4a3b78f596b83ee1a3c72dc2885ea0b03dc84f2 - languageName: node - linkType: hard - "is-callable@npm:^1.1.4, is-callable@npm:^1.2.3": version: 1.2.3 resolution: "is-callable@npm:1.2.3" @@ -6113,17 +5471,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"is-ci@npm:^2.0.0": - version: 2.0.0 - resolution: "is-ci@npm:2.0.0" - dependencies: - ci-info: ^2.0.0 - bin: - is-ci: bin.js - checksum: 09083018edafd63221ff0506356f13c0aaf4b75a6435ea648bc67d07ddab199b2d5b9297de43d0821df1a14c18cd9f1edd1775a0166abfe37390843e79137213 - languageName: node - linkType: hard - "is-cidr@npm:^3.0.0": version: 3.1.1 resolution: "is-cidr@npm:3.1.1" @@ -6151,24 +5498,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"is-data-descriptor@npm:^0.1.4": - version: 0.1.4 - resolution: "is-data-descriptor@npm:0.1.4" - dependencies: - kind-of: ^3.0.2 - checksum: 51db89bb4676b871a67f371f665dcf9c3fabb84e26b411beff42fb3b5505cdc0e33eeb1aeaa9c0400eb6d372a3b241c23a6953b5902397e5ff212cfbfd9edcda - languageName: node - linkType: hard - -"is-data-descriptor@npm:^1.0.0": - version: 1.0.0 - resolution: "is-data-descriptor@npm:1.0.0" - dependencies: - kind-of: ^6.0.0 - checksum: 0297518899d51c498987b1cc64fde72b0300f93a09669b6653a4d56a9cfb40c85b5988e52e36b10e88d17ad13b1927932f4631ddc02f10fa1d44a1e3150d31cd - languageName: node - linkType: hard - "is-date-object@npm:^1.0.1": version: 1.0.4 resolution: "is-date-object@npm:1.0.4" @@ -6176,53 +5505,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"is-descriptor@npm:^0.1.0": - version: 0.1.6 - resolution: "is-descriptor@npm:0.1.6" - dependencies: - is-accessor-descriptor: ^0.1.6 - is-data-descriptor: ^0.1.4 - kind-of: ^5.0.0 - checksum: cab6979fb6412eefca8e9bc3b59d239b2ce4916d6025f184eb6c3031b5d381cb536630606a4635f0f43197164a090bb500c762f713f17846c1e34dd9ae6ef607 - languageName: node - linkType: hard - -"is-descriptor@npm:^1.0.0, is-descriptor@npm:^1.0.2": - version: 1.0.2 - resolution: "is-descriptor@npm:1.0.2" - dependencies: - is-accessor-descriptor: ^1.0.0 - is-data-descriptor: ^1.0.0 - kind-of: ^6.0.2 - checksum: be8004010eac165fa9a61513a51881c4bac324d060916d44bfee2be03edf500d5994591707147f1f4c93ae611f97de27debdd8325702158fcd0cf8fcca3fbe06 - languageName: node - linkType: hard - -"is-docker@npm:^2.0.0": - version: 2.2.1 - resolution: "is-docker@npm:2.2.1" - bin: - is-docker: cli.js - checksum: 7dbd6eecfe91984ef28ee80b13bd20ce4b27c1645542ae714a3976c881f7d166a3dcddb8b4f67c22285c4505f0b0e585a3b12feb4518b17f86b8a15b9f55c718 - languageName: node - linkType: hard - -"is-extendable@npm:^0.1.0, is-extendable@npm:^0.1.1": - version: 0.1.1 - resolution: "is-extendable@npm:0.1.1" - checksum: 9d051e68c38b09c242564b62d98cdcc0ba5b20421340c95d5ae023955dcaf31ae1d614e1eb7a18a6358d4c47ea77d811623e1777a0589df9ac5928c370edd5e5 - languageName: node - linkType: hard - -"is-extendable@npm:^1.0.1": - version: 1.0.1 - resolution: "is-extendable@npm:1.0.1" - dependencies: - is-plain-object: ^2.0.4 - checksum: 2bf711afe60cc99f46699015c444db8f06c9c5553dd2b26fd8cb663fcec4bf00df1c11d02e28a8cc97b8efb49315c3c3fcf6ce1ceb09341af8e4fcccde516dd7 - languageName: node - linkType: hard - "is-extglob@npm:^2.1.1": version: 2.1.1 resolution: "is-extglob@npm:2.1.1" @@ -6253,13 +5535,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"is-generator-fn@npm:^2.0.0": - version: 2.1.0 - resolution: "is-generator-fn@npm:2.1.0" - checksum: 9639f8167925388f07d0ae190f1ebfe026e90db954480e6d28e776cf94040a00ea9158e1ac816bf77676e539bcbcf9cb4e997a599d80171e4bc52df76965e453 - languageName: node - linkType: hard - "is-glob@npm:^4.0.1": version: 4.0.1 resolution: "is-glob@npm:4.0.1" @@ -6307,15 +5582,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"is-number@npm:^3.0.0": - version: 3.0.0 - resolution: "is-number@npm:3.0.0" - dependencies: - kind-of: ^3.0.2 - checksum: ae03986dedb1e414cfef5402b24c9be5e9171bc77fdaa189f468144e801b23d8abaa9bf52fb882295558a042fbb0192fb3f80759a010073884eff9ee3f196962 - languageName: node - linkType: hard - "is-number@npm:^7.0.0": version: 7.0.0 resolution: "is-number@npm:7.0.0" @@ -6367,15 +5633,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"is-plain-object@npm:^2.0.3, is-plain-object@npm:^2.0.4": - version: 2.0.4 - resolution: "is-plain-object@npm:2.0.4" - dependencies: - isobject: ^3.0.1 - checksum: 2f3232267366f3cdf13d53deda1b282ba7959f28ccb2ee8e0ca168f859f0d7126c27c846ebb7c2b9821a09bbda2e1835fd4020337ba666cf3c03dc256aab7ba1 - languageName: node - linkType: hard - "is-plain-object@npm:^5.0.0": version: 5.0.0 resolution: "is-plain-object@npm:5.0.0" @@ -6383,13 +5640,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"is-potential-custom-element-name@npm:^1.0.1": - version: 1.0.1 - resolution: "is-potential-custom-element-name@npm:1.0.1" - checksum: 25520ce8de393b87c8a2ce4d410c424d16baab0d5a43cbf76af148940725e489dbf3541a43371bcc0881fcb186d9a4ed18b774a11ac8743dd064303cea8de50d - languageName: node - linkType: hard - "is-redirect@npm:^1.0.0": version: 1.0.0 resolution: "is-redirect@npm:1.0.0" @@ -6435,633 +5685,162 @@ fsevents@^2.1.2: languageName: node linkType: hard -"is-string@npm:^1.0.5, is-string@npm:^1.0.6": - version: 1.0.6 - resolution: "is-string@npm:1.0.6" - checksum: 5eb4860eafb9bfd4d9adf56bd530ca0e0cabade776df1e9394e5ca9376bdd6fa0a99879c2b0c3a517076fa31ac739821c2956be6d30ee1458f50ca24a4962478 - languageName: node - linkType: hard - -"is-symbol@npm:^1.0.2, is-symbol@npm:^1.0.3": - version: 1.0.4 - resolution: "is-symbol@npm:1.0.4" - dependencies: - has-symbols: ^1.0.2 - checksum: 2794e0b9c3d6ca760b2f46c0132917746ce95fe034556e0e4da341e59f6171c9b733d2f0942475ecdee2e5b6d80a6e021eba200076fefcc79348ac48d56ad4b5 - languageName: node - linkType: hard - -"is-text-path@npm:^1.0.1": - version: 1.0.1 - resolution: "is-text-path@npm:1.0.1" - dependencies: - text-extensions: ^1.0.0 - checksum: 7c46df2e802e4ec57ee3c75664a32008625c4fbccf9e0a4bb7713f84983075b4e1386711c3764d3a67a1fc54a4b3a27ebdb0350bdeb80aaddd56166bf4f5654e - languageName: node - linkType: hard - -"is-typedarray@npm:^1.0.0, is-typedarray@npm:~1.0.0": - version: 1.0.0 - resolution: "is-typedarray@npm:1.0.0" - checksum: 4e21156e7360a5916eded35c5938adf6278299a8055640864eebb251e4351cd605beccddf9af27477e19f753d453412fe0c21379bb54b55cfdf5add263076959 - languageName: node - linkType: hard - -"is-unicode-supported@npm:^0.1.0": - version: 0.1.0 - resolution: "is-unicode-supported@npm:0.1.0" - checksum: 00ca6f5581b81d55c567d259175cb1af08c60ae95f6aad69adadfdfbe098c60ef5617ad440770d821f1710773987c0b13ed6dd375cd9ab1bd7b7dd8f9a42625c - languageName: node - linkType: hard - -"is-windows@npm:^1.0.2": - version: 1.0.2 - resolution: "is-windows@npm:1.0.2" - checksum: dd1ed8339a28c68fb52f05931c832488dafc90063e53b97a69ead219a5584d7f3e6e564731c2f983962ff5403afeb05365d88ce9af34c8dae76a14911020d73a - languageName: node - linkType: hard - -"is-wsl@npm:^2.2.0": - version: 2.2.0 - resolution: "is-wsl@npm:2.2.0" - dependencies: - is-docker: ^2.0.0 - checksum: 3dcc4073d4682b9f9a4c59411bb73716cfff88eae58a6bd0af302b8ee016263a5150302bb296bc81a4cb0d3b66c86d82b3ee0146ed15f6558022bc847a2549a2 - languageName: node - linkType: hard - -"isarray@npm:0.0.1": - version: 0.0.1 - resolution: "isarray@npm:0.0.1" - checksum: daeda3c23646200b0b464b7a9030d10008d7701fc6b7a1b45cafe42b4f4d2dde20835b56f19a49e04bb218245b7f7a2bcc6d0f696cff3711e4eddaa2031c611f - languageName: node - linkType: hard - -"isarray@npm:1.0.0, isarray@npm:~1.0.0": - version: 1.0.0 - resolution: "isarray@npm:1.0.0" - checksum: b0ff31a290e783f7b3fb73f2951ee7fc2946dc197b05f73577dc77f87dc3be2e0f66007bedf069123d4e5c4b691e7c89a241f6ca06f0c0f4765cdac5aa4b4047 - languageName: node - linkType: hard - -"isexe@npm:^2.0.0": - version: 2.0.0 - resolution: "isexe@npm:2.0.0" - checksum: 7b437980bb77881a146fba85cfbdf01edc2b148673e9c2722a1e49661fea73adf524430a80fdbfb8ce9f60d43224e682c657c45030482bd39e0c488fc29b4afe - languageName: node - linkType: hard - -"isobject@npm:^2.0.0": - version: 2.1.0 - resolution: "isobject@npm:2.1.0" - dependencies: - isarray: 1.0.0 - checksum: 2e7d7dd8d5874d1c32a0380f8b5d8d84aee782e0137e5978f75e27402ee2d49ca194baf7acd43d176f4fe0d925090b8b336461741674f402558e954c8c4ee886 - languageName: node - linkType: hard - -"isobject@npm:^3.0.0, isobject@npm:^3.0.1": - version: 3.0.1 - resolution: "isobject@npm:3.0.1" - checksum: b537a9ccdd8d40ec552fe7ff5db3731f1deb77581adf9beb8ae812f8d08acfa0e74b193159ac50fb01084d7ade06d114077f984e21b8340531241bf85be9a0ab - languageName: node - linkType: hard - -"isstream@npm:~0.1.2": - version: 0.1.2 - resolution: "isstream@npm:0.1.2" - checksum: 8e6e5c4cf1823562db7035d2e7bac388412060fe9bc6727eca8c608def5aa57709165c51c2e68a2fce6ff0b64d79489501b84715060c5e8a477b87b6cbcd1eca - languageName: node - linkType: hard - -"issue-parser@npm:^5.0.0": - version: 5.0.0 - resolution: "issue-parser@npm:5.0.0" - dependencies: - lodash.capitalize: ^4.2.1 - lodash.escaperegexp: ^4.1.2 - lodash.isplainobject: ^4.0.6 - lodash.isstring: ^4.0.1 - lodash.uniqby: ^4.7.0 - checksum: 608024370f2b15512647cd5b9048a19e45b79f0f071f1b3d7f020819e6a6c7549d4c6cd9a9120bb66619ff9d7d8b226707a6ba40d7842250c8081957ed188bb8 - languageName: node - linkType: hard - -"issue-parser@npm:^6.0.0": - version: 6.0.0 - resolution: "issue-parser@npm:6.0.0" - dependencies: - lodash.capitalize: ^4.2.1 - lodash.escaperegexp: ^4.1.2 - lodash.isplainobject: ^4.0.6 - lodash.isstring: ^4.0.1 - lodash.uniqby: ^4.7.0 - checksum: 8632e2da46b251e36f849d23fde4c850eb79c187cd57b49a45524ba30bb9ceb42b71f67863e8049e0f83fb7e89d620c478d7cfd9a9425533e60001ae926e9f7d - languageName: node - linkType: hard - -"istanbul-lib-coverage@npm:^3.0.0": +"is-stream@npm:^3.0.0": version: 3.0.0 - resolution: "istanbul-lib-coverage@npm:3.0.0" - checksum: c8effc09ae00fc7974a10ee245fa2c3eceda840e8f46245b80bddc7101b84cf2ac0bcce514aa47e338de610cad06af1b6e3c21f679aebf03e398651898ca9aad - languageName: node - linkType: hard - -"istanbul-lib-instrument@npm:^4.0.0, istanbul-lib-instrument@npm:^4.0.3": - version: 4.0.3 - resolution: "istanbul-lib-instrument@npm:4.0.3" - dependencies: - "@babel/core": ^7.7.5 - "@istanbuljs/schema": ^0.1.2 - istanbul-lib-coverage: ^3.0.0 - semver: ^6.3.0 - checksum: 478e43e75d3a0e8af3902dd11a8606b665dda005e4aaf6d1919c6ed570a557dc253553a56a26466df02e5703e722fba6a37f4f847cc6d1d0e8314df024d1d76c - languageName: node - linkType: hard - -"istanbul-lib-report@npm:^3.0.0": - version: 3.0.0 - resolution: "istanbul-lib-report@npm:3.0.0" - dependencies: - istanbul-lib-coverage: ^3.0.0 - make-dir: ^3.0.0 - supports-color: ^7.1.0 - checksum: aada59dfceae04005f684031a627f1e9730634262a5426837a9b60c49530d626dc727be5930e7ae6303ce0d4357fb8331eda0935b8c6b999df5d376bdc825991 - languageName: node - linkType: hard - -"istanbul-lib-source-maps@npm:^4.0.0": - version: 4.0.0 - resolution: "istanbul-lib-source-maps@npm:4.0.0" - dependencies: - debug: ^4.1.1 - istanbul-lib-coverage: ^3.0.0 - source-map: ^0.6.1 - checksum: 018b5feeb4a3eb32675abb0129e88e48009de6c0b1c1c7006e8dadd5b15e54f4c09cbbeba0febf8bd7bacd25a514abc61c91e4340479d859a0c185448f692099 - languageName: node - linkType: hard - -"istanbul-reports@npm:^3.0.2": - version: 3.0.2 - resolution: "istanbul-reports@npm:3.0.2" - dependencies: - html-escaper: ^2.0.0 - istanbul-lib-report: ^3.0.0 - checksum: d4ed416e13fe0fc709566439086660ddab58dce9d6a655053c5315715aac8225bc7e9fcae553c2c3d8cc66cd4b59498a50b92d543a4820c5be0e5ee30178cdf0 - languageName: node - linkType: hard - -"java-properties@npm:^1.0.0": - version: 1.0.2 - resolution: "java-properties@npm:1.0.2" - checksum: 6712ee3e5de7744dbe9f43efc4cecad30d43366ad40b419b6da262a60414f8ae49b1fea38d9e70e7ba81799c9d59b00467b4f7794a81d5096fd7ffae1764f59d - languageName: node - linkType: hard - -"jest-changed-files@npm:^26.6.2": - version: 26.6.2 - resolution: "jest-changed-files@npm:26.6.2" - dependencies: - "@jest/types": ^26.6.2 - execa: ^4.0.0 - throat: ^5.0.0 - checksum: b15a1c524b32b16694aaa4b2823266b89b54dddbb7c37ed0fdea605ea79ee784ce1003dc6163aa041d47453dfa32e21a4ade56b464d58459cdaa8e2291c83d12 - languageName: node - linkType: hard - -"jest-cli@npm:^26.6.3": - version: 26.6.3 - resolution: "jest-cli@npm:26.6.3" - dependencies: - "@jest/core": ^26.6.3 - "@jest/test-result": ^26.6.2 - "@jest/types": ^26.6.2 - chalk: ^4.0.0 - exit: ^0.1.2 - graceful-fs: ^4.2.4 - import-local: ^3.0.2 - is-ci: ^2.0.0 - jest-config: ^26.6.3 - jest-util: ^26.6.2 - jest-validate: ^26.6.2 - prompts: ^2.0.1 - yargs: ^15.4.1 - bin: - jest: bin/jest.js - checksum: 2d32e7e4b2802d230625cb041630abe25a8764fcea6a8ecf46a5ad68f23bd1498e5297bc43d1ba714832d433de6676d2bd3ac93d0fecec230665fe8421f23863 - languageName: node - linkType: hard - -"jest-config@npm:^26.6.3": - version: 26.6.3 - resolution: "jest-config@npm:26.6.3" - dependencies: - "@babel/core": ^7.1.0 - "@jest/test-sequencer": ^26.6.3 - "@jest/types": ^26.6.2 - babel-jest: ^26.6.3 - chalk: ^4.0.0 - deepmerge: ^4.2.2 - glob: ^7.1.1 - graceful-fs: ^4.2.4 - jest-environment-jsdom: ^26.6.2 - jest-environment-node: ^26.6.2 - jest-get-type: ^26.3.0 - jest-jasmine2: ^26.6.3 - jest-regex-util: ^26.0.0 - jest-resolve: ^26.6.2 - jest-util: ^26.6.2 - jest-validate: ^26.6.2 - micromatch: ^4.0.2 - pretty-format: ^26.6.2 - peerDependencies: - ts-node: ">=9.0.0" - peerDependenciesMeta: - ts-node: - optional: true - checksum: 974e7690bab003cc204906802107b6a38a32bcb2033bf738bdecc6d8ee5b536b4ca11d65c8a511ad0e730ec631651d666787ffcaf86365869dcceacb06d4e875 - languageName: node - linkType: hard - -"jest-diff@npm:^26.6.2": - version: 26.6.2 - resolution: "jest-diff@npm:26.6.2" - dependencies: - chalk: ^4.0.0 - diff-sequences: ^26.6.2 - jest-get-type: ^26.3.0 - pretty-format: ^26.6.2 - checksum: 05d0f1bdba147a026eab4121a73a69ee3df21aec59ecd34659d665ee0663e518636650b435d248974ab5aceb345de9bfcc035efd01df723fe788756a07c8d046 - languageName: node - linkType: hard - -"jest-docblock@npm:^26.0.0": - version: 26.0.0 - resolution: "jest-docblock@npm:26.0.0" - dependencies: - detect-newline: ^3.0.0 - checksum: 54b8ea1c8445a4b15e9ee5035f1bd60b0d492b87258995133a1b5df43a07803c93b54e8adaa45eae05778bd61ad57745491c625e7aa65198a9aa4f0c79030b56 - languageName: node - linkType: hard - -"jest-each@npm:^26.6.2": - version: 26.6.2 - resolution: "jest-each@npm:26.6.2" - dependencies: - "@jest/types": ^26.6.2 - chalk: ^4.0.0 - jest-get-type: ^26.3.0 - jest-util: ^26.6.2 - pretty-format: ^26.6.2 - checksum: 628eaeca647adb4d6cf75bdc17c9ceb8cbcbb6921d838a583cd4de3db188e3e49b62209e3a0703f1281db379d1b2c07254900e5d97e85d61dd193d7b40361d3a - languageName: node - linkType: hard - -"jest-environment-jsdom@npm:^26.6.2": - version: 26.6.2 - resolution: "jest-environment-jsdom@npm:26.6.2" - dependencies: - "@jest/environment": ^26.6.2 - "@jest/fake-timers": ^26.6.2 - "@jest/types": ^26.6.2 - "@types/node": "*" - jest-mock: ^26.6.2 - jest-util: ^26.6.2 - jsdom: ^16.4.0 - checksum: 70af4860b71237274619cb93ebebf7da978ef086df2b6ad39ab23aba427b039e01e9c565afeee05f025d112d975252eee342a615416029b9b9a71ca7810b2a7d - languageName: node - linkType: hard - -"jest-environment-node@npm:^26.6.2": - version: 26.6.2 - resolution: "jest-environment-node@npm:26.6.2" - dependencies: - "@jest/environment": ^26.6.2 - "@jest/fake-timers": ^26.6.2 - "@jest/types": ^26.6.2 - "@types/node": "*" - jest-mock: ^26.6.2 - jest-util: ^26.6.2 - checksum: 68ea035d62b35faf1991c0a0a432c1d9547ce93949e9460761071748cbf4b1d818e47421df1eb7b15a3eda7c0846e284b4a5ece5d99122307a0ad742ea765a57 - languageName: node - linkType: hard - -"jest-get-type@npm:^26.3.0": - version: 26.3.0 - resolution: "jest-get-type@npm:26.3.0" - checksum: fc3e2d2b90cca74597c4ad6234c2fcc2ccb62894d0f7afe22fc55b5d93a2f02d3080ccef50f09c979d4b5a060bc76c4343911556d75ed9e892e0ebda6d54c44b - languageName: node - linkType: hard - -"jest-haste-map@npm:^26.6.2": - version: 26.6.2 - resolution: "jest-haste-map@npm:26.6.2" - dependencies: - "@jest/types": ^26.6.2 - "@types/graceful-fs": ^4.1.2 - "@types/node": "*" - anymatch: ^3.0.3 - fb-watchman: ^2.0.0 - fsevents: ^2.1.2 - graceful-fs: ^4.2.4 - jest-regex-util: ^26.0.0 - jest-serializer: ^26.6.2 - jest-util: ^26.6.2 - jest-worker: ^26.6.2 - micromatch: ^4.0.2 - sane: ^4.0.3 - walker: ^1.0.7 - dependenciesMeta: - fsevents: - optional: true - checksum: 5c9e3a1e3feee8cf6e06aec5ddc28703d75d484c398802469ec881a922591a2c94b1bc86ce9510dec854b363740781f9eb2d76b224fdd560ecb8fa2436b35432 + resolution: "is-stream@npm:3.0.0" + checksum: cfa9abcc4f14ac6e234e79cbeea8ba94edec33040d8b54e01be9c5a9ec970941329e5cfb6e62edafa799220b2b16ca65650c070edbf3f5314fb929c2e6dab219 languageName: node linkType: hard -"jest-jasmine2@npm:^26.6.3": - version: 26.6.3 - resolution: "jest-jasmine2@npm:26.6.3" - dependencies: - "@babel/traverse": ^7.1.0 - "@jest/environment": ^26.6.2 - "@jest/source-map": ^26.6.2 - "@jest/test-result": ^26.6.2 - "@jest/types": ^26.6.2 - "@types/node": "*" - chalk: ^4.0.0 - co: ^4.6.0 - expect: ^26.6.2 - is-generator-fn: ^2.0.0 - jest-each: ^26.6.2 - jest-matcher-utils: ^26.6.2 - jest-message-util: ^26.6.2 - jest-runtime: ^26.6.3 - jest-snapshot: ^26.6.2 - jest-util: ^26.6.2 - pretty-format: ^26.6.2 - throat: ^5.0.0 - checksum: 18b15901f8eea23cb77b45dab7bbd9c9c15f6329516c4e5ccc36dff82153b9f992f7de264db45390a1a06b5cf730f073a9c49ed7b8905f7289c6f8055e8f7459 +"is-string@npm:^1.0.5, is-string@npm:^1.0.6": + version: 1.0.6 + resolution: "is-string@npm:1.0.6" + checksum: 5eb4860eafb9bfd4d9adf56bd530ca0e0cabade776df1e9394e5ca9376bdd6fa0a99879c2b0c3a517076fa31ac739821c2956be6d30ee1458f50ca24a4962478 languageName: node linkType: hard -"jest-leak-detector@npm:^26.6.2": - version: 26.6.2 - resolution: "jest-leak-detector@npm:26.6.2" +"is-symbol@npm:^1.0.2, is-symbol@npm:^1.0.3": + version: 1.0.4 + resolution: "is-symbol@npm:1.0.4" dependencies: - jest-get-type: ^26.3.0 - pretty-format: ^26.6.2 - checksum: 08c1bbb628c46d22bead4de7bcbe6a4c9d5761d55f15a1d938b9409473eeb6175545ebade44318f9ae950fcdf484e1cbffbbcdcce8600b946e21300d7d1ed206 + has-symbols: ^1.0.2 + checksum: 2794e0b9c3d6ca760b2f46c0132917746ce95fe034556e0e4da341e59f6171c9b733d2f0942475ecdee2e5b6d80a6e021eba200076fefcc79348ac48d56ad4b5 languageName: node linkType: hard -"jest-matcher-utils@npm:^26.6.2": - version: 26.6.2 - resolution: "jest-matcher-utils@npm:26.6.2" +"is-text-path@npm:^1.0.1": + version: 1.0.1 + resolution: "is-text-path@npm:1.0.1" dependencies: - chalk: ^4.0.0 - jest-diff: ^26.6.2 - jest-get-type: ^26.3.0 - pretty-format: ^26.6.2 - checksum: c6db72f19e90d8c3b3f949bc174e4a1b95db5973080eaf716b69df0069faa9b9da2de4502cf9b5c1376387b49705611259f45f04efb7dfc3deb72bcf3602a6a1 + text-extensions: ^1.0.0 + checksum: 7c46df2e802e4ec57ee3c75664a32008625c4fbccf9e0a4bb7713f84983075b4e1386711c3764d3a67a1fc54a4b3a27ebdb0350bdeb80aaddd56166bf4f5654e languageName: node linkType: hard -"jest-message-util@npm:^26.6.2": - version: 26.6.2 - resolution: "jest-message-util@npm:26.6.2" - dependencies: - "@babel/code-frame": ^7.0.0 - "@jest/types": ^26.6.2 - "@types/stack-utils": ^2.0.0 - chalk: ^4.0.0 - graceful-fs: ^4.2.4 - micromatch: ^4.0.2 - pretty-format: ^26.6.2 - slash: ^3.0.0 - stack-utils: ^2.0.2 - checksum: 7a47773259e5bb431e3dba44321fd75d9e3264b12fc4fe584378053a8b065c61d1c7d07625c8e2c432ccf2d7f0dc68a9f6547bc62d0d558b8e5da0e82f824ecd +"is-typedarray@npm:^1.0.0, is-typedarray@npm:~1.0.0": + version: 1.0.0 + resolution: "is-typedarray@npm:1.0.0" + checksum: 4e21156e7360a5916eded35c5938adf6278299a8055640864eebb251e4351cd605beccddf9af27477e19f753d453412fe0c21379bb54b55cfdf5add263076959 languageName: node linkType: hard -"jest-mock@npm:^26.6.2": - version: 26.6.2 - resolution: "jest-mock@npm:26.6.2" - dependencies: - "@jest/types": ^26.6.2 - "@types/node": "*" - checksum: 98e658beca866a5391fd5c0503a985a928231fd0652dea31809efa706a043ac4c4559769215ba8c8d0cde758f5c5463fbf99f233441e82641cace68023308fb6 +"is-unicode-supported@npm:^0.1.0": + version: 0.1.0 + resolution: "is-unicode-supported@npm:0.1.0" + checksum: 00ca6f5581b81d55c567d259175cb1af08c60ae95f6aad69adadfdfbe098c60ef5617ad440770d821f1710773987c0b13ed6dd375cd9ab1bd7b7dd8f9a42625c languageName: node linkType: hard -"jest-pnp-resolver@npm:^1.2.2": - version: 1.2.2 - resolution: "jest-pnp-resolver@npm:1.2.2" - peerDependencies: - jest-resolve: "*" - peerDependenciesMeta: - jest-resolve: - optional: true - checksum: d91c86e3899f35ac1a6d40fa29e94212fc9b8e5e70d31d77ff281413441c844ec44a3673a3860f9b2155fed6738548f52eee9e63845e8d5f8550a890533c78cc +"isarray@npm:0.0.1": + version: 0.0.1 + resolution: "isarray@npm:0.0.1" + checksum: daeda3c23646200b0b464b7a9030d10008d7701fc6b7a1b45cafe42b4f4d2dde20835b56f19a49e04bb218245b7f7a2bcc6d0f696cff3711e4eddaa2031c611f languageName: node linkType: hard -"jest-regex-util@npm:^26.0.0": - version: 26.0.0 - resolution: "jest-regex-util@npm:26.0.0" - checksum: a3d08a852a7b79e3071ebe112b9fb4122efe6b987477e6769eb78814a8306d3c9e29ed544f25bb6a6d3737668b67ee4339810ed5fe5a9d6318639d6f81f47d3d +"isarray@npm:~1.0.0": + version: 1.0.0 + resolution: "isarray@npm:1.0.0" + checksum: b0ff31a290e783f7b3fb73f2951ee7fc2946dc197b05f73577dc77f87dc3be2e0f66007bedf069123d4e5c4b691e7c89a241f6ca06f0c0f4765cdac5aa4b4047 languageName: node linkType: hard -"jest-resolve-dependencies@npm:^26.6.3": - version: 26.6.3 - resolution: "jest-resolve-dependencies@npm:26.6.3" - dependencies: - "@jest/types": ^26.6.2 - jest-regex-util: ^26.0.0 - jest-snapshot: ^26.6.2 - checksum: 72e7a200c404197f1c06aff7faa77de13e12c2bfdc1a0a6bd9f8b96cd23317b64e2b614a26b67beece86d51249c3ec7dbeb3dfe17d284930307cd769712ace25 +"isexe@npm:^2.0.0": + version: 2.0.0 + resolution: "isexe@npm:2.0.0" + checksum: 7b437980bb77881a146fba85cfbdf01edc2b148673e9c2722a1e49661fea73adf524430a80fdbfb8ce9f60d43224e682c657c45030482bd39e0c488fc29b4afe languageName: node linkType: hard -"jest-resolve@npm:26.6.2, jest-resolve@npm:^26.6.2": - version: 26.6.2 - resolution: "jest-resolve@npm:26.6.2" - dependencies: - "@jest/types": ^26.6.2 - chalk: ^4.0.0 - graceful-fs: ^4.2.4 - jest-pnp-resolver: ^1.2.2 - jest-util: ^26.6.2 - read-pkg-up: ^7.0.1 - resolve: ^1.18.1 - slash: ^3.0.0 - checksum: 61e8884462b4bcdaa26dc8544b497f2e2dae0b0701c363d433afb482c7f2faa6d0ce691250ad64eddb7fff552dc025315c388e0449411c1522a4dd013cbe49ae +"isstream@npm:~0.1.2": + version: 0.1.2 + resolution: "isstream@npm:0.1.2" + checksum: 8e6e5c4cf1823562db7035d2e7bac388412060fe9bc6727eca8c608def5aa57709165c51c2e68a2fce6ff0b64d79489501b84715060c5e8a477b87b6cbcd1eca languageName: node linkType: hard -"jest-runner@npm:^26.6.3": - version: 26.6.3 - resolution: "jest-runner@npm:26.6.3" +"issue-parser@npm:^5.0.0": + version: 5.0.0 + resolution: "issue-parser@npm:5.0.0" dependencies: - "@jest/console": ^26.6.2 - "@jest/environment": ^26.6.2 - "@jest/test-result": ^26.6.2 - "@jest/types": ^26.6.2 - "@types/node": "*" - chalk: ^4.0.0 - emittery: ^0.7.1 - exit: ^0.1.2 - graceful-fs: ^4.2.4 - jest-config: ^26.6.3 - jest-docblock: ^26.0.0 - jest-haste-map: ^26.6.2 - jest-leak-detector: ^26.6.2 - jest-message-util: ^26.6.2 - jest-resolve: ^26.6.2 - jest-runtime: ^26.6.3 - jest-util: ^26.6.2 - jest-worker: ^26.6.2 - source-map-support: ^0.5.6 - throat: ^5.0.0 - checksum: 7cac133ccfb4df461d32f536e7593c21e03b9b01fc97582f51b8487e673648444fe59ea3a96f1f6afddddecf62be86b1d8249723e3a3575cc04fa95f07a163c7 - languageName: node - linkType: hard - -"jest-runtime@npm:^26.6.3": - version: 26.6.3 - resolution: "jest-runtime@npm:26.6.3" - dependencies: - "@jest/console": ^26.6.2 - "@jest/environment": ^26.6.2 - "@jest/fake-timers": ^26.6.2 - "@jest/globals": ^26.6.2 - "@jest/source-map": ^26.6.2 - "@jest/test-result": ^26.6.2 - "@jest/transform": ^26.6.2 - "@jest/types": ^26.6.2 - "@types/yargs": ^15.0.0 - chalk: ^4.0.0 - cjs-module-lexer: ^0.6.0 - collect-v8-coverage: ^1.0.0 - exit: ^0.1.2 - glob: ^7.1.3 - graceful-fs: ^4.2.4 - jest-config: ^26.6.3 - jest-haste-map: ^26.6.2 - jest-message-util: ^26.6.2 - jest-mock: ^26.6.2 - jest-regex-util: ^26.0.0 - jest-resolve: ^26.6.2 - jest-snapshot: ^26.6.2 - jest-util: ^26.6.2 - jest-validate: ^26.6.2 - slash: ^3.0.0 - strip-bom: ^4.0.0 - yargs: ^15.4.1 - bin: - jest-runtime: bin/jest-runtime.js - checksum: 5ef4ceaefb0cd8c140d58d2d4f660467cb6581d17622789d1c0bf1576fded6a9e0e831c3bb8b3f528ec81279f3fb38a6fb71e1d1a8960d7cdc8e048d33b71c32 + lodash.capitalize: ^4.2.1 + lodash.escaperegexp: ^4.1.2 + lodash.isplainobject: ^4.0.6 + lodash.isstring: ^4.0.1 + lodash.uniqby: ^4.7.0 + checksum: 608024370f2b15512647cd5b9048a19e45b79f0f071f1b3d7f020819e6a6c7549d4c6cd9a9120bb66619ff9d7d8b226707a6ba40d7842250c8081957ed188bb8 languageName: node linkType: hard -"jest-serializer@npm:^26.6.2": - version: 26.6.2 - resolution: "jest-serializer@npm:26.6.2" +"issue-parser@npm:^6.0.0": + version: 6.0.0 + resolution: "issue-parser@npm:6.0.0" dependencies: - "@types/node": "*" - graceful-fs: ^4.2.4 - checksum: 62802ac809f7af3386b3640a3a01b6a979a093f48085c5b76a05c186a862b8dd3c1b2ea2d62373fd9fe31c0f893631006623079d30d8f8ebf32dff5ef279059e + lodash.capitalize: ^4.2.1 + lodash.escaperegexp: ^4.1.2 + lodash.isplainobject: ^4.0.6 + lodash.isstring: ^4.0.1 + lodash.uniqby: ^4.7.0 + checksum: 8632e2da46b251e36f849d23fde4c850eb79c187cd57b49a45524ba30bb9ceb42b71f67863e8049e0f83fb7e89d620c478d7cfd9a9425533e60001ae926e9f7d languageName: node linkType: hard -"jest-snapshot@npm:^26.6.2": - version: 26.6.2 - resolution: "jest-snapshot@npm:26.6.2" - dependencies: - "@babel/types": ^7.0.0 - "@jest/types": ^26.6.2 - "@types/babel__traverse": ^7.0.4 - "@types/prettier": ^2.0.0 - chalk: ^4.0.0 - expect: ^26.6.2 - graceful-fs: ^4.2.4 - jest-diff: ^26.6.2 - jest-get-type: ^26.3.0 - jest-haste-map: ^26.6.2 - jest-matcher-utils: ^26.6.2 - jest-message-util: ^26.6.2 - jest-resolve: ^26.6.2 - natural-compare: ^1.4.0 - pretty-format: ^26.6.2 - semver: ^7.3.2 - checksum: 9cf50bd7b7b31736f914ea71f8049ddf8a9ebcfdbb663d262ad55045f1dd74cb599152946844193503363b9fbb32ee84f882ceae5067181e1dac537846801ae7 +"istanbul-lib-coverage@npm:^3.0.0, istanbul-lib-coverage@npm:^3.2.2": + version: 3.2.2 + resolution: "istanbul-lib-coverage@npm:3.2.2" + checksum: e72b2cb5d335739bf7540f12f2572c1ac443a88dfe1d4606b87a4793e76e800884f1b705f9c88403461e5591805c58a5e8c96166b77708c16c888af9cf9fd8b0 languageName: node linkType: hard -"jest-util@npm:^26.6.2": - version: 26.6.2 - resolution: "jest-util@npm:26.6.2" +"istanbul-lib-report@npm:^3.0.0, istanbul-lib-report@npm:^3.0.1": + version: 3.0.1 + resolution: "istanbul-lib-report@npm:3.0.1" dependencies: - "@jest/types": ^26.6.2 - "@types/node": "*" - chalk: ^4.0.0 - graceful-fs: ^4.2.4 - is-ci: ^2.0.0 - micromatch: ^4.0.2 - checksum: 1aef748c8224d00ead3389899177bd3b619479db7318f8d7de7fbedce283ac6a8dc8c9364a40a68e83e68e03fa18afbd6b49c8aafb81112807872f0f90fb5a37 + istanbul-lib-coverage: ^3.0.0 + make-dir: ^4.0.0 + supports-color: ^7.1.0 + checksum: 284bcb97b3bf073f99c270477517623ee7e9b0b2ec9dfad33d57299192c593496f1bdb44f68562b98fb20adb8a10e6bbf4c984e04b3904e8cdf9bb9e42ac1404 languageName: node linkType: hard -"jest-validate@npm:^26.6.2": - version: 26.6.2 - resolution: "jest-validate@npm:26.6.2" +"istanbul-lib-source-maps@npm:^5.0.6": + version: 5.0.6 + resolution: "istanbul-lib-source-maps@npm:5.0.6" dependencies: - "@jest/types": ^26.6.2 - camelcase: ^6.0.0 - chalk: ^4.0.0 - jest-get-type: ^26.3.0 - leven: ^3.1.0 - pretty-format: ^26.6.2 - checksum: b19fd33b8667a45fea08a56353189b70532ebe360a6ac2e2320eac5e047be410053dcb3a6bcfe99d5e580e03580710af722119268d26ad5185871f5bfa0f6ca2 + "@jridgewell/trace-mapping": ^0.3.23 + debug: ^4.1.1 + istanbul-lib-coverage: ^3.0.0 + checksum: 9cd275f4c798d58fc19077b67038d6dd1b5e5b82148d82cdf49db85ca07b2ada0f91d6a4a371be997b29f9469f88f1c8aa72cc08bc2fff241e7a9a2c42b39762 languageName: node linkType: hard -"jest-watcher@npm:^26.6.2": - version: 26.6.2 - resolution: "jest-watcher@npm:26.6.2" +"istanbul-reports@npm:^3.1.7": + version: 3.1.7 + resolution: "istanbul-reports@npm:3.1.7" dependencies: - "@jest/test-result": ^26.6.2 - "@jest/types": ^26.6.2 - "@types/node": "*" - ansi-escapes: ^4.2.1 - chalk: ^4.0.0 - jest-util: ^26.6.2 - string-length: ^4.0.1 - checksum: d4a13c17c7b9bd98616d7a4ff087c0c16346038ba6b6db6f4a15acbce2ea9a9c7b8b873d174ade3f458c9ad5607f7cadd29309aa13f03a844f984d3711b57805 + html-escaper: ^2.0.0 + istanbul-lib-report: ^3.0.0 + checksum: f3cedda6e762e1e7e09af1b416207db9c3b636168f02f97b6b757143980066e541a126a91498590de261b762f5457bc1ef7e002e0d87b89ce299d22b79747452 languageName: node linkType: hard -"jest-worker@npm:^26.6.2": - version: 26.6.2 - resolution: "jest-worker@npm:26.6.2" +"jackspeak@npm:^3.1.2": + version: 3.4.3 + resolution: "jackspeak@npm:3.4.3" dependencies: - "@types/node": "*" - merge-stream: ^2.0.0 - supports-color: ^7.0.0 - checksum: 5eb349833b5e9750ce8700388961dfd5d5e207c913122221e418e48b9cda3c17b0fb418f6a90f1614cfdc3ca836158b720c5dc1de82cb1e708266b4d76e31a38 + "@isaacs/cliui": ^8.0.2 + "@pkgjs/parseargs": ^0.11.0 + dependenciesMeta: + "@pkgjs/parseargs": + optional: true + checksum: 44a21ad5dbf76fda2f72c69f7b3d5c20fba9a1c53a787f1cad01c0f259f69f9c7c9d6e375c764398c610a7b776cb72f130662a5cfcbe425ff2e682534a8150f0 languageName: node linkType: hard -"jest@npm:26.6.3, jest@npm:^26.5.2": - version: 26.6.3 - resolution: "jest@npm:26.6.3" - dependencies: - "@jest/core": ^26.6.3 - import-local: ^3.0.2 - jest-cli: ^26.6.3 - bin: - jest: bin/jest.js - checksum: 4ffcfefa2b30999a71c205e1aacf2b3d7af10f36c17ba1baf45677684116ad5aa6a5bb162ad2dd418f9ea99d18f24b70d8c83fb317b765a3acac361a50e9db9f +"java-properties@npm:^1.0.0": + version: 1.0.2 + resolution: "java-properties@npm:1.0.2" + checksum: 6712ee3e5de7744dbe9f43efc4cecad30d43366ad40b419b6da262a60414f8ae49b1fea38d9e70e7ba81799c9d59b00467b4f7794a81d5096fd7ffae1764f59d languageName: node linkType: hard @@ -7072,15 +5851,10 @@ fsevents@^2.1.2: languageName: node linkType: hard -"js-yaml@npm:^3.13.1": - version: 3.14.1 - resolution: "js-yaml@npm:3.14.1" - dependencies: - argparse: ^1.0.7 - esprima: ^4.0.0 - bin: - js-yaml: bin/js-yaml.js - checksum: 46b61f889796a20d16b0b64580a01b6a02b2e45c1a2744906346da54d07e14cde764e887ab6d1512d8b2541c63711bd4b75859c28eb99605baf59fa173fc38c2 +"js-tokens@npm:^9.0.0": + version: 9.0.0 + resolution: "js-tokens@npm:9.0.0" + checksum: 94573129fbe599b623491710e86bb7e9e2af2ef0d997e8f51586c5626361869a4208d8d0dda3027239934ce81e72786cf534445daf6b54941d93460f5fd68d59 languageName: node linkType: hard @@ -7091,55 +5865,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"jsdom@npm:^16.4.0": - version: 16.6.0 - resolution: "jsdom@npm:16.6.0" - dependencies: - abab: ^2.0.5 - acorn: ^8.2.4 - acorn-globals: ^6.0.0 - cssom: ^0.4.4 - cssstyle: ^2.3.0 - data-urls: ^2.0.0 - decimal.js: ^10.2.1 - domexception: ^2.0.1 - escodegen: ^2.0.0 - form-data: ^3.0.0 - html-encoding-sniffer: ^2.0.1 - http-proxy-agent: ^4.0.1 - https-proxy-agent: ^5.0.0 - is-potential-custom-element-name: ^1.0.1 - nwsapi: ^2.2.0 - parse5: 6.0.1 - saxes: ^5.0.1 - symbol-tree: ^3.2.4 - tough-cookie: ^4.0.0 - w3c-hr-time: ^1.0.2 - w3c-xmlserializer: ^2.0.0 - webidl-conversions: ^6.1.0 - whatwg-encoding: ^1.0.5 - whatwg-mimetype: ^2.3.0 - whatwg-url: ^8.5.0 - ws: ^7.4.5 - xml-name-validator: ^3.0.0 - peerDependencies: - canvas: ^2.5.0 - peerDependenciesMeta: - canvas: - optional: true - checksum: ee0c9ef2cf499d01d6186622a3788df72fa970a2eb695a237efebace6d99875a3402062842420badddad02cf1e90a0de88c65a266366721a45732144f7616db6 - languageName: node - linkType: hard - -"jsesc@npm:^2.5.1": - version: 2.5.2 - resolution: "jsesc@npm:2.5.2" - bin: - jsesc: bin/jsesc - checksum: ca91ec33d74c55959e4b6fdbfee2af5f38be74a752cf0a982702e3a16239f26c2abbe19f5f84b15592570dda01872e929a90738615bd445f7b9b859781cfcf68 - languageName: node - linkType: hard - "json-parse-better-errors@npm:^1.0.0, json-parse-better-errors@npm:^1.0.1, json-parse-better-errors@npm:^1.0.2": version: 1.0.2 resolution: "json-parse-better-errors@npm:1.0.2" @@ -7182,17 +5907,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"json5@npm:^2.1.2": - version: 2.2.0 - resolution: "json5@npm:2.2.0" - dependencies: - minimist: ^1.2.5 - bin: - json5: lib/cli.js - checksum: 07b1f90c2801dc52df2b0ac8d606cc400a85cda79130e754780fa2ab9805d0fb85a0e61b6a5cdd68e88e5d0c8f9109ec415af08283175556cdccaa8563853908 - languageName: node - linkType: hard - "jsonfile@npm:^4.0.0": version: 4.0.0 resolution: "jsonfile@npm:4.0.0" @@ -7251,45 +5965,13 @@ fsevents@^2.1.2: languageName: node linkType: hard -"kind-of@npm:^3.0.2, kind-of@npm:^3.0.3, kind-of@npm:^3.2.0": - version: 3.2.2 - resolution: "kind-of@npm:3.2.2" - dependencies: - is-buffer: ^1.1.5 - checksum: e8a1835c4baa9b52666cd5d8ae89e6b9b9f5978600a30ba75fc92da332d1ba182bda90aa7372fc992a3eb6da261dc3fea0f136af24ddc87cfb668d40c817af56 - languageName: node - linkType: hard - -"kind-of@npm:^4.0.0": - version: 4.0.0 - resolution: "kind-of@npm:4.0.0" - dependencies: - is-buffer: ^1.1.5 - checksum: 2e7296c614f54ba9cdcab4c389ec9d8f6ed7955c661b4bd075d5c1b67107ee00263a82aa12f76b61209e9d93f4949ee3d20c6ff17a8b0d199d84ba06d6f59478 - languageName: node - linkType: hard - -"kind-of@npm:^5.0.0": - version: 5.1.0 - resolution: "kind-of@npm:5.1.0" - checksum: c98cfe70c805a7a3a10ec4399fac2884fb4b277494baffea0712a5e8de49a0bbdc36d9cfedf7879f47567fa4d7f4d92fd5b69582bc8666100b3560e03bd88844 - languageName: node - linkType: hard - -"kind-of@npm:^6.0.0, kind-of@npm:^6.0.2, kind-of@npm:^6.0.3": +"kind-of@npm:^6.0.3": version: 6.0.3 resolution: "kind-of@npm:6.0.3" checksum: 5de5d6577796af87a983199d6350ed41c670abec4a306cc43ca887c1afdbd6b89af9ab00016e3ca17eb7ad89ebfd9bb817d33baa89f855c6c95398a8b8abbf08 languageName: node linkType: hard -"kleur@npm:^3.0.3": - version: 3.0.3 - resolution: "kleur@npm:3.0.3" - checksum: 20ef0e37fb3f9aebbec8a75b61f547051aa61e3a6c51bd2678e77a11d69d73885a76966aea77f09c40677c7dfa274a5e16741ec89859213c9f798d4a96f77521 - languageName: node - linkType: hard - "latest-version@npm:^3.0.0": version: 3.1.0 resolution: "latest-version@npm:3.1.0" @@ -7322,16 +6004,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"levn@npm:~0.3.0": - version: 0.3.0 - resolution: "levn@npm:0.3.0" - dependencies: - prelude-ls: ~1.1.2 - type-check: ~0.3.2 - checksum: 775861da38dcb7e5f1de5bea2a1c7ffaede6e9e8632cfbac76be145ecb295370f46bb41307613c283d66f1fee5d8cc448ca3323c4a02d0fb1e913b2f78de2abb - languageName: node - linkType: hard - "libcipm@npm:^4.0.8": version: 4.0.8 resolution: "libcipm@npm:4.0.8" @@ -7690,6 +6362,16 @@ fsevents@^2.1.2: languageName: node linkType: hard +"local-pkg@npm:^0.5.0": + version: 0.5.0 + resolution: "local-pkg@npm:0.5.0" + dependencies: + mlly: ^1.4.2 + pkg-types: ^1.0.3 + checksum: fe289ac59f52aba1d443534874f270789195d64aa6074cf0ad1b8f73de469ba49d83664e053accaf3f8e52a735ed6e0e4aca23878b00728cd3b2966826eb31f7 + languageName: node + linkType: hard + "locate-path@npm:^2.0.0": version: 2.0.0 resolution: "locate-path@npm:2.0.0" @@ -7907,7 +6589,7 @@ fsevents@^2.1.2: languageName: node linkType: hard -"lodash@npm:^4.17.15, lodash@npm:^4.17.21, lodash@npm:^4.17.4, lodash@npm:^4.7.0": +"lodash@npm:^4.17.15, lodash@npm:^4.17.21, lodash@npm:^4.17.4": version: 4.17.21 resolution: "lodash@npm:4.17.21" checksum: 4983720b9abca930a4a46f18db163d7dad8dd00dbed6db0cc7b499b33b717cce69f80928b27bbb1ff2cbd3b19d251ee90669a8b5ea466072ca81c2ebe91e7468 @@ -7947,6 +6629,24 @@ fsevents@^2.1.2: languageName: node linkType: hard +"loupe@npm:^2.3.6, loupe@npm:^2.3.7": + version: 2.3.7 + resolution: "loupe@npm:2.3.7" + dependencies: + get-func-name: ^2.0.1 + checksum: b54da6773103881d895831dd68d58f2e1fb8af819fba7d5bd7036421e0ae2b8dfec157306b50728053b4936cbcf6a30df6c3b0ffd37cd5ce6ebd1af7c1da453a + languageName: node + linkType: hard + +"loupe@npm:^3.1.0, loupe@npm:^3.1.1": + version: 3.1.1 + resolution: "loupe@npm:3.1.1" + dependencies: + get-func-name: ^2.0.1 + checksum: 601e557ba232ccdeb400fd093eb64cc80d2f56b9bedfe36305cb7ab00df763b221ea6e7a8773f6de7b3e9c42e0941d04485452e4477e1854be1afbd7b290a498 + languageName: node + linkType: hard + "lowercase-keys@npm:^1.0.0": version: 1.0.1 resolution: "lowercase-keys@npm:1.0.1" @@ -7954,6 +6654,13 @@ fsevents@^2.1.2: languageName: node linkType: hard +"lru-cache@npm:^10.2.0": + version: 10.4.3 + resolution: "lru-cache@npm:10.4.3" + checksum: b50a96b13973032d8153c1afaf83e35bcdf752bc7b1cea4ab661dfaed81b47d44e1c52beab99ca2ca0fe988e8d37ca86fe9ab0b4cef4b7d30c33b364e187fd65 + languageName: node + linkType: hard + "lru-cache@npm:^4.0.1": version: 4.1.5 resolution: "lru-cache@npm:4.1.5" @@ -7989,6 +6696,26 @@ fsevents@^2.1.2: languageName: node linkType: hard +"magic-string@npm:^0.30.10, magic-string@npm:^0.30.5": + version: 0.30.11 + resolution: "magic-string@npm:0.30.11" + dependencies: + "@jridgewell/sourcemap-codec": ^1.5.0 + checksum: 4cf4400efe5f478a641271d772b374ae3a5c3bfa950690eb4d99986d686b4734ed0f6d4604642fa738b868ce84465029276fe98cfd77aa980d34d6aa086e4ff5 + languageName: node + linkType: hard + +"magicast@npm:^0.3.4": + version: 0.3.4 + resolution: "magicast@npm:0.3.4" + dependencies: + "@babel/parser": ^7.24.4 + "@babel/types": ^7.24.0 + source-map-js: ^1.2.0 + checksum: 8a0986873e35f2954337ebd110f50e6769b1a300b42085172c5ae824a9bfad58ffe0b102b1b0a19d5bafe2351d7f22b3441a456127676bf7681bb80821606313 + languageName: node + linkType: hard + "make-dir@npm:^1.0.0": version: 1.3.0 resolution: "make-dir@npm:1.3.0" @@ -7998,12 +6725,12 @@ fsevents@^2.1.2: languageName: node linkType: hard -"make-dir@npm:^3.0.0": - version: 3.1.0 - resolution: "make-dir@npm:3.1.0" +"make-dir@npm:^4.0.0": + version: 4.0.0 + resolution: "make-dir@npm:4.0.0" dependencies: - semver: ^6.0.0 - checksum: 54b6f186c209c1b133d0d1710e6b04c41ebfcb0dac699e5a369ea1223f22c0574ef820b91db37cae6c245f5bda8aff9bfec94f6c23e7d75970446b34a58a79b0 + semver: ^7.5.3 + checksum: bfcdd62fce836a3c301777849e9fe36020c4b1f8dd1e817bf679bd0012a0ddfe230bd21dd664feb036ac7460306b19fa75f979a35278c6e6c5c6144dba57a8c4 languageName: node linkType: hard @@ -8073,22 +6800,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"makeerror@npm:1.0.x": - version: 1.0.11 - resolution: "makeerror@npm:1.0.11" - dependencies: - tmpl: 1.0.x - checksum: 582016a5e8c56c1101e5fd95ea0ed08e30e5c4fda27e00d1399f75d46bd55fc5475a23089175b61dada21f6a6058886fd00f5985bbe112b943bb0bc833b4ea4d - languageName: node - linkType: hard - -"map-cache@npm:^0.2.2": - version: 0.2.2 - resolution: "map-cache@npm:0.2.2" - checksum: 3d205d20e0135a5b5f3e2b85e7bfa289cc2fc3c748fe802795e74c6fe157e5f2bed3b7c3a270b82fe36a02123880cb2e0dc525e1ae37ac7e673ce3e75a2e2c56 - languageName: node - linkType: hard - "map-obj@npm:^1.0.0": version: 1.0.1 resolution: "map-obj@npm:1.0.1" @@ -8103,15 +6814,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"map-visit@npm:^1.0.0": - version: 1.0.0 - resolution: "map-visit@npm:1.0.0" - dependencies: - object-visit: ^1.0.0 - checksum: 9e85e6d802183927229d9ad04d70a0e0c7225451994605674d3ed4e4a21f817b4d9aba42a775e98078ffe47cf67df44a50eb07f965f14afead5015c8692503bd - languageName: node - linkType: hard - "marked-terminal@npm:^4.1.1": version: 4.1.1 resolution: "marked-terminal@npm:4.1.1" @@ -8186,27 +6888,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"micromatch@npm:^3.1.4": - version: 3.1.10 - resolution: "micromatch@npm:3.1.10" - dependencies: - arr-diff: ^4.0.0 - array-unique: ^0.3.2 - braces: ^2.3.1 - define-property: ^2.0.2 - extend-shallow: ^3.0.2 - extglob: ^2.0.4 - fragment-cache: ^0.2.1 - kind-of: ^6.0.2 - nanomatch: ^1.2.9 - object.pick: ^1.3.0 - regex-not: ^1.0.0 - snapdragon: ^0.8.1 - to-regex: ^3.0.2 - checksum: a60e73539a3ac6c6231f11642257a460861302df5986a94fd418d1b64a817409cda778d7023b53541a2091b523eda2c6f7212721e380d0b696284b7ca0a45bda - languageName: node - linkType: hard - "micromatch@npm:^4.0.0, micromatch@npm:^4.0.2, micromatch@npm:^4.0.4": version: 4.0.4 resolution: "micromatch@npm:4.0.4" @@ -8256,6 +6937,13 @@ fsevents@^2.1.2: languageName: node linkType: hard +"mimic-fn@npm:^4.0.0": + version: 4.0.0 + resolution: "mimic-fn@npm:4.0.0" + checksum: c8f6f3880c29ac88c24d6e0b0028668dc8cefda726ff4a0b0562194d632a36c977926cb6b842415877f44d0496633f368c5e4659d0f0499d349468540dfeb985 + languageName: node + linkType: hard + "min-indent@npm:^1.0.0": version: 1.0.1 resolution: "min-indent@npm:1.0.1" @@ -8272,6 +6960,15 @@ fsevents@^2.1.2: languageName: node linkType: hard +"minimatch@npm:^9.0.4": + version: 9.0.5 + resolution: "minimatch@npm:9.0.5" + dependencies: + brace-expansion: ^2.0.1 + checksum: 9a06bc182c2ad908d2a6043bcf763ac2aebe854f8909f1027fd2fdf6ada20bc8b4174e41ef275f660b064a92f5d405b5ad81767990a27e86a05a407150cbb436 + languageName: node + linkType: hard + "minimist-options@npm:4.1.0": version: 4.1.0 resolution: "minimist-options@npm:4.1.0" @@ -8283,7 +6980,7 @@ fsevents@^2.1.2: languageName: node linkType: hard -"minimist@npm:^1.1.1, minimist@npm:^1.2.0, minimist@npm:^1.2.5": +"minimist@npm:^1.2.0, minimist@npm:^1.2.5": version: 1.2.5 resolution: "minimist@npm:1.2.5" checksum: b77b8590147a4e217ff34266236bc39de23b52e6e33054076991ff674c7397a1380a7bde11111916f16f003a94aaa7e4f3d92595a32189644ff607fabc65a5b6 @@ -8370,6 +7067,13 @@ fsevents@^2.1.2: languageName: node linkType: hard +"minipass@npm:^5.0.0 || ^6.0.2 || ^7.0.0, minipass@npm:^7.1.2": + version: 7.1.2 + resolution: "minipass@npm:7.1.2" + checksum: b7438c5bb25bd7353deb9056aa9834c71e09df4612447b200f30fb583e4f0c479116c870d1a39bdd675605d6e2c6ad9307e388343652e669c21d534413eff5a9 + languageName: node + linkType: hard + "minizlib@npm:^1.2.1": version: 1.3.3 resolution: "minizlib@npm:1.3.3" @@ -8407,16 +7111,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"mixin-deep@npm:^1.2.0": - version: 1.3.2 - resolution: "mixin-deep@npm:1.3.2" - dependencies: - for-in: ^1.0.2 - is-extendable: ^1.0.1 - checksum: 68da98bc1af57ffccde7abdc86ac49feec263b73b3c483ab7e6e2fab9aa2b06fba075da9e86bcda725133c1d2a59e4c810a17b55865c67c827871c25d5713c33 - languageName: node - linkType: hard - "mkdirp-infer-owner@npm:^2.0.0": version: 2.0.0 resolution: "mkdirp-infer-owner@npm:2.0.0" @@ -8448,6 +7142,18 @@ fsevents@^2.1.2: languageName: node linkType: hard +"mlly@npm:^1.4.2, mlly@npm:^1.7.1": + version: 1.7.1 + resolution: "mlly@npm:1.7.1" + dependencies: + acorn: ^8.11.3 + pathe: ^1.1.2 + pkg-types: ^1.1.1 + ufo: ^1.5.3 + checksum: 53c4ba480735c4fd224c382f3a3db461a8fa2e67c8b35d331ba49f07a4c8d619819993ef205434ed75e13a7684b620bf78f8f931f8676672cac301f8891d481f + languageName: node + linkType: hard + "modify-values@npm:^1.0.0": version: 1.0.1 resolution: "modify-values@npm:1.0.1" @@ -8497,29 +7203,12 @@ fsevents@^2.1.2: languageName: node linkType: hard -"nanomatch@npm:^1.2.9": - version: 1.2.13 - resolution: "nanomatch@npm:1.2.13" - dependencies: - arr-diff: ^4.0.0 - array-unique: ^0.3.2 - define-property: ^2.0.2 - extend-shallow: ^3.0.2 - fragment-cache: ^0.2.1 - is-windows: ^1.0.2 - kind-of: ^6.0.2 - object.pick: ^1.3.0 - regex-not: ^1.0.0 - snapdragon: ^0.8.1 - to-regex: ^3.0.1 - checksum: 2e1440c5705f0192b9d9b46bb682a1832052974dad359ed473b9f555abb5c55a08b3d5ba45d7d37c53a83f64b7f93866292824d3086a150ff7980e71874feb3b - languageName: node - linkType: hard - -"natural-compare@npm:^1.4.0": - version: 1.4.0 - resolution: "natural-compare@npm:1.4.0" - checksum: 2daf93d9bb516eddb06e2e80657a605af2e494d47c65d090ba43691aaffbc41f520840f1c9d3b7b641977af950217a4ab6ffb85bafcd5dfa8ba6fe4e68c43b53 +"nanoid@npm:^3.3.7": + version: 3.3.7 + resolution: "nanoid@npm:3.3.7" + bin: + nanoid: bin/nanoid.cjs + checksum: cf385d845762bbc9f71827889ccbfa828348d48919ef6745819f60cafa5df2f4ba45a20ffbd02d7a48dd87a4abfaf62b08e23e48fc8e0eba059b97bdd331b64c languageName: node linkType: hard @@ -8632,45 +7321,10 @@ fsevents@^2.1.2: rimraf: ^3.0.2 semver: ^7.3.5 tar: ^6.1.0 - which: ^2.0.2 - bin: - node-gyp: bin/node-gyp.js - checksum: 6e014ff491cc4fdd25c41e38f9f92ab665d3b2e1ef7cd18e292aff9b293ef485c6bb93194461a5538d3bfa4b678258df974800660dd7d40865866ef3188c5481 - languageName: node - linkType: hard - -"node-int64@npm:^0.4.0": - version: 0.4.0 - resolution: "node-int64@npm:0.4.0" - checksum: 8fce4b82d4173041114150bc49fe2333a0628a1ae31ab666db816742cbce422ef28eb834a7e66d2d09a0f635d3b5fad8c7330ec792db9558f9f7a47fa4eac87f - languageName: node - linkType: hard - -"node-modules-regexp@npm:^1.0.0": - version: 1.0.0 - resolution: "node-modules-regexp@npm:1.0.0" - checksum: 90f928a1dbc3c98d39b3d133f8c910e6bd8e45416f8e15151a31c41550cffe4e3022a39c38c20ae4ceca56b6e63741def4f3a2018080d13f5be245f4b060a9b1 - languageName: node - linkType: hard - -"node-notifier@npm:^8.0.0": - version: 8.0.2 - resolution: "node-notifier@npm:8.0.2" - dependencies: - growly: ^1.3.0 - is-wsl: ^2.2.0 - semver: ^7.3.2 - shellwords: ^0.1.1 - uuid: ^8.3.0 - which: ^2.0.2 - checksum: e90aac4592f1fe4822702d21db4f86814e7fbfa5e3f0b809ef74fcca2ba2cb51f9e3cd33d321bc4201979c7b5161faa18de21cefa741e4a3f263c291beb37025 - languageName: node - linkType: hard - -"node-releases@npm:^1.1.71": - version: 1.1.73 - resolution: "node-releases@npm:1.1.73" - checksum: 8dbc7dd438c4e0a01e546cf73b8d3cc766f1ba3c40848d5cc8c6027eb8d87d54c4617eae036bed3c02e16f25e241ee2a4bd48fa528ebf6fe97d2c86c71ddfedc + which: ^2.0.2 + bin: + node-gyp: bin/node-gyp.js + checksum: 6e014ff491cc4fdd25c41e38f9f92ab665d3b2e1ef7cd18e292aff9b293ef485c6bb93194461a5538d3bfa4b678258df974800660dd7d40865866ef3188c5481 languageName: node linkType: hard @@ -8721,15 +7375,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"normalize-path@npm:^2.1.1": - version: 2.1.1 - resolution: "normalize-path@npm:2.1.1" - dependencies: - remove-trailing-separator: ^1.0.1 - checksum: 9eb82b2f6abc1b99d820c36405d6b7a26a4cfa49d49d397eb2ad606b1295cb8e243b6071b18826907ae54a9a2b35373a83d827d843d19b76efcfa267d72cb301 - languageName: node - linkType: hard - "normalize-path@npm:^3.0.0": version: 3.0.0 resolution: "normalize-path@npm:3.0.0" @@ -8972,6 +7617,15 @@ fsevents@^2.1.2: languageName: node linkType: hard +"npm-run-path@npm:^5.1.0": + version: 5.3.0 + resolution: "npm-run-path@npm:5.3.0" + dependencies: + path-key: ^4.0.0 + checksum: eed81ccf2c062864efda3f81fd25ad4bc2893994999771b828acad43c2bf2d7eab896cfa0525541a484e289b8a445f5d0536e463dfaa932414583a9c5cc453ae + languageName: node + linkType: hard + "npm-user-validate@npm:^1.0.1": version: 1.0.1 resolution: "npm-user-validate@npm:1.0.1" @@ -9210,13 +7864,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"nwsapi@npm:^2.2.0": - version: 2.2.0 - resolution: "nwsapi@npm:2.2.0" - checksum: fb0f05113a829296f964688503d991b136d02d153769288d12226a4d52e17b50c073eceeee0ff1e8377ca8e86c244e1f9b849c9eed7fca97a03aa8a59f074c06 - languageName: node - linkType: hard - "oauth-sign@npm:~0.9.0": version: 0.9.0 resolution: "oauth-sign@npm:0.9.0" @@ -9231,17 +7878,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"object-copy@npm:^0.1.0": - version: 0.1.0 - resolution: "object-copy@npm:0.1.0" - dependencies: - copy-descriptor: ^0.1.0 - define-property: ^0.2.5 - kind-of: ^3.0.3 - checksum: d91d46e54297cad0544f04e4dff4694f92aca9661f59ad7e803a1ba94a2bb24b38ca4fd59ea827d24c9bdc6f7148d5c838287ee4b2b9c5df9b445b1c0d7a066c - languageName: node - linkType: hard - "object-inspect@npm:^1.10.3": version: 1.10.3 resolution: "object-inspect@npm:1.10.3" @@ -9256,15 +7892,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"object-visit@npm:^1.0.0": - version: 1.0.1 - resolution: "object-visit@npm:1.0.1" - dependencies: - isobject: ^3.0.0 - checksum: 8666727dbfb957676c0b093cde6d676ed6b847b234d98a4ed7f4d7f7e4b40c00af8067354d5c45052dc40c6830d68b68212c15c96dbcc286cdc96aca58faf548 - languageName: node - linkType: hard - "object.assign@npm:^4.1.2": version: 4.1.2 resolution: "object.assign@npm:4.1.2" @@ -9288,15 +7915,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"object.pick@npm:^1.3.0": - version: 1.3.0 - resolution: "object.pick@npm:1.3.0" - dependencies: - isobject: ^3.0.1 - checksum: e22d555d3bb73c665a5baa1da7789d3a98f557d8712a9bbe34dc59d4adbce9d390245815296025de5260b18794de647401a6b2ae1ba0ab854a6710e2958291f6 - languageName: node - linkType: hard - "octokit-pagination-methods@npm:^1.1.0": version: 1.1.0 resolution: "octokit-pagination-methods@npm:1.1.0" @@ -9322,6 +7940,15 @@ fsevents@^2.1.2: languageName: node linkType: hard +"onetime@npm:^6.0.0": + version: 6.0.0 + resolution: "onetime@npm:6.0.0" + dependencies: + mimic-fn: ^4.0.0 + checksum: feb483e95adc1d2669ebf00d66e089eef9b17a9690e43b69766ba121cd6051c482556ff890c383e335b11456e47af130cf6e8ef5889e72e963b187579f64410f + languageName: node + linkType: hard + "opener@npm:^1.5.2": version: 1.5.2 resolution: "opener@npm:1.5.2" @@ -9331,20 +7958,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"optionator@npm:^0.8.1": - version: 0.8.3 - resolution: "optionator@npm:0.8.3" - dependencies: - deep-is: ~0.1.3 - fast-levenshtein: ~2.0.6 - levn: ~0.3.0 - prelude-ls: ~1.1.2 - type-check: ~0.3.2 - word-wrap: ~1.2.3 - checksum: a5cdced2c92d2bf2b2338b7e29b871eb97987424f7b50d5446853f709f53c855714465ee4bf1842fed2a175445d78cd44376a16666e38ef90ebf4670173d98b8 - languageName: node - linkType: hard - "os-homedir@npm:^1.0.0": version: 1.0.2 resolution: "os-homedir@npm:1.0.2" @@ -9445,6 +8058,15 @@ fsevents@^2.1.2: languageName: node linkType: hard +"p-limit@npm:^5.0.0": + version: 5.0.0 + resolution: "p-limit@npm:5.0.0" + dependencies: + yocto-queue: ^1.0.0 + checksum: 701a33d4e06e93be9332653e6e8c92e486273a0b334c665207df1e9526589af2aee746aacf9eba44e0eeb5bb2d41be106643c8129352e989d81b564975f42c70 + languageName: node + linkType: hard + "p-locate@npm:^2.0.0": version: 2.0.0 resolution: "p-locate@npm:2.0.0" @@ -9519,6 +8141,13 @@ fsevents@^2.1.2: languageName: node linkType: hard +"package-json-from-dist@npm:^1.0.0": + version: 1.0.0 + resolution: "package-json-from-dist@npm:1.0.0" + checksum: 6ffd1d8e130064e6951f190c5c0952a2311dad5d5287078c08e79e6627e8b3d781295990e749582f75d9c463a62212e688bb8aa37e109739180e846688eadf94 + languageName: node + linkType: hard + "package-json@npm:^4.0.0": version: 4.0.1 resolution: "package-json@npm:4.0.1" @@ -9660,20 +8289,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"parse5@npm:6.0.1": - version: 6.0.1 - resolution: "parse5@npm:6.0.1" - checksum: e312014edd76a6dc2eac35248ad53477b2594a7b92b7a00f66169483bb87c3d1d36660daddeb720457418dfe0893eb3ad1043085047fc3699167afa6834cb4c4 - languageName: node - linkType: hard - -"pascalcase@npm:^0.1.1": - version: 0.1.1 - resolution: "pascalcase@npm:0.1.1" - checksum: 268a9dbf9cd934fcd0ba02733b7d6176834b13a608bbcd295550636b3c6371a6047875175b457e705b283e81ec171884c9cd86d1fd6c49f70f66fbc3783dc0c1 - languageName: node - linkType: hard - "path-exists@npm:^3.0.0": version: 3.0.0 resolution: "path-exists@npm:3.0.0" @@ -9716,6 +8331,13 @@ fsevents@^2.1.2: languageName: node linkType: hard +"path-key@npm:^4.0.0": + version: 4.0.0 + resolution: "path-key@npm:4.0.0" + checksum: 3808ac788e6dd621edaa2e2b8ca837a56e4702fd74514f5560477f848f5dcb7d990a5bc579b3f1990f239c0c18c61dfe8a820d8c073b2333101d4e2541538e71 + languageName: node + linkType: hard + "path-parse@npm:^1.0.6": version: 1.0.7 resolution: "path-parse@npm:1.0.7" @@ -9723,6 +8345,16 @@ fsevents@^2.1.2: languageName: node linkType: hard +"path-scurry@npm:^1.11.1": + version: 1.11.1 + resolution: "path-scurry@npm:1.11.1" + dependencies: + lru-cache: ^10.2.0 + minipass: ^5.0.0 || ^6.0.2 || ^7.0.0 + checksum: 1083204002aed3b45196cc0fe0f516ca8a8207387b420732749923d7ad21921ad057b4030fd27c3d1a46ccee1f38a3ddda9ca43650c09b050e30cb72b34d9f03 + languageName: node + linkType: hard + "path-type@npm:^2.0.0": version: 2.0.0 resolution: "path-type@npm:2.0.0" @@ -9739,6 +8371,27 @@ fsevents@^2.1.2: languageName: node linkType: hard +"pathe@npm:^1.1.1, pathe@npm:^1.1.2": + version: 1.1.2 + resolution: "pathe@npm:1.1.2" + checksum: ed49506633277176101ff2a3c1f6db614feb04ab192983b8578e63bfd321fe85f4bcd031f5d61cd9bcfac15b983ba1fc3ec5c56365687d285ccd3561a720e7e6 + languageName: node + linkType: hard + +"pathval@npm:^1.1.1": + version: 1.1.1 + resolution: "pathval@npm:1.1.1" + checksum: 81cd01d46cd0cd90fb7a8e0d576f8cb4cbbd0832ed00da14362be32ad79e855cf8ecf7e92fc0c267fdfc2766bd1d8fb3de43a51081e142ffb1fc814958fb8d8f + languageName: node + linkType: hard + +"pathval@npm:^2.0.0": + version: 2.0.0 + resolution: "pathval@npm:2.0.0" + checksum: 1f51c8e7dde4019cf766f11af92a57e2a40198fb09fb9376254ae6159693c4b759e66e1b6318fa9b0d905c4a4df691fafdf53c339994f11b20719136e7e6c977 + languageName: node + linkType: hard + "performance-now@npm:^2.1.0": version: 2.1.0 resolution: "performance-now@npm:2.1.0" @@ -9746,7 +8399,14 @@ fsevents@^2.1.2: languageName: node linkType: hard -"picomatch@npm:^2.0.4, picomatch@npm:^2.2.1, picomatch@npm:^2.2.3": +"picocolors@npm:^1.0.0, picocolors@npm:^1.0.1": + version: 1.0.1 + resolution: "picocolors@npm:1.0.1" + checksum: 09a1496c874f28c24a5b2aa97d76616bc4646c0e14df6d40cf17fb1df494d81896aa92e34adacd5b563566401e83c854567b64055dc058bdbcd166694f378d23 + languageName: node + linkType: hard + +"picomatch@npm:^2.2.1, picomatch@npm:^2.2.3": version: 2.3.0 resolution: "picomatch@npm:2.3.0" checksum: 80113a0fb70cfa62730d5aa3fd3d45b76bf3985f8494080ab2de1cc1fa3ba96d77990c7553a81401e16c51c0eb19c27cf5bc94f2196155090f26c8a167968001 @@ -9778,15 +8438,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"pirates@npm:^4.0.1": - version: 4.0.1 - resolution: "pirates@npm:4.0.1" - dependencies: - node-modules-regexp: ^1.0.0 - checksum: 21604008c36ab6e14ac458e1a267dd7322cfd36b9e1042e9e277dd064582717e30b9aba8c0a47d738bf004ee7946ed27f6b982d30968534f2c6b5b168a52b555 - languageName: node - linkType: hard - "pkg-conf@npm:^2.1.0": version: 2.1.0 resolution: "pkg-conf@npm:2.1.0" @@ -9797,12 +8448,14 @@ fsevents@^2.1.2: languageName: node linkType: hard -"pkg-dir@npm:^4.2.0": - version: 4.2.0 - resolution: "pkg-dir@npm:4.2.0" +"pkg-types@npm:^1.0.3, pkg-types@npm:^1.1.1": + version: 1.1.3 + resolution: "pkg-types@npm:1.1.3" dependencies: - find-up: ^4.0.0 - checksum: 1956ebf3cf5cc36a5d20e93851fcadd5a786774eb08667078561e72e0ab8ace91fc36a028d5305f0bfe7c89f9bf51886e2a3c8cb2c2620accfa3feb8da3c256b + confbox: ^0.1.7 + mlly: ^1.7.1 + pathe: ^1.1.2 + checksum: f6bb495872b5edec7db74e11a2e0d6034620af5c8a95c84b3cdf0e487f77d3abc15ca167d5a4bd75ccb3a4e934182530cd3e8c629b5bdd18d76f1a5b27e0e5f6 languageName: node linkType: hard @@ -9827,17 +8480,14 @@ fsevents@^2.1.2: languageName: node linkType: hard -"posix-character-classes@npm:^0.1.0": - version: 0.1.1 - resolution: "posix-character-classes@npm:0.1.1" - checksum: 984f83c2d4dec5abb9a6ac2b4a184132a58c4af9ce25704bfda2be6e8139335673c45d959ef6ffea3756dc88d3a0cb27c745a84d875ae5142b76e661a37a5f0e - languageName: node - linkType: hard - -"prelude-ls@npm:~1.1.2": - version: 1.1.2 - resolution: "prelude-ls@npm:1.1.2" - checksum: 189c969c92151b0de7a6e5d2ae0c4e50bbec5675cdd9fee3b7509d9d74b6416787ee36a8c12a07e8afb01454a8185b695b3395912484fa118e071fea45223b9b +"postcss@npm:^8.4.41": + version: 8.4.41 + resolution: "postcss@npm:8.4.41" + dependencies: + nanoid: ^3.3.7 + picocolors: ^1.0.1 + source-map-js: ^1.2.0 + checksum: e4fb5ec6afa7581ab4f64bacd0e7b13789ed5ce4a095f774da6ec21dbdf31f97742a55cd289c287b88544998423a697a5a289fdeac785db5f262cd078b43e76f languageName: node linkType: hard @@ -9857,15 +8507,14 @@ fsevents@^2.1.2: languageName: node linkType: hard -"pretty-format@npm:^26.6.2": - version: 26.6.2 - resolution: "pretty-format@npm:26.6.2" +"pretty-format@npm:^29.7.0": + version: 29.7.0 + resolution: "pretty-format@npm:29.7.0" dependencies: - "@jest/types": ^26.6.2 - ansi-regex: ^5.0.0 - ansi-styles: ^4.0.0 - react-is: ^17.0.1 - checksum: 5ad34fc128218485732cf0271d396158a00584708fc97bf063c1c3c000fe14da572e9a1d3d7b92d95c5e24965434656c56ed0e45804dea2435ca59a1f86f1b07 + "@jest/schemas": ^29.6.3 + ansi-styles: ^5.0.0 + react-is: ^18.0.0 + checksum: 0ab8b31239a1ddf7f2cd4df20168b5d2e10fdea827178fbd28d40eaf2b28c925118ab5c92560acb0bb7db8eb32a5c307ed66b0a38609b513054eaf6308c6e659 languageName: node linkType: hard @@ -9924,16 +8573,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"prompts@npm:^2.0.1": - version: 2.4.1 - resolution: "prompts@npm:2.4.1" - dependencies: - kleur: ^3.0.3 - sisteransi: ^1.0.5 - checksum: 705eae8c359edd7c5ba47404ef349d239334ebde0f55420588dd98449c52b38e35b52800ef55ad5804bb8c3b98b3b834beb749813f89e896d058ee18aa0d6c2c - languageName: node - linkType: hard - "promzard@npm:^0.3.0": version: 0.3.0 resolution: "promzard@npm:0.3.0" @@ -9984,7 +8623,7 @@ fsevents@^2.1.2: languageName: node linkType: hard -"psl@npm:^1.1.28, psl@npm:^1.1.33": +"psl@npm:^1.1.28": version: 1.8.0 resolution: "psl@npm:1.8.0" checksum: 92d47c6257456878bfa8190d76b84de69bcefdc129eeee3f9fe204c15fd08d35fe5b8627033f39b455e40a9375a1474b25ff4ab2c5448dd8c8f75da692d0f5b4 @@ -10153,10 +8792,10 @@ fsevents@^2.1.2: languageName: node linkType: hard -"react-is@npm:^17.0.1": - version: 17.0.2 - resolution: "react-is@npm:17.0.2" - checksum: 3eff23f410d40ab9bc5177f147a92c7f42c356a21ecea340e0554566956d67e5e1ba56f26cc7fa22339ac3c7151744177bd6305eaa26d3cbf15f354358c9d9b6 +"react-is@npm:^18.0.0": + version: 18.3.1 + resolution: "react-is@npm:18.3.1" + checksum: b04c47c01c20acd7c7dc87d8bca7ebe05c7cf8c264e8f93464d87b39e73aacd7bf8df8ba21d62e2de2d6233b27e82c5bf4a36c6a1fbaf1e17215573258ac654b languageName: node linkType: hard @@ -10430,16 +9069,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"regex-not@npm:^1.0.0, regex-not@npm:^1.0.2": - version: 1.0.2 - resolution: "regex-not@npm:1.0.2" - dependencies: - extend-shallow: ^3.0.2 - safe-regex: ^1.1.0 - checksum: 3d6d95b4fda3cabe7222b3800876491825a865ae6ca4c90bb10fd0f6442d0c57d180657bb65358b4509bdd1cecad1bd2d23e7d15a69f9c523f501cc4431b950b - languageName: node - linkType: hard - "registry-auth-token@npm:^3.0.1": version: 3.4.0 resolution: "registry-auth-token@npm:3.4.0" @@ -10468,27 +9097,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"remove-trailing-separator@npm:^1.0.1": - version: 1.1.0 - resolution: "remove-trailing-separator@npm:1.1.0" - checksum: 17dadf3d1f7c51411b7c426c8e2d6a660359bc8dae7686137120483fe4345bfca4bf7460d2c302aa741a7886c932d8dad708d2b971669d74e0fb3ff9a4814408 - languageName: node - linkType: hard - -"repeat-element@npm:^1.1.2": - version: 1.1.4 - resolution: "repeat-element@npm:1.1.4" - checksum: 44db9550826d4101f1db2deccd1afe226e77a137c94b899b98505409703513894ef5195fcd0fccb9f0979f3ab7d582cac7c19ff4cf8b606c2f0754488e164c70 - languageName: node - linkType: hard - -"repeat-string@npm:^1.6.1": - version: 1.6.1 - resolution: "repeat-string@npm:1.6.1" - checksum: 99c431ba7bef7a5d39819d562ebca89206368b45f73213677a3b562e25b5dd272d9e6a2ca8105001df14b6fc8cc71f0b10258c86e16cf8a256318fac1ddc8a77 - languageName: node - linkType: hard - "request@npm:^2.88.0, request@npm:^2.88.2": version: 2.88.2 resolution: "request@npm:2.88.2" @@ -10545,43 +9153,46 @@ fsevents@^2.1.2: "@chakra-ui/react": 1.6.8 "@emotion/react": 11.4.1 "@emotion/styled": 11.3.0 - "@glennsl/bs-jest": 0.7.0 - "@rescript/react": 0.10.3 + "@rescript/react": 0.11.0 + "@vitest/coverage-v8": ^2.0.5 framer-motion: 4.1.17 husky: 7.0.2 - jest: 26.6.3 lint-staged: 11.1.2 pinst: 2.1.6 prettier: 2.4.1 react: 17.0.2 react-dom: 17.0.2 - rescript: 9.1.4 + rescript: ^11 + rescript-vitest: ^1.4.0 semantic-release: 17.4.4 semantic-release-npm-github-publish: 1.4.0 + vitest: ^2.0.5 peerDependencies: "@chakra-ui/react": ">=1.6.3" "@rescript/react": 0.10.3 languageName: unknown linkType: soft -"rescript@npm:9.1.4": - version: 9.1.4 - resolution: "rescript@npm:9.1.4" +"rescript-vitest@npm:^1.4.0": + version: 1.4.0 + resolution: "rescript-vitest@npm:1.4.0" + dependencies: + vitest: ^1.5.0 + peerDependencies: + rescript: ^10.1.0 || ^11.0.0-0 + vite: ^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0 + checksum: 52f93332ee8c33645787fdb004e181304df633081dafc4bf9a928a4a7af86508fa5b59bd268c3d24fd8a210d1a1f07fb5ce76cab47583edd8c56b1dec312ffc5 + languageName: node + linkType: hard + +"rescript@npm:^11": + version: 11.1.3 + resolution: "rescript@npm:11.1.3" bin: bsc: bsc - bsrefmt: bsrefmt bstracing: lib/bstracing rescript: rescript - checksum: 96638bedf42159713b67dde4cd7c2008775f1f310ba41f65d879521983a011bcfbfb7ab0b404af9084ff25ccedc14f2289de8805002fe95154a11e75cbe87145 - languageName: node - linkType: hard - -"resolve-cwd@npm:^3.0.0": - version: 3.0.0 - resolution: "resolve-cwd@npm:3.0.0" - dependencies: - resolve-from: ^5.0.0 - checksum: 97edfbbf83ade94e880c2e62d0faf76eb245ea5696fc70f59eaa2747773e19108a1fa0fba13f53d471d9f245454bb1592dc4f537c6dfd19b8016ef8639a9fadc + checksum: 0439ac58fe2e04199d7841796919ee18a5f3057ddf3405194965b34f914907d93606631b9869c7027881bf71c101bef7067b6e95ba1900b15b98602644e89789 languageName: node linkType: hard @@ -10599,14 +9210,7 @@ fsevents@^2.1.2: languageName: node linkType: hard -"resolve-url@npm:^0.2.1": - version: 0.2.1 - resolution: "resolve-url@npm:0.2.1" - checksum: 9e1cd0028d0f2e157a889a02653637c1c1d7f133aa47b75261b4590e84105e63fae3b6be31bad50d5b94e01898d9dbe6b95abe28db7eab46e22321f7cbf00273 - languageName: node - linkType: hard - -"resolve@^1.10.0, resolve@^1.12.0, resolve@^1.18.1, resolve@^1.20.0": +"resolve@^1.10.0, resolve@^1.12.0, resolve@^1.20.0": version: 1.20.0 resolution: "resolve@npm:1.20.0" dependencies: @@ -10616,7 +9220,7 @@ fsevents@^2.1.2: languageName: node linkType: hard -"resolve@patch:resolve@^1.10.0#builtin, resolve@patch:resolve@^1.12.0#builtin, resolve@patch:resolve@^1.18.1#builtin, resolve@patch:resolve@^1.20.0#builtin": +"resolve@patch:resolve@^1.10.0#builtin, resolve@patch:resolve@^1.12.0#builtin, resolve@patch:resolve@^1.20.0#builtin": version: 1.20.0 resolution: "resolve@patch:resolve@npm%3A1.20.0#builtin::version=1.20.0&hash=3388aa" dependencies: @@ -10636,13 +9240,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"ret@npm:~0.1.10": - version: 0.1.15 - resolution: "ret@npm:0.1.15" - checksum: 749c2fcae7071f5ecea4f8a18e35a79a8e8a58e522a16d843ecb9dfe9e647a76d92ae85c22690b02f87d3ab78b6b1f73341efc2fabbf59ed54dcfd9b1bdff883 - languageName: node - linkType: hard - "retry@npm:^0.10.0": version: 0.10.1 resolution: "retry@npm:0.10.1" @@ -10693,10 +9290,66 @@ fsevents@^2.1.2: languageName: node linkType: hard -"rsvp@npm:^4.8.4": - version: 4.8.5 - resolution: "rsvp@npm:4.8.5" - checksum: eb70274fb392bb5e4f33ce8ebdee411fc8ce813ccf7d1684830c6752ba1b0346f0527107dcd7ce690ba7c1a9f2c731918fcd4ded11f57ed612897527a46c5f44 +"rollup@npm:^4.13.0": + version: 4.20.0 + resolution: "rollup@npm:4.20.0" + dependencies: + "@rollup/rollup-android-arm-eabi": 4.20.0 + "@rollup/rollup-android-arm64": 4.20.0 + "@rollup/rollup-darwin-arm64": 4.20.0 + "@rollup/rollup-darwin-x64": 4.20.0 + "@rollup/rollup-linux-arm-gnueabihf": 4.20.0 + "@rollup/rollup-linux-arm-musleabihf": 4.20.0 + "@rollup/rollup-linux-arm64-gnu": 4.20.0 + "@rollup/rollup-linux-arm64-musl": 4.20.0 + "@rollup/rollup-linux-powerpc64le-gnu": 4.20.0 + "@rollup/rollup-linux-riscv64-gnu": 4.20.0 + "@rollup/rollup-linux-s390x-gnu": 4.20.0 + "@rollup/rollup-linux-x64-gnu": 4.20.0 + "@rollup/rollup-linux-x64-musl": 4.20.0 + "@rollup/rollup-win32-arm64-msvc": 4.20.0 + "@rollup/rollup-win32-ia32-msvc": 4.20.0 + "@rollup/rollup-win32-x64-msvc": 4.20.0 + "@types/estree": 1.0.5 + fsevents: ~2.3.2 + dependenciesMeta: + "@rollup/rollup-android-arm-eabi": + optional: true + "@rollup/rollup-android-arm64": + optional: true + "@rollup/rollup-darwin-arm64": + optional: true + "@rollup/rollup-darwin-x64": + optional: true + "@rollup/rollup-linux-arm-gnueabihf": + optional: true + "@rollup/rollup-linux-arm-musleabihf": + optional: true + "@rollup/rollup-linux-arm64-gnu": + optional: true + "@rollup/rollup-linux-arm64-musl": + optional: true + "@rollup/rollup-linux-powerpc64le-gnu": + optional: true + "@rollup/rollup-linux-riscv64-gnu": + optional: true + "@rollup/rollup-linux-s390x-gnu": + optional: true + "@rollup/rollup-linux-x64-gnu": + optional: true + "@rollup/rollup-linux-x64-musl": + optional: true + "@rollup/rollup-win32-arm64-msvc": + optional: true + "@rollup/rollup-win32-ia32-msvc": + optional: true + "@rollup/rollup-win32-x64-msvc": + optional: true + fsevents: + optional: true + bin: + rollup: dist/bin/rollup + checksum: 698ee0c2584c99aa5b92e6a2e4d28c2f9ccffe11e75671c197c65669b3599220ae439226af3547dc9e39930449baacebe5f10d00cfafb34f1490b7dd97e1b54c languageName: node linkType: hard @@ -10741,50 +9394,13 @@ fsevents@^2.1.2: languageName: node linkType: hard -"safe-regex@npm:^1.1.0": - version: 1.1.0 - resolution: "safe-regex@npm:1.1.0" - dependencies: - ret: ~0.1.10 - checksum: c355e3163fda56bef5ef0896de55ab1e26504def2c7f9ee96ee8b90171a7da7a596048d256e61a51e2d041d9f4625d956d3702ebcfb7627c7a4846896d6ce3a4 - languageName: node - linkType: hard - -"safer-buffer@npm:>= 2.1.2 < 3, safer-buffer@npm:>= 2.1.2 < 3.0.0, safer-buffer@npm:^2.0.2, safer-buffer@npm:^2.1.0, safer-buffer@npm:~2.1.0": +"safer-buffer@npm:>= 2.1.2 < 3.0.0, safer-buffer@npm:^2.0.2, safer-buffer@npm:^2.1.0, safer-buffer@npm:~2.1.0": version: 2.1.2 resolution: "safer-buffer@npm:2.1.2" checksum: 549ba83f5b314b59898efe3422120ce1ca7987a6eae5925a5fa5db930dc414d4a9dde0a5594f89638cd6ea60b6840ea961872908933ac2428d1726489db46fa5 languageName: node linkType: hard -"sane@npm:^4.0.3": - version: 4.1.0 - resolution: "sane@npm:4.1.0" - dependencies: - "@cnakazawa/watch": ^1.0.3 - anymatch: ^2.0.0 - capture-exit: ^2.0.0 - exec-sh: ^0.3.2 - execa: ^1.0.0 - fb-watchman: ^2.0.0 - micromatch: ^3.1.4 - minimist: ^1.1.1 - walker: ~1.0.5 - bin: - sane: ./src/cli.js - checksum: e384e252021b1afef7459e994fe3ea79d114a0e7d23a03e660444abf15a2b4c50ce7eac2810b2c289e857c618d96fb35ee66356ebd4d6cb97cb11b54b2b29600 - languageName: node - linkType: hard - -"saxes@npm:^5.0.1": - version: 5.0.1 - resolution: "saxes@npm:5.0.1" - dependencies: - xmlchars: ^2.2.0 - checksum: 6ad14be68da9b84af0fa3de346fd78bd3a8e8a73a462e2852279a1fff1e2619988919294001abe3ecef3783f9498962a0619d960ccca4ec2ca914526fde1acc2 - languageName: node - linkType: hard - "scheduler@npm:^0.20.2": version: 0.20.2 resolution: "scheduler@npm:0.20.2" @@ -10910,6 +9526,15 @@ fsevents@^2.1.2: languageName: node linkType: hard +"semver@npm:^7.5.3": + version: 7.6.3 + resolution: "semver@npm:7.6.3" + bin: + semver: bin/semver.js + checksum: d9e99b5768ffc595546077da0fa87d6107a6a8e533d0870adbe9a2de372f281edcbc08135f7b6a8e4d37d41b4cbdff98534498040f24170a0c80898dc37f3b02 + languageName: node + linkType: hard + "set-blocking@npm:^2.0.0, set-blocking@npm:~2.0.0": version: 2.0.0 resolution: "set-blocking@npm:2.0.0" @@ -10917,18 +9542,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"set-value@npm:^2.0.0, set-value@npm:^2.0.1": - version: 2.0.1 - resolution: "set-value@npm:2.0.1" - dependencies: - extend-shallow: ^2.0.1 - is-extendable: ^0.1.1 - is-plain-object: ^2.0.3 - split-string: ^3.0.1 - checksum: a97a99a00cc5ed3034ccd690ff4dde167e4182ec4ef2fd5277637a6e388839292559301408b91405534b44e76450bdd443ac95427fde40e9a1a62102c1262bd1 - languageName: node - linkType: hard - "sha@npm:^3.0.0": version: 3.0.0 resolution: "sha@npm:3.0.0" @@ -10970,10 +9583,10 @@ fsevents@^2.1.2: languageName: node linkType: hard -"shellwords@npm:^0.1.1": - version: 0.1.1 - resolution: "shellwords@npm:0.1.1" - checksum: 3559ff550917ece921d252edf42eb54827540e9676e537137ace236df8f9b78e48c542ae0b3f8876fea0faf5826c97629d5b8cb9ac7dee287260e9804fb8132c +"siginfo@npm:^2.0.0": + version: 2.0.0 + resolution: "siginfo@npm:2.0.0" + checksum: 74de16167cebd8fc2f03a0e9feb37f715f4763c7fdbc47f34a303e85cd43f1ae2081288c5c8ca365ef97f70e6e1c182a3dee2ee2bb813ce2deeb616f1a6e5fad languageName: node linkType: hard @@ -10984,6 +9597,13 @@ fsevents@^2.1.2: languageName: node linkType: hard +"signal-exit@npm:^4.0.1, signal-exit@npm:^4.1.0": + version: 4.1.0 + resolution: "signal-exit@npm:4.1.0" + checksum: a9175b069799538f7c4a176175e7a99db8efd1dc46d1bb5cb6143aa50f3dfe424a8adcbe602826ece6d823e825ae409b909bec838fb99c8d6a5d5255b88a3186 + languageName: node + linkType: hard + "signale@npm:^1.2.1": version: 1.4.0 resolution: "signale@npm:1.4.0" @@ -10995,13 +9615,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"sisteransi@npm:^1.0.5": - version: 1.0.5 - resolution: "sisteransi@npm:1.0.5" - checksum: 6554debe10fa4c6a7e8d58531313fdb61c39bb435ba420f8d7a01d8aaffecc654cca846b586e33f3c904350e24f229d5bbd8069abdb583c93252849a0f73e933 - languageName: node - linkType: hard - "slash@npm:^3.0.0": version: 3.0.0 resolution: "slash@npm:3.0.0" @@ -11045,42 +9658,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"snapdragon-node@npm:^2.0.1": - version: 2.1.1 - resolution: "snapdragon-node@npm:2.1.1" - dependencies: - define-property: ^1.0.0 - isobject: ^3.0.0 - snapdragon-util: ^3.0.1 - checksum: 75918b0d6061b6acf2b9a9833b8ba7cef068df141925e790269f25f0a33d1ceb9a0ebfc39286891c112bfffbbf87744223127dba53f55e85318e335e324b65b9 - languageName: node - linkType: hard - -"snapdragon-util@npm:^3.0.1": - version: 3.0.1 - resolution: "snapdragon-util@npm:3.0.1" - dependencies: - kind-of: ^3.2.0 - checksum: d1a7ab4171376f2caacae601372dacf7fdad055e63f5e7eb3e9bd87f069b41d6fc8f54726d26968682e1ba448d5de80e94f7613d9b708646b161c4789988fa75 - languageName: node - linkType: hard - -"snapdragon@npm:^0.8.1": - version: 0.8.2 - resolution: "snapdragon@npm:0.8.2" - dependencies: - base: ^0.11.1 - debug: ^2.2.0 - define-property: ^0.2.5 - extend-shallow: ^2.0.1 - map-cache: ^0.2.2 - source-map: ^0.5.6 - source-map-resolve: ^0.5.0 - use: ^3.1.0 - checksum: c30b63a732bf37dbd2147bf57b4d9eac651ab7b313d1521f73855154b2c2f5a3f2ad18bd47e21cc64b6991f868ecb2a99f8da973ca86da39956f1f0f720b7033 - languageName: node - linkType: hard - "socks-proxy-agent@npm:^4.0.0": version: 4.0.2 resolution: "socks-proxy-agent@npm:4.0.2" @@ -11139,57 +9716,27 @@ fsevents@^2.1.2: languageName: node linkType: hard -"source-map-resolve@npm:^0.5.0": - version: 0.5.3 - resolution: "source-map-resolve@npm:0.5.3" - dependencies: - atob: ^2.1.2 - decode-uri-component: ^0.2.0 - resolve-url: ^0.2.1 - source-map-url: ^0.4.0 - urix: ^0.1.0 - checksum: 042ad0c0ba70458ba45fc8726a4eb61068ca0a5273578994803e25fc0fb8da00854cf5004616c9b6d0cb7fcd528c50313789d75dfc56a2f5c789cbd332bf4331 - languageName: node - linkType: hard - -"source-map-support@npm:^0.5.6": - version: 0.5.19 - resolution: "source-map-support@npm:0.5.19" - dependencies: - buffer-from: ^1.0.0 - source-map: ^0.6.0 - checksum: 59d4efaae97755155b078413ecba63517e3ef054cc7ab767bbd30e6f3054be2ae8e8f5cce7eef53b7eb93e98fe27a58dd8f5e7abfb13144ba420ddaf5267bbb2 - languageName: node - linkType: hard - -"source-map-url@npm:^0.4.0": - version: 0.4.1 - resolution: "source-map-url@npm:0.4.1" - checksum: ed94966781e2f9512806aee8fee1cd489438e616d8754550aa11a8d728d90fd21c02b92f47358b4df6745638852ce9b95d6bf956ce116f751748912261962073 +"source-map-js@npm:^1.2.0": + version: 1.2.0 + resolution: "source-map-js@npm:1.2.0" + checksum: 921a2790f5f8b7530955bf17e57bf8f722c6d9b4ed913042e2666850ce80cf0633c8710331afaaed973c5d8e5651654295db4fc86b6f31c0f6cbfe5b1fecc4af languageName: node linkType: hard -"source-map@npm:^0.5.0, source-map@npm:^0.5.6, source-map@npm:^0.5.7": +"source-map@npm:^0.5.7": version: 0.5.7 resolution: "source-map@npm:0.5.7" checksum: 737face96577a2184a42f141607fcc2c9db5620cb8517ae8ab3924476defa138fc26b0bab31e98cbd6f19211ecbf78400b59f801ff7a0f87aa9faa79f7433e10 languageName: node linkType: hard -"source-map@npm:^0.6.0, source-map@npm:^0.6.1, source-map@npm:~0.6.1": +"source-map@npm:^0.6.1": version: 0.6.1 resolution: "source-map@npm:0.6.1" checksum: 8647829a0611724114022be455ca1c8a2c8ae61df81c5b3667d9b398207226a1e21174fb7bbf0b4dbeb27ac358222afb5a14f1c74a62a62b8883b012e5eb1270 languageName: node linkType: hard -"source-map@npm:^0.7.3": - version: 0.7.3 - resolution: "source-map@npm:0.7.3" - checksum: 351ce26ffa1ebf203660c0d70d7566c81e65d2d994d1c2d94da140808e02da34961673ce12ecea9b40797b96fbeb8c70bf71a4ad9f779f1a4fdbba75530bb386 - languageName: node - linkType: hard - "spawn-error-forwarder@npm:~1.0.0": version: 1.0.0 resolution: "spawn-error-forwarder@npm:1.0.0" @@ -11238,15 +9785,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"split-string@npm:^3.0.1, split-string@npm:^3.0.2": - version: 3.1.0 - resolution: "split-string@npm:3.1.0" - dependencies: - extend-shallow: ^3.0.0 - checksum: 9b610d1509f8213dad7d38b5f0b49109ab53c2a93e7886c370a66b9eeb723706cd01b04b61b3d906ff6369314429412f8fad54b93d57fa50103d85884f0c175f - languageName: node - linkType: hard - "split2@npm:^3.0.0": version: 3.2.2 resolution: "split2@npm:3.2.2" @@ -11274,13 +9812,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"sprintf-js@npm:~1.0.2": - version: 1.0.3 - resolution: "sprintf-js@npm:1.0.3" - checksum: 51df1bce9e577287f56822d79ac5bd94f6c634fccf193895f2a1d2db2e975b6aa7bc97afae9cf11d49b7c37fe4afc188ff5c4878be91f2c86eabd11c5df8b62c - languageName: node - linkType: hard - "sshpk@npm:^1.7.0": version: 1.16.1 resolution: "sshpk@npm:1.16.1" @@ -11320,22 +9851,17 @@ fsevents@^2.1.2: languageName: node linkType: hard -"stack-utils@npm:^2.0.2": - version: 2.0.3 - resolution: "stack-utils@npm:2.0.3" - dependencies: - escape-string-regexp: ^2.0.0 - checksum: 65fe92891beee90473708c119e8d55473996aa11ff073cc59c3f6a0b199b44c1cc7c51425b64a8d0761d1c7c3d9ab8350a6bebff4d32720492cdfb00ee3096f8 +"stackback@npm:0.0.2": + version: 0.0.2 + resolution: "stackback@npm:0.0.2" + checksum: f224c5d01e4236f7317a8ff2e5e212003bf129228f65b7ea223abc500e99462c1590f5c3027bd075026b7b48e751a071cda5715a19899429bfd75e4d6349c66a languageName: node linkType: hard -"static-extend@npm:^0.1.1": - version: 0.1.2 - resolution: "static-extend@npm:0.1.2" - dependencies: - define-property: ^0.2.5 - object-copy: ^0.1.0 - checksum: c42052c35259769fabbede527b2ae81962b53cf3b7a5cb07bd5b0b295777641ba81ddb2f4a62df9970c96303357fc6ffb90f61a4a9e127e6e42c7895af9cd5ce +"std-env@npm:^3.5.0, std-env@npm:^3.7.0": + version: 3.7.0 + resolution: "std-env@npm:3.7.0" + checksum: 202ba56a1d166c25fb11344920623d74a8d346b8a1b629f13e28809ddb1fc7e037988e097471bf3109e35c10f533d685a26d78d1a1ce187a9be69066c7d660a6 languageName: node linkType: hard @@ -11390,13 +9916,14 @@ fsevents@^2.1.2: languageName: node linkType: hard -"string-length@npm:^4.0.1": - version: 4.0.2 - resolution: "string-length@npm:4.0.2" +"string-width-cjs@npm:string-width@^4.2.0, string-width@npm:^4.1.0, string-width@npm:^4.2.0": + version: 4.2.2 + resolution: "string-width@npm:4.2.2" dependencies: - char-regex: ^1.0.2 + emoji-regex: ^8.0.0 + is-fullwidth-code-point: ^3.0.0 strip-ansi: ^6.0.0 - checksum: e27dd1b5d759d734d7e4dd6ae0c56d1cad479799452bfeefb6565bb4785cd3d076dea71e9257edd49a051374f3b8492567eb495c306711ae7226ef971a0f1f81 + checksum: d42484f5fdc50b4a573be784a06bc971e124d3fdc08779848a58d632bc88b349a33af54d1f0e1904dbd5dcbbe50651e4b39938799ebb1011a730421af1381892 languageName: node linkType: hard @@ -11432,14 +9959,14 @@ fsevents@^2.1.2: languageName: node linkType: hard -"string-width@npm:^4.1.0, string-width@npm:^4.2.0": - version: 4.2.2 - resolution: "string-width@npm:4.2.2" +"string-width@npm:^5.0.1, string-width@npm:^5.1.2": + version: 5.1.2 + resolution: "string-width@npm:5.1.2" dependencies: - emoji-regex: ^8.0.0 - is-fullwidth-code-point: ^3.0.0 - strip-ansi: ^6.0.0 - checksum: d42484f5fdc50b4a573be784a06bc971e124d3fdc08779848a58d632bc88b349a33af54d1f0e1904dbd5dcbbe50651e4b39938799ebb1011a730421af1381892 + eastasianwidth: ^0.2.0 + emoji-regex: ^9.2.2 + strip-ansi: ^7.0.1 + checksum: 4da7e3d5d66fbc4eb20f5d40a28c8b2e88e32587327e4c98e63b1664a5306a00ffef78070c4a548ba744bf3a874af5bf66838e73912064664f19ad9be006a310 languageName: node linkType: hard @@ -11506,6 +10033,15 @@ fsevents@^2.1.2: languageName: node linkType: hard +"strip-ansi-cjs@npm:strip-ansi@^6.0.1": + version: 6.0.1 + resolution: "strip-ansi@npm:6.0.1" + dependencies: + ansi-regex: ^5.0.1 + checksum: 9d3061240b03abe5beaf403893464fdc924f43664debe822d5e9146b56c1398b88003f8afdb97eb0cea955c568f6bbfa4923d2b2a08a3a079fd09ee3b5402efb + languageName: node + linkType: hard + "strip-ansi@npm:^3.0.0, strip-ansi@npm:^3.0.1": version: 3.0.1 resolution: "strip-ansi@npm:3.0.1" @@ -11542,6 +10078,15 @@ fsevents@^2.1.2: languageName: node linkType: hard +"strip-ansi@npm:^7.0.1": + version: 7.1.0 + resolution: "strip-ansi@npm:7.1.0" + dependencies: + ansi-regex: ^6.0.1 + checksum: 23e0a12a073da3750237e17388a88af9a2b091e9447752a8bd2a0986a34122301459961a9dfffca5b6826309bd637bcb6ad67506623342f71c125e5bf5b5a6d9 + languageName: node + linkType: hard + "strip-bom@npm:^3.0.0": version: 3.0.0 resolution: "strip-bom@npm:3.0.0" @@ -11549,13 +10094,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"strip-bom@npm:^4.0.0": - version: 4.0.0 - resolution: "strip-bom@npm:4.0.0" - checksum: 25a231aacba2c6ecf37d7389721ff214c7f979e97407c935eeb41f5c5513c80119aada86049408feab74d22e7f1b29d90c942d4d47a4e47868dd16daed035823 - languageName: node - linkType: hard - "strip-eof@npm:^1.0.0": version: 1.0.0 resolution: "strip-eof@npm:1.0.0" @@ -11570,6 +10108,13 @@ fsevents@^2.1.2: languageName: node linkType: hard +"strip-final-newline@npm:^3.0.0": + version: 3.0.0 + resolution: "strip-final-newline@npm:3.0.0" + checksum: 3aec076f8c58e1481d4457282b894b0d9af3f13acfdc5ffa9338b653fb83e3d2e3de52bc737edf8e913ce1350bcd9525b8a4f0d77e6f8ad8ae0c1b0313757073 + languageName: node + linkType: hard + "strip-indent@npm:^3.0.0": version: 3.0.0 resolution: "strip-indent@npm:3.0.0" @@ -11586,6 +10131,15 @@ fsevents@^2.1.2: languageName: node linkType: hard +"strip-literal@npm:^2.0.0": + version: 2.1.0 + resolution: "strip-literal@npm:2.1.0" + dependencies: + js-tokens: ^9.0.0 + checksum: 571fb28f50536cd220aa513d419f15507539f851a7ee77c9037ea818dbb78ebe6e4f41b4216f08537432e0ef3424b90d2178715162bb49e9276fd14a4c78e60d + languageName: node + linkType: hard + "style-value-types@npm:4.1.4": version: 4.1.4 resolution: "style-value-types@npm:4.1.4" @@ -11621,7 +10175,7 @@ fsevents@^2.1.2: languageName: node linkType: hard -"supports-hyperlinks@npm:^2.0.0, supports-hyperlinks@npm:^2.1.0": +"supports-hyperlinks@npm:^2.1.0": version: 2.2.0 resolution: "supports-hyperlinks@npm:2.2.0" dependencies: @@ -11631,13 +10185,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"symbol-tree@npm:^3.2.4": - version: 3.2.4 - resolution: "symbol-tree@npm:3.2.4" - checksum: 0b9af4e5f005f9f0b9c916d91a1b654422ffa49ef09c5c4b6efa7a778f63976be9f410e57db1e9ea7576eea0631a34b69a5622674aa92a60a896ccf2afca87a7 - languageName: node - linkType: hard - "tar@npm:^4.4.10, tar@npm:^4.4.12, tar@npm:^4.4.13": version: 4.4.13 resolution: "tar@npm:4.4.13" @@ -11714,24 +10261,14 @@ fsevents@^2.1.2: languageName: node linkType: hard -"terminal-link@npm:^2.0.0": - version: 2.1.1 - resolution: "terminal-link@npm:2.1.1" - dependencies: - ansi-escapes: ^4.2.1 - supports-hyperlinks: ^2.0.0 - checksum: f84553e11e9dc9034c9a62aeada2985e2c50adf161b773b3e4a5cf174b0d14f6b8868eb1dcdf91c3f71e3d932a3be158b8742c2a43ee459e9b88a246d78a6dc1 - languageName: node - linkType: hard - -"test-exclude@npm:^6.0.0": - version: 6.0.0 - resolution: "test-exclude@npm:6.0.0" +"test-exclude@npm:^7.0.1": + version: 7.0.1 + resolution: "test-exclude@npm:7.0.1" dependencies: "@istanbuljs/schema": ^0.1.2 - glob: ^7.1.4 - minimatch: ^3.0.4 - checksum: 68294d10066726cbced152aeb8a39cf9fd199199c62afb39290b824f613090f2535fc6acbad7d78f1f34cf00f4f00d42fa14f02d6262b910a7c9e2db2ecfa388 + glob: ^10.4.1 + minimatch: ^9.0.4 + checksum: 0d441687985d9ee632b8a0bdddd54f294d0d347ce9b2bee6fea4f5ac7ae7fceac246e4c05a1a579c4784d07efb6f10253671bbcd35a26a75f37836687c0f1f69 languageName: node linkType: hard @@ -11749,13 +10286,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"throat@npm:^5.0.0": - version: 5.0.0 - resolution: "throat@npm:5.0.0" - checksum: 2fa41c09ccd97982cd6601eca704913f5d8ef5cc4070fcd71c67e7240da7c0df86f65f5cb23f5c3132ab5567154740114cc92379663aa098b6076a39481b0f5f - languageName: node - linkType: hard - "through2@npm:^2.0.0, through2@npm:~2.0.0": version: 2.0.5 resolution: "through2@npm:2.0.5" @@ -11803,36 +10333,52 @@ fsevents@^2.1.2: languageName: node linkType: hard -"tmpl@npm:1.0.x": - version: 1.0.4 - resolution: "tmpl@npm:1.0.4" - checksum: 44de07fb81a7273937f3de4b856d12b981b7a9b05a244e6e514e15b072241304cf108f145d2510783eceb91293e237f7e2562b37c8a6e7e6f3fe40daa44259d2 +"tinybench@npm:^2.5.1, tinybench@npm:^2.8.0": + version: 2.9.0 + resolution: "tinybench@npm:2.9.0" + checksum: d8798c5555b18d531ff858024a239816b56231742710cd504fa6653888941c29258926f00bc0c66302ca6a7759fbc3a511ffa540aa0bf15a99e71edcdea8a7c0 languageName: node linkType: hard -"to-fast-properties@npm:^2.0.0": - version: 2.0.0 - resolution: "to-fast-properties@npm:2.0.0" - checksum: 40e61984243b183d575a2f3a87d008bd57102115701ee9037fd673e34becf12ee90262631857410169ca82f401a662ed94482235cea8f3b8dea48b87eaabc467 +"tinypool@npm:^0.8.3": + version: 0.8.4 + resolution: "tinypool@npm:0.8.4" + checksum: 3c81c6fbe4e5f548bec0d37b806fbef4260c36481961e44595d047e48fdfbe713a1cb0c099e95209c35b230738988480b8da08b9641bf6f7a9b4f9fefd7ddae4 languageName: node linkType: hard -"to-object-path@npm:^0.3.0": - version: 0.3.0 - resolution: "to-object-path@npm:0.3.0" - dependencies: - kind-of: ^3.0.2 - checksum: a6a5a502259af744ac4e86752c8e71395c4106cae6f4e2a5c711e6f5de4cdbd08691e9295bf5b6e86b3e12722274fc3c5c0410f5fcf42ca783cc43f62139b5d0 +"tinypool@npm:^1.0.0": + version: 1.0.0 + resolution: "tinypool@npm:1.0.0" + checksum: 8b73d874b603d3a1f37eb1804d5d54f86e633ffd6d86acd138ec4f4a36a4710ee62cb60a9d675aed2a33b167f2aeabbf80b0b38f148b6f8e13e349047fe1d5f6 languageName: node linkType: hard -"to-regex-range@npm:^2.1.0": - version: 2.1.1 - resolution: "to-regex-range@npm:2.1.1" - dependencies: - is-number: ^3.0.0 - repeat-string: ^1.6.1 - checksum: 801501b59d6a2892d88b2ccb78416d6778aec1549da593f83b7bb433a5540995e4c6f2d954ff44d53f38c094d04c0da3ed6f61f110d9cd2ea00cb570b90e81e4 +"tinyrainbow@npm:^1.2.0": + version: 1.2.0 + resolution: "tinyrainbow@npm:1.2.0" + checksum: 9ee05d18f92779d0b84605cd9952f87c02e2b3e4e4ad709b0357ed33bd35117ac2f846bda048617fb48f96b465824e0b544e9ea2a151a1b2b72bc20cf21c15eb + languageName: node + linkType: hard + +"tinyspy@npm:^2.2.0": + version: 2.2.1 + resolution: "tinyspy@npm:2.2.1" + checksum: b9b5276e4f674776461ab6ceee62a30edfd8ccf2987a68e2c7cbd0557c666d139bab60751ddeefc9552cecd0ee594d235e8b1a085ddee494dbac46fb66c02831 + languageName: node + linkType: hard + +"tinyspy@npm:^3.0.0": + version: 3.0.0 + resolution: "tinyspy@npm:3.0.0" + checksum: 6176677fa272dfdae23ebf9966a08006c47954ca2b87c0c034d15b4dfa86e8674d76d1bc135fa5aca2ee3b44ce5b2555501dc6eb3ce051acda7ec38f918f2a12 + languageName: node + linkType: hard + +"to-fast-properties@npm:^2.0.0": + version: 2.0.0 + resolution: "to-fast-properties@npm:2.0.0" + checksum: 40e61984243b183d575a2f3a87d008bd57102115701ee9037fd673e34becf12ee90262631857410169ca82f401a662ed94482235cea8f3b8dea48b87eaabc467 languageName: node linkType: hard @@ -11845,18 +10391,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"to-regex@npm:^3.0.1, to-regex@npm:^3.0.2": - version: 3.0.2 - resolution: "to-regex@npm:3.0.2" - dependencies: - define-property: ^2.0.2 - extend-shallow: ^3.0.2 - regex-not: ^1.0.2 - safe-regex: ^1.1.0 - checksum: ed733fdff8970628ef2d425564d1331a812e57cbb6ab7675c970046b2b792cbf2386c8292e45bb201bf85ca71a7708e3e1ffb979f5cd089ad4a82a12df75939b - languageName: node - linkType: hard - "toggle-selection@npm:^1.0.6": version: 1.0.6 resolution: "toggle-selection@npm:1.0.6" @@ -11864,17 +10398,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"tough-cookie@npm:^4.0.0": - version: 4.0.0 - resolution: "tough-cookie@npm:4.0.0" - dependencies: - psl: ^1.1.33 - punycode: ^2.1.1 - universalify: ^0.1.2 - checksum: 161dc4728e2801c1bd3b32d4d14abd2762120d9ed0b96d892720440aa04ed0ad6c425c38195265c74366fe01d8aaf1cc0a31636cb18b82c9b6ce630743210235 - languageName: node - linkType: hard - "tough-cookie@npm:~2.5.0": version: 2.5.0 resolution: "tough-cookie@npm:2.5.0" @@ -11885,15 +10408,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"tr46@npm:^2.1.0": - version: 2.1.0 - resolution: "tr46@npm:2.1.0" - dependencies: - punycode: ^2.1.1 - checksum: d6da91f2463fa8d30c938331d02bebf01bd96af68016bc233ad37c9e4bc7e607a46065f5eab2034076aab5fdac362c02421b34c29c57095d0d310d3833e2736f - languageName: node - linkType: hard - "traverse@npm:~0.6.6": version: 0.6.6 resolution: "traverse@npm:0.6.6" @@ -11952,19 +10466,10 @@ fsevents@^2.1.2: languageName: node linkType: hard -"type-check@npm:~0.3.2": - version: 0.3.2 - resolution: "type-check@npm:0.3.2" - dependencies: - prelude-ls: ~1.1.2 - checksum: 4e080645319c12bb78119f7e8bb333cab8dacad2c1988597aabf44da985ad36fce3419707e93ed0fc84514b7eec94e4d8817e33d0aab8c81de394916e00d6806 - languageName: node - linkType: hard - -"type-detect@npm:4.0.8": - version: 4.0.8 - resolution: "type-detect@npm:4.0.8" - checksum: e01dc6ac9098192a7859fb86c7b4073709a4e13a5cc02c54d54412378bb099563fda7a7a85640f33e3a7c2e8189182eb1511f263e67f402b2d63fe81afdde785 +"type-detect@npm:^4.0.0, type-detect@npm:^4.1.0": + version: 4.1.0 + resolution: "type-detect@npm:4.1.0" + checksum: 2d5c9dec62b521aefe44c75b4c621b3424769d49f617bdc275ec43824d55207376aad5b96138487aa11e7d0fbbbf5bdd278b5d21fe8b452ac082e8c05aa26412 languageName: node linkType: hard @@ -12026,6 +10531,13 @@ fsevents@^2.1.2: languageName: node linkType: hard +"ufo@npm:^1.5.3": + version: 1.5.4 + resolution: "ufo@npm:1.5.4" + checksum: c9a08e376063cd11b9b11b4d5fb3498db855c1e70f23455b0fc760a676cdf9458c5e9b474938227859abbb50efa959d9b86a731d337ba4055f6195f13a54142a + languageName: node + linkType: hard + "uglify-js@npm:^3.1.4": version: 3.13.9 resolution: "uglify-js@npm:3.13.9" @@ -12061,18 +10573,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"union-value@npm:^1.0.0": - version: 1.0.1 - resolution: "union-value@npm:1.0.1" - dependencies: - arr-union: ^3.1.0 - get-value: ^2.0.6 - is-extendable: ^0.1.1 - set-value: ^2.0.1 - checksum: bd6ae611f09e98d3918ee425b0cb61987e9240672c9822cfac642b0240e7a807c802c1968e0205176d7fa91ca0bba5f625a6937b26b2269620a1402589852fd8 - languageName: node - linkType: hard - "unique-filename@npm:^1.1.1": version: 1.1.1 resolution: "unique-filename@npm:1.1.1" @@ -12125,7 +10625,7 @@ fsevents@^2.1.2: languageName: node linkType: hard -"universalify@npm:^0.1.0, universalify@npm:^0.1.2": +"universalify@npm:^0.1.0": version: 0.1.2 resolution: "universalify@npm:0.1.2" checksum: 420fc6547357782c700d53e9a92506a8e95345b13e97684c8f9ab75237912ec2ebb6af8ac10d4f7406b7b6bd21c58f6c5c0811414fb0b4091b78b4743fa6806e @@ -12146,16 +10646,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"unset-value@npm:^1.0.0": - version: 1.0.0 - resolution: "unset-value@npm:1.0.0" - dependencies: - has-value: ^0.3.1 - isobject: ^3.0.0 - checksum: b4c4853f2744a91e9bb5ccb3dfb28f78c32310bf851f0e6b9e781d3ca5244a803632926b2af701da5f9153a03e405023cebc1f90b87711f73b5fc86b6c33efae - languageName: node - linkType: hard - "unzip-response@npm:^2.0.1": version: 2.0.1 resolution: "unzip-response@npm:2.0.1" @@ -12190,13 +10680,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"urix@npm:^0.1.0": - version: 0.1.0 - resolution: "urix@npm:0.1.0" - checksum: 6bdfca4e7fb7d035537068a47a04ace1bacfa32e6b1aaf54c5a0340c83125a186d59109a19b9a3a1c1f986d3eb718b82faf9ad03d53cb99cf868068580b15b3b - languageName: node - linkType: hard - "url-join@npm:^4.0.0": version: 4.0.1 resolution: "url-join@npm:4.0.1" @@ -12238,13 +10721,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"use@npm:^3.1.0": - version: 3.1.1 - resolution: "use@npm:3.1.1" - checksum: 8dd3bdeeda53864c779e0fa8d799064739708f80b45d06fa48a1a6ba192dc3f9e3266d4556f223cd718d27aedfd957922152e7463c00ac46e185f8331353fb6f - languageName: node - linkType: hard - "util-deprecate@npm:^1.0.1, util-deprecate@npm:~1.0.1": version: 1.0.2 resolution: "util-deprecate@npm:1.0.2" @@ -12277,26 +10753,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"uuid@npm:^8.3.0": - version: 8.3.2 - resolution: "uuid@npm:8.3.2" - bin: - uuid: dist/bin/uuid - checksum: aed2bcef341f95635f308fea8831fb9038b18c485fe7e71feb89d2e05602dfecad0cb6f2246fae096d4da425cca6e8a71056f28abd97ad98cf770a2018853248 - languageName: node - linkType: hard - -"v8-to-istanbul@npm:^7.0.0": - version: 7.1.2 - resolution: "v8-to-istanbul@npm:7.1.2" - dependencies: - "@types/istanbul-lib-coverage": ^2.0.1 - convert-source-map: ^1.6.0 - source-map: ^0.7.3 - checksum: ff653089c952d618b01c5ff1ab4517144240ba0b6193a9e7116d2f19a6990a76f9bdb3e8f31424f556169c3bf29beadb5ddbaa0aded62da9f5ea63116c27c610 - languageName: node - linkType: hard - "validate-npm-package-license@npm:^3.0.1, validate-npm-package-license@npm:^3.0.4": version: 3.0.4 resolution: "validate-npm-package-license@npm:3.0.4" @@ -12327,21 +10783,175 @@ fsevents@^2.1.2: languageName: node linkType: hard -"w3c-hr-time@npm:^1.0.2": - version: 1.0.2 - resolution: "w3c-hr-time@npm:1.0.2" +"vite-node@npm:1.6.0": + version: 1.6.0 + resolution: "vite-node@npm:1.6.0" dependencies: - browser-process-hrtime: ^1.0.0 - checksum: bb021b4c4b15acc26a7b0de5b6f4c02d829b458345af162713685e84698380fabffc7856f4a85ba368f23c8419d3a7a726b628b993ffeb0d5a83d0d57d4cbf72 + cac: ^6.7.14 + debug: ^4.3.4 + pathe: ^1.1.1 + picocolors: ^1.0.0 + vite: ^5.0.0 + bin: + vite-node: vite-node.mjs + checksum: 13defe4bc9d8760e249cf771375155884b3ecd4b70e3225f823570f0625d96d1e0f07e6e52d3f5070d2539f90077fbb0f9c7c8de62f31e64ed75c84ae71a9b28 languageName: node linkType: hard -"w3c-xmlserializer@npm:^2.0.0": - version: 2.0.0 - resolution: "w3c-xmlserializer@npm:2.0.0" +"vite-node@npm:2.0.5": + version: 2.0.5 + resolution: "vite-node@npm:2.0.5" dependencies: - xml-name-validator: ^3.0.0 - checksum: 2327c8a6c7302ed4b685125c193f4b4b859ee12cd6e1938407a02dda9cfcfff7f0c103de387b268444c4b61d7892d5260b5c684eb7519886fb3a07798bd565ba + cac: ^6.7.14 + debug: ^4.3.5 + pathe: ^1.1.2 + tinyrainbow: ^1.2.0 + vite: ^5.0.0 + bin: + vite-node: vite-node.mjs + checksum: 7683576888554c3e199940af1b8ce727654751c7383582e4b1165f0b001452e641c155cbd4a8e1476c8492c253ebf3a82824c20aeea82028903974fe10608730 + languageName: node + linkType: hard + +"vite@npm:^5.0.0": + version: 5.4.1 + resolution: "vite@npm:5.4.1" + dependencies: + esbuild: ^0.21.3 + fsevents: ~2.3.3 + postcss: ^8.4.41 + rollup: ^4.13.0 + peerDependencies: + "@types/node": ^18.0.0 || >=20.0.0 + less: "*" + lightningcss: ^1.21.0 + sass: "*" + sass-embedded: "*" + stylus: "*" + sugarss: "*" + terser: ^5.4.0 + dependenciesMeta: + fsevents: + optional: true + peerDependenciesMeta: + "@types/node": + optional: true + less: + optional: true + lightningcss: + optional: true + sass: + optional: true + sass-embedded: + optional: true + stylus: + optional: true + sugarss: + optional: true + terser: + optional: true + bin: + vite: bin/vite.js + checksum: 2306ab47792a4d43f9eb0f5ce353bdba4f224ebf25190d21be2c519e403cbaf377852f4c32ab529f5b319592ce7930beb8808f53cabf8d9c23d9b94fc6b883d1 + languageName: node + linkType: hard + +"vitest@npm:^1.5.0": + version: 1.6.0 + resolution: "vitest@npm:1.6.0" + dependencies: + "@vitest/expect": 1.6.0 + "@vitest/runner": 1.6.0 + "@vitest/snapshot": 1.6.0 + "@vitest/spy": 1.6.0 + "@vitest/utils": 1.6.0 + acorn-walk: ^8.3.2 + chai: ^4.3.10 + debug: ^4.3.4 + execa: ^8.0.1 + local-pkg: ^0.5.0 + magic-string: ^0.30.5 + pathe: ^1.1.1 + picocolors: ^1.0.0 + std-env: ^3.5.0 + strip-literal: ^2.0.0 + tinybench: ^2.5.1 + tinypool: ^0.8.3 + vite: ^5.0.0 + vite-node: 1.6.0 + why-is-node-running: ^2.2.2 + peerDependencies: + "@edge-runtime/vm": "*" + "@types/node": ^18.0.0 || >=20.0.0 + "@vitest/browser": 1.6.0 + "@vitest/ui": 1.6.0 + happy-dom: "*" + jsdom: "*" + peerDependenciesMeta: + "@edge-runtime/vm": + optional: true + "@types/node": + optional: true + "@vitest/browser": + optional: true + "@vitest/ui": + optional: true + happy-dom: + optional: true + jsdom: + optional: true + bin: + vitest: vitest.mjs + checksum: eaa7b589312e47416a68111b1def012847d5fdcdbdcf226da7f1bb054647c2420d3c94990bf28cfa542df269fef670f7fe4133f0ffd6d6a80b419f765883435a + languageName: node + linkType: hard + +"vitest@npm:^2.0.5": + version: 2.0.5 + resolution: "vitest@npm:2.0.5" + dependencies: + "@ampproject/remapping": ^2.3.0 + "@vitest/expect": 2.0.5 + "@vitest/pretty-format": ^2.0.5 + "@vitest/runner": 2.0.5 + "@vitest/snapshot": 2.0.5 + "@vitest/spy": 2.0.5 + "@vitest/utils": 2.0.5 + chai: ^5.1.1 + debug: ^4.3.5 + execa: ^8.0.1 + magic-string: ^0.30.10 + pathe: ^1.1.2 + std-env: ^3.7.0 + tinybench: ^2.8.0 + tinypool: ^1.0.0 + tinyrainbow: ^1.2.0 + vite: ^5.0.0 + vite-node: 2.0.5 + why-is-node-running: ^2.3.0 + peerDependencies: + "@edge-runtime/vm": "*" + "@types/node": ^18.0.0 || >=20.0.0 + "@vitest/browser": 2.0.5 + "@vitest/ui": 2.0.5 + happy-dom: "*" + jsdom: "*" + peerDependenciesMeta: + "@edge-runtime/vm": + optional: true + "@types/node": + optional: true + "@vitest/browser": + optional: true + "@vitest/ui": + optional: true + happy-dom: + optional: true + jsdom: + optional: true + bin: + vitest: vitest.mjs + checksum: 2c5370bacd6df3df59f23dfbccce7a2ce5fec74dddf8cfc17a7b04c0ffb8d6a43e8fccdc7983a4f8735f45b534e426494561cc6add14e9d6cfb58f4ba9237358 languageName: node linkType: hard @@ -12352,15 +10962,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"walker@npm:^1.0.7, walker@npm:~1.0.5": - version: 1.0.7 - resolution: "walker@npm:1.0.7" - dependencies: - makeerror: 1.0.x - checksum: c014f264c473fc4464ba8f59eb9f7ffa1c0cf2c83b65353de28a6012d8dd29e974bf2b0fbd5c71231f56762a3ea0d970b635f7d6f6d670ff83f426741ce6a4da - languageName: node - linkType: hard - "warning@npm:^4.0.3": version: 4.0.3 resolution: "warning@npm:4.0.3" @@ -12379,47 +10980,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"webidl-conversions@npm:^5.0.0": - version: 5.0.0 - resolution: "webidl-conversions@npm:5.0.0" - checksum: af4e465fb3111f45930e48f8e4206d6ae41675f03f35d6dfa10b2d7186430236ef1b406d8c3e57f75c8a60e424ca715c9fe6b6b2316a1b999ecffe8280414dff - languageName: node - linkType: hard - -"webidl-conversions@npm:^6.1.0": - version: 6.1.0 - resolution: "webidl-conversions@npm:6.1.0" - checksum: 0ded175044ec0a06f41014b9ffc36a67eb22bff53b9cb43fa1e9d05eaded43a100d993a8179d3a9f0f820ff1e5b812107a97c8643b600a6ab5bef1e11fcae66b - languageName: node - linkType: hard - -"whatwg-encoding@npm:^1.0.5": - version: 1.0.5 - resolution: "whatwg-encoding@npm:1.0.5" - dependencies: - iconv-lite: 0.4.24 - checksum: 44e4276ad2c770d1eb8c5a49294b863c581ef4bc78a10ac6a73a7eba00b377bc53ae0501d7ffce29a2c051b6af5ebbbd135f1da7d8eb98097af2cf12f7b2c984 - languageName: node - linkType: hard - -"whatwg-mimetype@npm:^2.3.0": - version: 2.3.0 - resolution: "whatwg-mimetype@npm:2.3.0" - checksum: 926e6ef8c7e53d158e501ce5e3c0e491d343c3c97e71b3d30451ffe4b1d6f81844c336b46a446a0b4f3fe4f327d76e3451d53ee8055344a0f5f2f35b84518011 - languageName: node - linkType: hard - -"whatwg-url@npm:^8.0.0, whatwg-url@npm:^8.5.0": - version: 8.6.0 - resolution: "whatwg-url@npm:8.6.0" - dependencies: - lodash: ^4.7.0 - tr46: ^2.1.0 - webidl-conversions: ^6.1.0 - checksum: 046ce050fcd75892d6d3209ccc94cef8f7a524e206c979b30b847e594cbc4f4039cdad6a8d77dfba45b5bc3f54d784262c008a00c9c6ac7bddc211bdcab8e48e - languageName: node - linkType: hard - "which-boxed-primitive@npm:^1.0.2": version: 1.0.2 resolution: "which-boxed-primitive@npm:1.0.2" @@ -12462,6 +11022,18 @@ fsevents@^2.1.2: languageName: node linkType: hard +"why-is-node-running@npm:^2.2.2, why-is-node-running@npm:^2.3.0": + version: 2.3.0 + resolution: "why-is-node-running@npm:2.3.0" + dependencies: + siginfo: ^2.0.0 + stackback: 0.0.2 + bin: + why-is-node-running: cli.js + checksum: d93456f127756ea971b039d0d91f8c64c2d008a1821c765c475041d81dced555d6149daafde1269091487bef726b4fd4d2133b6565bd859242a3bf62f444abff + languageName: node + linkType: hard + "wide-align@npm:^1.1.0": version: 1.1.3 resolution: "wide-align@npm:1.1.3" @@ -12489,13 +11061,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"word-wrap@npm:~1.2.3": - version: 1.2.3 - resolution: "word-wrap@npm:1.2.3" - checksum: 6526abd75d4409c76d1989cf2fbf6080b903db29824be3d17d0a0b8f6221486c76a021174eda2616cf311199787983c34bae3c5e7b51d2ad7476f2066cddb75a - languageName: node - linkType: hard - "wordwrap@npm:^1.0.0": version: 1.0.0 resolution: "wordwrap@npm:1.0.0" @@ -12512,6 +11077,17 @@ fsevents@^2.1.2: languageName: node linkType: hard +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0, wrap-ansi@npm:^7.0.0": + version: 7.0.0 + resolution: "wrap-ansi@npm:7.0.0" + dependencies: + ansi-styles: ^4.0.0 + string-width: ^4.1.0 + strip-ansi: ^6.0.0 + checksum: 09939dd775ae565bb99a25a6c072fe3775a95fa71751b5533c94265fe986ba3e3ab071a027ab76cf26876bd9afd10ac3c2d06d7c4bcce148bf7d2d9514e3a0df + languageName: node + linkType: hard + "wrap-ansi@npm:^2.0.0": version: 2.1.0 resolution: "wrap-ansi@npm:2.1.0" @@ -12544,14 +11120,14 @@ fsevents@^2.1.2: languageName: node linkType: hard -"wrap-ansi@npm:^7.0.0": - version: 7.0.0 - resolution: "wrap-ansi@npm:7.0.0" +"wrap-ansi@npm:^8.1.0": + version: 8.1.0 + resolution: "wrap-ansi@npm:8.1.0" dependencies: - ansi-styles: ^4.0.0 - string-width: ^4.1.0 - strip-ansi: ^6.0.0 - checksum: 09939dd775ae565bb99a25a6c072fe3775a95fa71751b5533c94265fe986ba3e3ab071a027ab76cf26876bd9afd10ac3c2d06d7c4bcce148bf7d2d9514e3a0df + ansi-styles: ^6.1.0 + string-width: ^5.0.1 + strip-ansi: ^7.0.1 + checksum: f75c2443bdcb8d4301165839ca904ccc5c4e6810d7791c7968096bc85153b3229be6b8a0b95fac18fad509eaddf39b5f9c4929486d3a97560d0a16eba394ef79 languageName: node linkType: hard @@ -12573,7 +11149,7 @@ fsevents@^2.1.2: languageName: node linkType: hard -"write-file-atomic@npm:^3.0.0, write-file-atomic@npm:^3.0.3": +"write-file-atomic@npm:^3.0.3": version: 3.0.3 resolution: "write-file-atomic@npm:3.0.3" dependencies: @@ -12585,21 +11161,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"ws@npm:^7.4.5": - version: 7.5.0 - resolution: "ws@npm:7.5.0" - peerDependencies: - bufferutil: ^4.0.1 - utf-8-validate: ^5.0.2 - peerDependenciesMeta: - bufferutil: - optional: true - utf-8-validate: - optional: true - checksum: f9ac36310e795995f13ac7abff9c3b104b2460864de7f0b6233d285f62c6929529e24f386ff87740c3646f818fefa014be587371aa9a5a6fffae2cd9d1e9e008 - languageName: node - linkType: hard - "xdg-basedir@npm:^3.0.0": version: 3.0.0 resolution: "xdg-basedir@npm:3.0.0" @@ -12607,20 +11168,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"xml-name-validator@npm:^3.0.0": - version: 3.0.0 - resolution: "xml-name-validator@npm:3.0.0" - checksum: b96679a42e6be36d2433987fe3cc45e972d20d7c2c2a787a2d6b2da94392bd9f23f671cdba29a91211289a2fa8e6965e466dbc1105d0e5730fc3a43e4f1a0688 - languageName: node - linkType: hard - -"xmlchars@npm:^2.2.0": - version: 2.2.0 - resolution: "xmlchars@npm:2.2.0" - checksum: 69bbb61e8d939873c8aa7d006d082944de2eb6f12f55e53fdfc670d544e677736b59e498ece303f264bd1dc39b77557eef1c1c9bfb09eb5e1e30ac552420d81e - languageName: node - linkType: hard - "xtend@npm:~4.0.1": version: 4.0.2 resolution: "xtend@npm:4.0.2" @@ -12687,16 +11234,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"yargs-parser@npm:^18.1.2": - version: 18.1.3 - resolution: "yargs-parser@npm:18.1.3" - dependencies: - camelcase: ^5.0.0 - decamelize: ^1.2.0 - checksum: 33871721679053cc38165afc6356c06c3e820459589b5db78f315886105070eb90cbb583cd6515fa4231937d60c80262ca2b7c486d5942576802446318a39597 - languageName: node - linkType: hard - "yargs-parser@npm:^20.2.2, yargs-parser@npm:^20.2.3": version: 20.2.9 resolution: "yargs-parser@npm:20.2.9" @@ -12732,25 +11269,6 @@ fsevents@^2.1.2: languageName: node linkType: hard -"yargs@npm:^15.4.1": - version: 15.4.1 - resolution: "yargs@npm:15.4.1" - dependencies: - cliui: ^6.0.0 - decamelize: ^1.2.0 - find-up: ^4.1.0 - get-caller-file: ^2.0.1 - require-directory: ^2.1.1 - require-main-filename: ^2.0.0 - set-blocking: ^2.0.0 - string-width: ^4.2.0 - which-module: ^2.0.0 - y18n: ^4.0.0 - yargs-parser: ^18.1.2 - checksum: dbf687d6b938f01bbf11e158dde6df906282b70cd9295af0217ee8cefbd83ad09d49fa9458d0d5325b0e66f03df954a38986db96f91e5b46ccdbbaf9a0157b23 - languageName: node - linkType: hard - "yargs@npm:^16.2.0": version: 16.2.0 resolution: "yargs@npm:16.2.0" @@ -12786,3 +11304,10 @@ fsevents@^2.1.2: checksum: 6930d9cddd837795714079549d994fe2bd2de33bf7d2f08a48caa0848ff5fbd23e976f3cbd98d2003f91a40b94789144d87744b681a99620b5c97ccbe694c0e9 languageName: node linkType: hard + +"yocto-queue@npm:^1.0.0": + version: 1.1.1 + resolution: "yocto-queue@npm:1.1.1" + checksum: 14c2128f66d9d0b79e37ed2afe8d96b351b69259bcf9bfe9b9ca574e34b66107ba54c43a380b76b28a4085d408b4a22fc03b02d05c29a0c0ae0c6812d3e9ff13 + languageName: node + linkType: hard