Commit Graph

1570 Commits

Author SHA1 Message Date
Vyacheslav Matyukhin
250d42707c
language server for vscode; patched vsce 2022-06-22 01:00:43 +03:00
Vyacheslav Matyukhin
84a0d83efb
store location on RESyntaxError; export parse() function 2022-06-22 00:34:35 +03:00
Recursing
f365cdef70 Mention requirement on components in README 2022-06-21 23:02:55 +02:00
Quinn Dougherty
507d8e9f98 regenerated yarn.lock; moved fc.float to fc.double in symbolic_test.ts 2022-06-21 16:14:45 -04:00
Quinn Dougherty
cae57a1b4e Revert "COMMIT TO BE TRASHED"
This reverts commit b12f87df44.
2022-06-21 15:58:50 -04:00
Quinn Dougherty
b12f87df44 COMMIT TO BE TRASHED 2022-06-21 15:56:12 -04:00
Quinn Dougherty
444596aac4 some of the problems solved 2022-06-21 15:43:17 -04:00
Quinn Dougherty
e345ca2039 merging develop into dependabot/npm_and_yarn/fast-check-3.0.0 2022-06-21 12:53:40 -04:00
Vyacheslav Matyukhin
f7bf1681d6
remove vscode-uri dep, release 0.1.2 ext version 2022-06-21 01:07:27 +03:00
Vyacheslav Matyukhin
9aa97f66b0
vscode: some docs, squiggleU support 2022-06-21 00:46:12 +03:00
Vyacheslav Matyukhin
a81c0aae0b
fix vscode-uri dependency 2022-06-21 00:43:50 +03:00
Vyacheslav Matyukhin
00b1e6bb96
basic language-configuration 2022-06-21 00:26:16 +03:00
Vyacheslav Matyukhin
dab6b3d09e
highlight keywords 2022-06-20 23:57:27 +03:00
Vyacheslav Matyukhin
7441027e0f
first try at squiggle syntax highlighting 2022-06-20 23:36:46 +03:00
Vyacheslav Matyukhin
a2a6ff8ad0
vscode: configuration for show* 2022-06-20 23:34:53 +03:00
Vyacheslav Matyukhin
24f4143cda
preview mode for vscode ext 2022-06-20 23:34:50 +03:00
dependabot[bot]
6b1f2b095a
⬆️ Bump fast-check from 2.25.0 to 3.0.0
Bumps [fast-check](https://github.com/dubzzz/fast-check) from 2.25.0 to 3.0.0.
- [Release notes](https://github.com/dubzzz/fast-check/releases)
- [Changelog](https://github.com/dubzzz/fast-check/blob/main/CHANGELOG.md)
- [Commits](https://github.com/dubzzz/fast-check/compare/v2.25.0...v3.0.0)

---
updated-dependencies:
- dependency-name: fast-check
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 17:56:35 +00:00
dependabot[bot]
12a1c88ab4
⬆️ Bump typescript from 4.7.3 to 4.7.4
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.7.3 to 4.7.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.7.3...v4.7.4)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 17:43:29 +00:00
Ozzie Gooen
c403be5903
Merge pull request #741 from quantified-uncertainty/vscodeext-ops-docs
Vscodeext ops docs (begin issue 729)
2022-06-20 10:33:31 -07:00
Quinn
45106afb2f
Merge pull request #742 from quantified-uncertainty/dependabot/npm_and_yarn/storybook/manager-webpack5-6.5.9
⬆️ Bump @storybook/manager-webpack5 from 6.5.8 to 6.5.9
2022-06-20 12:47:05 -04:00
Quinn
3b65b1b4d1
Merge pull request #743 from quantified-uncertainty/dependabot/npm_and_yarn/mini-css-extract-plugin-2.6.1
⬆️ Bump mini-css-extract-plugin from 2.6.0 to 2.6.1
2022-06-20 12:36:20 -04:00
dependabot[bot]
be0f71d90d
⬆️ Bump @storybook/manager-webpack5 from 6.5.8 to 6.5.9
Bumps [@storybook/manager-webpack5](https://github.com/storybookjs/storybook/tree/HEAD/lib/core) from 6.5.8 to 6.5.9.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.9/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.9/lib/core)

---
updated-dependencies:
- dependency-name: "@storybook/manager-webpack5"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 16:24:18 +00:00
dependabot[bot]
b194de76fc
⬆️ Bump mini-css-extract-plugin from 2.6.0 to 2.6.1
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v2.6.0...v2.6.1)

---
updated-dependencies:
- dependency-name: mini-css-extract-plugin
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 16:17:19 +00:00
dependabot[bot]
4ee060fff7
⬆️ Bump @types/node from 17.0.42 to 18.0.0
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.42 to 18.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 16:16:09 +00:00
Quinn
cf0518edf5
Merge pull request #739 from quantified-uncertainty/dependabot/npm_and_yarn/headlessui/react-1.6.5
⬆️ Bump @headlessui/react from 1.6.4 to 1.6.5
2022-06-20 12:14:43 -04:00
Quinn
e5228eeb61
Merge pull request #738 from quantified-uncertainty/dependabot/npm_and_yarn/storybook/react-6.5.9
⬆️ Bump @storybook/react from 6.5.8 to 6.5.9
2022-06-20 12:14:28 -04:00
dependabot[bot]
d177bb07c1
⬆️ Bump @headlessui/react from 1.6.4 to 1.6.5
Bumps [@headlessui/react](https://github.com/tailwindlabs/headlessui/tree/HEAD/packages/@headlessui-react) from 1.6.4 to 1.6.5.
- [Release notes](https://github.com/tailwindlabs/headlessui/releases)
- [Changelog](https://github.com/tailwindlabs/headlessui/blob/main/packages/@headlessui-react/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/headlessui/commits/@headlessui/react@v1.6.5/packages/@headlessui-react)

---
updated-dependencies:
- dependency-name: "@headlessui/react"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 16:01:06 +00:00
Quinn Dougherty
0eebacf85d updated README.md in vscode-ext 2022-06-20 11:59:10 -04:00
dependabot[bot]
2797aceb0d
Merge pull request #737 from quantified-uncertainty/dependabot/npm_and_yarn/storybook/addon-links-6.5.9 2022-06-20 15:57:22 +00:00
Quinn Dougherty
ddb373de8a ran prettier from toplevel 2022-06-20 11:53:19 -04:00
Quinn Dougherty
358769a179 issue #729 2022-06-20 11:52:54 -04:00
Quinn Dougherty
7e6dbf260f some linty thing apparently 2022-06-20 11:51:09 -04:00
dependabot[bot]
3da9ed2e80
Merge pull request #736 from quantified-uncertainty/dependabot/npm_and_yarn/tailwindcss-3.1.3 2022-06-20 15:49:38 +00:00
dependabot[bot]
49e90b86b7
⬆️ Bump @storybook/react from 6.5.8 to 6.5.9
Bumps [@storybook/react](https://github.com/storybookjs/storybook/tree/HEAD/app/react) from 6.5.8 to 6.5.9.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.9/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.9/app/react)

---
updated-dependencies:
- dependency-name: "@storybook/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 15:46:42 +00:00
dependabot[bot]
39e1302fa8
⬆️ Bump @storybook/addon-links from 6.5.8 to 6.5.9
Bumps [@storybook/addon-links](https://github.com/storybookjs/storybook/tree/HEAD/addons/links) from 6.5.8 to 6.5.9.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.9/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.9/addons/links)

---
updated-dependencies:
- dependency-name: "@storybook/addon-links"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 15:46:21 +00:00
Quinn
cb2fbb0c07
Merge pull request #735 from quantified-uncertainty/dependabot/npm_and_yarn/react-hook-form-7.32.2
⬆️ Bump react-hook-form from 7.32.0 to 7.32.2
2022-06-20 11:44:52 -04:00
dependabot[bot]
9fc25fcc38
Merge pull request #732 from quantified-uncertainty/dependabot/npm_and_yarn/vega-embed-6.21.0 2022-06-20 15:35:16 +00:00
dependabot[bot]
90c4aae9af
⬆️ Bump tailwindcss from 3.1.2 to 3.1.3
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.1.2...v3.1.3)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 15:23:34 +00:00
dependabot[bot]
f81b338b51
Merge pull request #726 from quantified-uncertainty/dependabot/npm_and_yarn/storybook/builder-webpack5-6.5.9 2022-06-20 15:22:15 +00:00
dependabot[bot]
fab193bec1
⬆️ Bump react-hook-form from 7.32.0 to 7.32.2
Bumps [react-hook-form](https://github.com/react-hook-form/react-hook-form) from 7.32.0 to 7.32.2.
- [Release notes](https://github.com/react-hook-form/react-hook-form/releases)
- [Changelog](https://github.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md)
- [Commits](https://github.com/react-hook-form/react-hook-form/compare/v7.32.0...v7.32.2)

---
updated-dependencies:
- dependency-name: react-hook-form
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 15:21:45 +00:00
Quinn
5fd72a98d8
Merge pull request #733 from quantified-uncertainty/dependabot/npm_and_yarn/testing-library/user-event-14.2.1
⬆️ Bump @testing-library/user-event from 14.2.0 to 14.2.1
2022-06-20 11:20:42 -04:00
dependabot[bot]
74f512e841
⬆️ Bump @storybook/builder-webpack5 from 6.5.8 to 6.5.9
Bumps [@storybook/builder-webpack5](https://github.com/storybookjs/storybook/tree/HEAD/lib/core) from 6.5.8 to 6.5.9.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.9/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.9/lib/core)

---
updated-dependencies:
- dependency-name: "@storybook/builder-webpack5"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 15:15:53 +00:00
dependabot[bot]
7909fa584f
⬆️ Bump vega-embed from 6.20.8 to 6.21.0
Bumps [vega-embed](https://github.com/vega/vega-embed) from 6.20.8 to 6.21.0.
- [Release notes](https://github.com/vega/vega-embed/releases)
- [Changelog](https://github.com/vega/vega-embed/blob/v6.21.0/CHANGELOG.md)
- [Commits](https://github.com/vega/vega-embed/compare/v6.20.8...v6.21.0)

---
updated-dependencies:
- dependency-name: vega-embed
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 15:15:47 +00:00
dependabot[bot]
9574eaf1d9
Merge pull request #725 from quantified-uncertainty/dependabot/npm_and_yarn/storybook/addon-essentials-6.5.9 2022-06-20 15:14:22 +00:00
dependabot[bot]
616f16c7ee
⬆️ Bump @testing-library/user-event from 14.2.0 to 14.2.1
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 14.2.0 to 14.2.1.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v14.2...v14.2.1)

---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 15:13:09 +00:00
Quinn
e908b8cc33
Merge pull request #731 from quantified-uncertainty/dependabot/npm_and_yarn/react-dom-18.2.0
⬆️ Bump react-dom from 18.1.0 to 18.2.0
2022-06-20 11:12:03 -04:00
dependabot[bot]
d8a074ccf0
⬆️ Bump @storybook/addon-essentials from 6.5.8 to 6.5.9
Bumps [@storybook/addon-essentials](https://github.com/storybookjs/storybook/tree/HEAD/addons/essentials) from 6.5.8 to 6.5.9.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.9/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.9/addons/essentials)

---
updated-dependencies:
- dependency-name: "@storybook/addon-essentials"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 14:55:55 +00:00
dependabot[bot]
b3d64f8cbf
⬆️ Bump react-dom from 18.1.0 to 18.2.0
Bumps [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) from 18.1.0 to 18.2.0.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v18.2.0/packages/react-dom)

---
updated-dependencies:
- dependency-name: react-dom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 14:54:39 +00:00
Quinn
1a56efc5fc
Merge pull request #724 from quantified-uncertainty/dependabot/npm_and_yarn/storybook/node-logger-6.5.9
⬆️ Bump @storybook/node-logger from 6.5.8 to 6.5.9
2022-06-20 10:53:46 -04:00
Quinn
05290a746a
Merge pull request #727 from quantified-uncertainty/dependabot/npm_and_yarn/eslint-8.18.0
⬆️ Bump eslint from 8.17.0 to 8.18.0
2022-06-20 10:46:20 -04:00
dependabot[bot]
9a04003a8e
⬆️ Bump eslint from 8.17.0 to 8.18.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.17.0 to 8.18.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.17.0...v8.18.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 14:44:38 +00:00
dependabot[bot]
47fbc5dbf1
⬆️ Bump @storybook/node-logger from 6.5.8 to 6.5.9
Bumps [@storybook/node-logger](https://github.com/storybookjs/storybook/tree/HEAD/lib/node-logger) from 6.5.8 to 6.5.9.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.9/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.9/lib/node-logger)

---
updated-dependencies:
- dependency-name: "@storybook/node-logger"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 14:37:55 +00:00
dependabot[bot]
9665c5c159
⬆️ Bump @storybook/addon-actions from 6.5.8 to 6.5.9
Bumps [@storybook/addon-actions](https://github.com/storybookjs/storybook/tree/HEAD/addons/actions) from 6.5.8 to 6.5.9.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.9/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.9/addons/actions)

---
updated-dependencies:
- dependency-name: "@storybook/addon-actions"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-20 14:36:42 +00:00
Ozzie Gooen
a3d47c4280
Update README.md 2022-06-20 06:39:13 -07:00
a7db7c23d5 tweak: Add documentation for using in nextjs 2022-06-20 01:45:54 -04:00
Vyacheslav Matyukhin
237f6f01d9
rebuild deps on vscode compile; split components build targets 2022-06-19 23:59:17 +03:00
Ozzie Gooen
df558f40d7 Merge branch 'develop' of github.com:quantified-uncertainty/squiggle into develop
* 'develop' of github.com:quantified-uncertainty/squiggle:
  new vscode ext publisher & icon
  vscode ext 0.0.2, minor tweaks
  package react for vscode ext; minor cleanups
  get rid of generated vscode readme
  full white background for vscode custom editor
2022-06-19 12:27:26 -07:00
Ozzie Gooen
fc55f01d45 Updated cli version 2022-06-19 12:27:16 -07:00
Ozzie Gooen
e540af3355
Merge pull request #714 from quantified-uncertainty/more-vscode
More vscode ext stuff
2022-06-18 14:20:23 -07:00
Vyacheslav Matyukhin
112eae9115
new vscode ext publisher & icon 2022-06-18 23:56:05 +03:00
Ozzie Gooen
02af4393b0
Merge pull request #707 from quantified-uncertainty/cli
Simple CLI for compiling @import statements
2022-06-18 13:09:31 -07:00
Vyacheslav Matyukhin
0cd5a9547f
don't set playground height (fixes #660) 2022-06-18 22:49:52 +03:00
Vyacheslav Matyukhin
e2c9dfaacc
recursive imports in CLI 2022-06-18 22:17:23 +03:00
Vyacheslav Matyukhin
77c2e51aca
vscode ext 0.0.2, minor tweaks 2022-06-18 21:39:23 +03:00
Vyacheslav Matyukhin
ba496eb1a1
package react for vscode ext; minor cleanups 2022-06-18 21:05:09 +03:00
Vyacheslav Matyukhin
387e6bae37
get rid of generated vscode readme 2022-06-18 21:05:09 +03:00
Vyacheslav Matyukhin
a538fcabad
full white background for vscode custom editor 2022-06-18 21:05:09 +03:00
Ozzie Gooen
8b25a938e1
Merge pull request #709 from quantified-uncertainty/packaging-improvements 2022-06-18 10:42:35 -07:00
Vyacheslav Matyukhin
cf96d1b2d9
fix playground focus issue 2022-06-18 19:47:05 +03:00
Vyacheslav Matyukhin
70698a4e4d
move react to peerDependencies (fixes #494) 2022-06-18 14:14:54 +03:00
Vyacheslav Matyukhin
0cada912e1
fix react externals in components 2022-06-18 14:14:01 +03:00
Ozzie Gooen
930c6ef474 First attempt at new CLI 2022-06-17 21:45:58 -07:00
Ozzie Gooen
60213d8321 Merged with develop 2022-06-17 16:01:30 -07:00
Ozzie Gooen
0bd407d3f4 Merge branch 'develop' into vscode
* develop:
  fix SquigglePlayground in storybook
  Ran formatter
  Added scaleMultiply to docs
  Added scaleMultiply
  useSquiggle and useSquigglePartial hooks
  v0.2.11
  fix: Make lodash a dependency, rather than a dev dependency
  Ran formatting
  Normalize after trunctae
  Ran formatter
  Added descriptions to last API types
  Fixed link that was breaking build
  Small edits to guides section
  More progress on DistGeneric
  Ran format
  Added key math variables, all lowercase
  Removed the definitions tags in documentation
  Minor cleanup on distributions
  Lots of documentation tweaks
2022-06-17 15:57:36 -07:00
Ozzie Gooen
38a0e78873 Refactors to address CR 2022-06-17 15:47:37 -07:00
Ozzie Gooen
a563898a5f Merge with develop 2022-06-17 12:45:42 -07:00
Ozzie Gooen
5c7c20195e
Merge pull request #705 from quantified-uncertainty/adds-scaleMultiply
Adds scaleMultiply()
2022-06-17 12:40:27 -07:00
Vyacheslav Matyukhin
588cf0cb27
fix SquigglePlayground in storybook 2022-06-17 22:25:36 +03:00
Ozzie Gooen
8f3502b1a2 Ran formatter 2022-06-17 07:47:46 -07:00
Ozzie Gooen
342b5ba17b Tiny css cleanup 2022-06-17 07:45:58 -07:00
Ozzie Gooen
8e7756fe35 Added Module type display and better error message if no type is found 2022-06-17 07:42:44 -07:00
Ozzie Gooen
f156840d65 Added toggle to optionally display code editor 2022-06-17 07:31:59 -07:00
Ozzie Gooen
ca73bdc97f Merge branch 'develop' into june-17-2022-adjustements
* develop:
  useSquiggle and useSquigglePartial hooks
2022-06-17 06:51:10 -07:00
Ozzie Gooen
86fa502e5a Added scaleMultiply to docs 2022-06-17 06:49:55 -07:00
Ozzie Gooen
feda8997a6
Merge pull request #702 from quantified-uncertainty/components-hooks
useSquiggle and useSquigglePartial hooks - components refactorings
2022-06-17 06:49:32 -07:00
Ozzie Gooen
8d311a099d Added scaleMultiply 2022-06-17 06:44:06 -07:00
Vyacheslav Matyukhin
618028d772
vscode extension
also:
- don't bundle react and react-dom with webpack
- controlled mode for SquigglePlayground
2022-06-17 00:37:20 +03:00
Vyacheslav Matyukhin
e8e8a06f7a
useSquiggle and useSquigglePartial hooks 2022-06-16 13:05:48 +03:00
ba5f703d03 v0.2.11 2022-06-15 00:15:17 -04:00
1a98392c78 fix: Make lodash a dependency, rather than a dev dependency
I'm hoping this fixes my current error when using the
npm package.

Looking at the compiled outputs into js, the first line is:

import * as _ from "lodash";

But, because lodash is not a dependency, but rather a dev dependency,
this brings up an error when downloading and using from npm,
so the current npm package does not run

I am hoping that this simple fix will fix that.
2022-06-14 23:45:40 -04:00
Ozzie Gooen
d4535df712
Merge pull request #696 from quantified-uncertainty/normalize-after-truncate
Normalize after truncate
2022-06-14 17:14:03 -07:00
Ozzie Gooen
6278dff818 Ran formatting 2022-06-14 17:00:09 -07:00
Ozzie Gooen
76281ee16d
Merge pull request #686 from quantified-uncertainty/documentation-refactor-June12-2022
Documentation refactor june12 2022
2022-06-14 16:57:09 -07:00
Ozzie Gooen
7ceae18611 Normalize after trunctae 2022-06-14 16:54:59 -07:00
Ozzie Gooen
605afc03cc Ran formatter 2022-06-14 16:47:31 -07:00
Ozzie Gooen
1d4aea2731 Added descriptions to last API types 2022-06-14 16:12:29 -07:00
Ozzie Gooen
d4e3579211 Fixed link that was breaking build 2022-06-14 14:47:09 -07:00
Ozzie Gooen
858e0e5ee5 Small edits to guides section 2022-06-14 14:37:59 -07:00
Ozzie Gooen
906878f19f
Merge pull request #694 from quantified-uncertainty/tailwind-forms-fix
Fix react-ace/tailwind css collision (fixes #672); fix preflight configuration
2022-06-14 06:26:18 -07:00
Vyacheslav Matyukhin
ee7c994561
fix missing clsx dep in components 2022-06-14 12:35:00 +03:00
Vyacheslav Matyukhin
6c6eba2cec
prettierignore forms css 2022-06-14 12:08:56 +03:00
Vyacheslav Matyukhin
a9ebd5b961
don't use tailwindcss/forms in website 2022-06-14 12:05:13 +03:00
Vyacheslav Matyukhin
2842965913
fix react-ace/tailwind css collision (fixes #672)
Also: fix preflight configuration
2022-06-14 11:57:28 +03:00
Ozzie Gooen
62ed997de2 More progress on DistGeneric 2022-06-13 18:13:43 -07:00
Ozzie Gooen
6a4132c955 Ran format 2022-06-13 12:10:24 -07:00
Ozzie Gooen
2dc71315ef Added key math variables, all lowercase 2022-06-13 11:43:26 -07:00
Ozzie Gooen
f01df95381 Merge branch 'develop' into documentation-refactor-June12-2022
* develop:
  ⬆️ Bump @storybook/builder-webpack5 from 6.5.7 to 6.5.8
  ⬆️ Bump @storybook/react from 6.5.7 to 6.5.8
  ⬆️ Bump @storybook/addon-essentials from 6.5.7 to 6.5.8
  always merge stdlib
  ⬆️ Bump webpack-dev-server from 4.9.1 to 4.9.2
  ⬆️ Bump @types/node from 17.0.40 to 17.0.42
  ⬆️ Bump reanalyze from 2.22.0 to 2.23.0
  ⬆️ Bump @storybook/manager-webpack5 from 6.5.7 to 6.5.8
  ⬆️ Bump @storybook/addon-actions from 6.5.7 to 6.5.8
  ⬆️ Bump webpack-cli from 4.9.2 to 4.10.0
  ⬆️ Bump @storybook/addon-links from 6.5.7 to 6.5.8
  ⬆️ Bump @hookform/resolvers from 2.9.0 to 2.9.1
  ⬆️ Bump react-hook-form from 7.31.3 to 7.32.0
  ⬆️ Bump tailwindcss from 3.0.24 to 3.1.2
2022-06-13 11:04:21 -07:00
Ozzie Gooen
ae3224b25e
Merge pull request #691 from quantified-uncertainty/reducer-modules
fixes #676, closes #170
2022-06-13 11:02:20 -07:00
dependabot[bot]
62af581042
Merge pull request #692 from quantified-uncertainty/dependabot/npm_and_yarn/storybook/builder-webpack5-6.5.8 2022-06-13 18:00:52 +00:00
Umur Ozkul
27a411e848 Merge branch 'develop' into reducer-modules 2022-06-13 19:37:01 +02:00
dependabot[bot]
28c3361f7d
⬆️ Bump @storybook/builder-webpack5 from 6.5.7 to 6.5.8
Bumps [@storybook/builder-webpack5](https://github.com/storybookjs/storybook/tree/HEAD/lib/core) from 6.5.7 to 6.5.8.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.8/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.8/lib/core)

---
updated-dependencies:
- dependency-name: "@storybook/builder-webpack5"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 17:24:19 +00:00
dependabot[bot]
5c1de63fa0
⬆️ Bump @storybook/react from 6.5.7 to 6.5.8
Bumps [@storybook/react](https://github.com/storybookjs/storybook/tree/HEAD/app/react) from 6.5.7 to 6.5.8.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.8/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.8/app/react)

---
updated-dependencies:
- dependency-name: "@storybook/react"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 17:24:08 +00:00
dependabot[bot]
08de118e58
⬆️ Bump @storybook/addon-essentials from 6.5.7 to 6.5.8
Bumps [@storybook/addon-essentials](https://github.com/storybookjs/storybook/tree/HEAD/addons/essentials) from 6.5.7 to 6.5.8.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.8/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.8/addons/essentials)

---
updated-dependencies:
- dependency-name: "@storybook/addon-essentials"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 17:14:44 +00:00
dependabot[bot]
0d58a7f985
Merge pull request #688 from quantified-uncertainty/dependabot/npm_and_yarn/webpack-dev-server-4.9.2 2022-06-13 17:13:39 +00:00
dependabot[bot]
1e69d616d5
Merge pull request #687 from quantified-uncertainty/dependabot/npm_and_yarn/types/node-17.0.42 2022-06-13 17:13:08 +00:00
Umur Ozkul
e661665385 Merge branch 'develop' into reducer-modules 2022-06-13 18:56:37 +02:00
Umur Ozkul
28938adf53 always merge stdlib 2022-06-13 18:54:48 +02:00
dependabot[bot]
581161b1fe
⬆️ Bump webpack-dev-server from 4.9.1 to 4.9.2
Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.9.1 to 4.9.2.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v4.9.1...v4.9.2)

---
updated-dependencies:
- dependency-name: webpack-dev-server
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 16:00:23 +00:00
Ozzie Gooen
3ae8c02580
Merge pull request #685 from quantified-uncertainty/dependabot/npm_and_yarn/reanalyze-2.23.0
⬆️ Bump reanalyze from 2.22.0 to 2.23.0
2022-06-13 09:00:23 -07:00
dependabot[bot]
173b0d33ba
⬆️ Bump @types/node from 17.0.40 to 17.0.42
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.40 to 17.0.42.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 15:59:57 +00:00
Ozzie Gooen
c24a434e84
Merge pull request #683 from quantified-uncertainty/dependabot/npm_and_yarn/storybook/addon-actions-6.5.8
⬆️ Bump @storybook/addon-actions from 6.5.7 to 6.5.8
2022-06-13 08:59:16 -07:00
Ozzie Gooen
2c692b7596
Merge pull request #684 from quantified-uncertainty/dependabot/npm_and_yarn/storybook/manager-webpack5-6.5.8
⬆️ Bump @storybook/manager-webpack5 from 6.5.7 to 6.5.8
2022-06-13 08:59:07 -07:00
dependabot[bot]
0030873bc5
⬆️ Bump reanalyze from 2.22.0 to 2.23.0
Bumps [reanalyze](https://github.com/cristianoc/reanalyze) from 2.22.0 to 2.23.0.
- [Release notes](https://github.com/cristianoc/reanalyze/releases)
- [Changelog](https://github.com/rescript-association/reanalyze/blob/master/Changes.md)
- [Commits](https://github.com/cristianoc/reanalyze/compare/v2.22.0...v2.23.0)

---
updated-dependencies:
- dependency-name: reanalyze
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 15:39:41 +00:00
Ozzie Gooen
3c5ca67d2b
Merge pull request #677 from quantified-uncertainty/dependabot/npm_and_yarn/tailwindcss-3.1.2
⬆️ Bump tailwindcss from 3.0.24 to 3.1.2
2022-06-13 08:38:35 -07:00
dependabot[bot]
a3b8b3bb31
⬆️ Bump @storybook/manager-webpack5 from 6.5.7 to 6.5.8
Bumps [@storybook/manager-webpack5](https://github.com/storybookjs/storybook/tree/HEAD/lib/core) from 6.5.7 to 6.5.8.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.8/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.8/lib/core)

---
updated-dependencies:
- dependency-name: "@storybook/manager-webpack5"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 15:36:12 +00:00
dependabot[bot]
e40d5f5c8a
⬆️ Bump @storybook/addon-actions from 6.5.7 to 6.5.8
Bumps [@storybook/addon-actions](https://github.com/storybookjs/storybook/tree/HEAD/addons/actions) from 6.5.7 to 6.5.8.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.8/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.8/addons/actions)

---
updated-dependencies:
- dependency-name: "@storybook/addon-actions"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 15:35:47 +00:00
Ozzie Gooen
83cf185d17
Merge pull request #679 from quantified-uncertainty/dependabot/npm_and_yarn/react-hook-form-7.32.0
⬆️ Bump react-hook-form from 7.31.3 to 7.32.0
2022-06-13 08:35:02 -07:00
Ozzie Gooen
bce896130b
Merge pull request #680 from quantified-uncertainty/dependabot/npm_and_yarn/hookform/resolvers-2.9.1
⬆️ Bump @hookform/resolvers from 2.9.0 to 2.9.1
2022-06-13 08:34:52 -07:00
Ozzie Gooen
46ad9d03df
Merge pull request #681 from quantified-uncertainty/dependabot/npm_and_yarn/storybook/addon-links-6.5.8
⬆️ Bump @storybook/addon-links from 6.5.7 to 6.5.8
2022-06-13 08:34:45 -07:00
dependabot[bot]
097c983c49
⬆️ Bump webpack-cli from 4.9.2 to 4.10.0
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.9.2 to 4.10.0.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.9.2...webpack-cli@4.10.0)

---
updated-dependencies:
- dependency-name: webpack-cli
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 14:31:43 +00:00
dependabot[bot]
8aef1987ad
⬆️ Bump @storybook/addon-links from 6.5.7 to 6.5.8
Bumps [@storybook/addon-links](https://github.com/storybookjs/storybook/tree/HEAD/addons/links) from 6.5.7 to 6.5.8.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.8/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.8/addons/links)

---
updated-dependencies:
- dependency-name: "@storybook/addon-links"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 14:31:20 +00:00
dependabot[bot]
ed3b1c3ddc
⬆️ Bump @hookform/resolvers from 2.9.0 to 2.9.1
Bumps [@hookform/resolvers](https://github.com/react-hook-form/resolvers) from 2.9.0 to 2.9.1.
- [Release notes](https://github.com/react-hook-form/resolvers/releases)
- [Commits](https://github.com/react-hook-form/resolvers/compare/v2.9.0...v2.9.1)

---
updated-dependencies:
- dependency-name: "@hookform/resolvers"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 14:30:53 +00:00
dependabot[bot]
b7402a3b09
⬆️ Bump react-hook-form from 7.31.3 to 7.32.0
Bumps [react-hook-form](https://github.com/react-hook-form/react-hook-form) from 7.31.3 to 7.32.0.
- [Release notes](https://github.com/react-hook-form/react-hook-form/releases)
- [Changelog](https://github.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md)
- [Commits](https://github.com/react-hook-form/react-hook-form/compare/v7.31.3...v7.32.0)

---
updated-dependencies:
- dependency-name: react-hook-form
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 14:30:23 +00:00
dependabot[bot]
0a6c24429e
⬆️ Bump tailwindcss from 3.0.24 to 3.1.2
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.0.24 to 3.1.2.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.0.24...v3.1.2)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-13 14:29:09 +00:00
Ozzie Gooen
5f26ac9532 Removed the definitions tags in documentation 2022-06-12 21:42:52 -07:00
Ozzie Gooen
bea4e13cd3 Minor cleanup on distributions 2022-06-12 21:33:40 -07:00
Ozzie Gooen
bb85869303 Lots of documentation tweaks 2022-06-12 21:19:28 -07:00
Ozzie Gooen
a690cd15fd
Merge pull request #638 from quantified-uncertainty/Documentation-auto-generation
First attempt at a complete API definition
2022-06-11 13:37:27 -07:00
Ozzie Gooen
afb69e2e06 Format on website 2022-06-11 08:57:02 -07:00
Ozzie Gooen
79b71c39a0 Ran formatter and fixed tests 2022-06-11 08:47:52 -07:00
Ozzie Gooen
2d4d8a8f4d Attempting to make all api docs formatting mostly consistent 2022-06-11 08:28:38 -07:00
Umur Ozkul
f406ae9053 Merge branch 'develop' into reducer-modules 2022-06-11 15:23:54 +02:00
Umur Ozkul
0704c8d9f5 module tests pass 2022-06-11 15:15:25 +02:00
Ozzie Gooen
6dc8b711bb Lots of simple cleanup to api docs 2022-06-10 17:35:48 -07:00
Ozzie Gooen
590480d4e1 Merged with develop 2022-06-10 11:53:04 -07:00
Ozzie Gooen
7226a06d39
Merge pull request #662 from quantified-uncertainty/utility-functions
Adds a few utility functions
2022-06-10 11:18:54 -07:00
Ozzie Gooen
844dfd369c
Update FunctionRegistry_Library.res 2022-06-10 11:17:47 -07:00
Umur Ozkul
69bab17331 Math module tests defined (failing)
rename modules

define module

Math module

test helper fixed for defaults and test defined
2022-06-10 16:35:39 +02:00
Umur Ozkul
3ca209a53d bindings and module managers
bindings are a module
2022-06-10 14:19:42 +02:00
Ozzie Gooen
8fd5c6a1be Merge branch 'develop' into Documentation-auto-generation
* develop: (22 commits)
  components-lint respects components prettierignore
  format main.css and prettierignore base.css
  scoped tailwind preflight, top-level .squiggle wrapper
  grammar: identifiers with modules
  Refactored reducerInterface files
  Added simple scientific units
  Added stdev to table of stats, when needed
  Added stdev and variance to Distribution Operation Constructors
  Quick addition of stdev-variance-min-max-mode
  ⬆️ Bump @types/node from 17.0.38 to 17.0.40
  ⬆️ Bump webpack from 5.72.1 to 5.73.0
  ⬆️ Bump @storybook/react from 6.5.6 to 6.5.7
  ⬆️ Bump ts-node from 10.8.0 to 10.8.1
  ⬆️ Bump @storybook/builder-webpack5 from 6.5.6 to 6.5.7
  ⬆️ Bump peggy from 2.0.0 to 2.0.1
  ⬆️ Bump @storybook/addon-essentials from 6.5.6 to 6.5.7
  ⬆️ Bump @storybook/preset-create-react-app from 4.1.1 to 4.1.2
  ⬆️ Bump @hookform/resolvers from 2.8.10 to 2.9.0
  ⬆️ Bump typescript from 4.7.2 to 4.7.3
  ⬆️ Bump @storybook/manager-webpack5 from 6.5.6 to 6.5.7
  ...
2022-06-09 16:50:46 -07:00