Commit Graph

387 Commits

Author SHA1 Message Date
Vyacheslav Matyukhin
cf96d1b2d9
fix playground focus issue 2022-06-18 19:47:05 +03: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
Vyacheslav Matyukhin
588cf0cb27
fix SquigglePlayground in storybook 2022-06-17 22:25:36 +03: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
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
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
2842965913
fix react-ace/tailwind css collision (fixes #672)
Also: fix preflight configuration
2022-06-14 11:57:28 +03: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
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]
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
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
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
Vyacheslav Matyukhin
4d64f831b0
format main.css and prettierignore base.css 2022-06-10 00:46:38 +03:00
Vyacheslav Matyukhin
d812084614
scoped tailwind preflight, top-level .squiggle wrapper 2022-06-09 23:57:45 +03:00
Ozzie Gooen
d125664e57 Added stdev to table of stats, when needed 2022-06-06 12:25:09 -07:00
dependabot[bot]
d12fddae16
⬆️ Bump @types/node from 17.0.38 to 17.0.40
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.38 to 17.0.40.
- [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-06 15:51:35 +00:00
dependabot[bot]
b4c33873cc
⬆️ Bump webpack from 5.72.1 to 5.73.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.72.1 to 5.73.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.72.1...v5.73.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 15:44:16 +00:00
dependabot[bot]
d7645dbc7d
Merge pull request #654 from quantified-uncertainty/dependabot/npm_and_yarn/storybook/react-6.5.7 2022-06-06 15:41:16 +00:00
dependabot[bot]
4a72f364b4
⬆️ Bump @storybook/react from 6.5.6 to 6.5.7
Bumps [@storybook/react](https://github.com/storybookjs/storybook/tree/HEAD/app/react) from 6.5.6 to 6.5.7.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.7/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.7/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-06 15:35:20 +00:00
dependabot[bot]
17d8d2be3a
⬆️ Bump @storybook/builder-webpack5 from 6.5.6 to 6.5.7
Bumps [@storybook/builder-webpack5](https://github.com/storybookjs/storybook/tree/HEAD/lib/core) from 6.5.6 to 6.5.7.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.7/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.7/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-06 15:26:32 +00:00
dependabot[bot]
7231547036
Merge pull request #646 from quantified-uncertainty/dependabot/npm_and_yarn/storybook/addon-essentials-6.5.7 2022-06-06 15:25:10 +00:00
dependabot[bot]
3b6d063aa8
Merge pull request #649 from quantified-uncertainty/dependabot/npm_and_yarn/storybook/preset-create-react-app-4.1.2 2022-06-06 15:21:03 +00:00
dependabot[bot]
6e2880b063
⬆️ Bump @storybook/addon-essentials from 6.5.6 to 6.5.7
Bumps [@storybook/addon-essentials](https://github.com/storybookjs/storybook/tree/HEAD/addons/essentials) from 6.5.6 to 6.5.7.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.7/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.7/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-06 15:10:38 +00:00
dependabot[bot]
a4afadea7f
⬆️ Bump @storybook/preset-create-react-app from 4.1.1 to 4.1.2
Bumps [@storybook/preset-create-react-app](https://github.com/storybookjs/presets/tree/HEAD/packages/preset-create-react-app) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/storybookjs/presets/releases)
- [Changelog](https://github.com/storybookjs/presets/blob/master/packages/preset-create-react-app/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/presets/commits/HEAD/packages/preset-create-react-app)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 15:10:23 +00:00
Quinn
eebb88729e
Merge pull request #647 from quantified-uncertainty/dependabot/npm_and_yarn/hookform/resolvers-2.9.0
⬆️ Bump @hookform/resolvers from 2.8.10 to 2.9.0
2022-06-06 11:10:02 -04:00
Quinn
955bdf845a
Merge pull request #645 from quantified-uncertainty/dependabot/npm_and_yarn/typescript-4.7.3
⬆️ Bump typescript from 4.7.2 to 4.7.3
2022-06-06 11:09:28 -04:00
dependabot[bot]
c9dd644964
⬆️ Bump @hookform/resolvers from 2.8.10 to 2.9.0
Bumps [@hookform/resolvers](https://github.com/react-hook-form/resolvers) from 2.8.10 to 2.9.0.
- [Release notes](https://github.com/react-hook-form/resolvers/releases)
- [Commits](https://github.com/react-hook-form/resolvers/compare/v2.8.10...v2.9.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06 14:54:12 +00:00
dependabot[bot]
7882301a04
⬆️ Bump typescript from 4.7.2 to 4.7.3
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.7.2 to 4.7.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.7.2...v4.7.3)

---
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-06 14:53:09 +00:00
Ozzie Gooen
b5d636148a
Merge pull request #641 from quantified-uncertainty/dependabot/npm_and_yarn/storybook/addon-actions-6.5.7
⬆️ Bump @storybook/addon-actions from 6.5.6 to 6.5.7
2022-06-06 07:50:48 -07:00
Ozzie Gooen
bbc4e9b590
Merge pull request #642 from quantified-uncertainty/dependabot/npm_and_yarn/storybook/addon-links-6.5.7
⬆️ Bump @storybook/addon-links from 6.5.6 to 6.5.7
2022-06-06 07:50:38 -07:00
dependabot[bot]
0d8d54300b
⬆️ Bump @storybook/manager-webpack5 from 6.5.6 to 6.5.7
Bumps [@storybook/manager-webpack5](https://github.com/storybookjs/storybook/tree/HEAD/lib/core) from 6.5.6 to 6.5.7.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.7/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.7/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-06 14:25:01 +00:00
dependabot[bot]
9729de48e6
⬆️ Bump @storybook/addon-links from 6.5.6 to 6.5.7
Bumps [@storybook/addon-links](https://github.com/storybookjs/storybook/tree/HEAD/addons/links) from 6.5.6 to 6.5.7.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.7/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.7/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-06 14:24:08 +00:00
dependabot[bot]
bd9c7728f6
⬆️ Bump @storybook/addon-actions from 6.5.6 to 6.5.7
Bumps [@storybook/addon-actions](https://github.com/storybookjs/storybook/tree/HEAD/addons/actions) from 6.5.6 to 6.5.7.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.7/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.7/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-06 14:22:19 +00:00
Ozzie Gooen
c6370f5f37
Merge pull request #640 from quantified-uncertainty/sam-website-css-attempt
Sam's attempt at getting component css into the website
2022-06-06 05:48:26 -07:00
Sam Nolan
cd8a92e91f Add css into docusaurus 2022-06-06 04:24:38 +00:00
Sam Nolan
906534615a BROKEN: Sam's attempt at getting component css into the website 2022-06-05 06:48:31 +00:00
Vyacheslav Matyukhin
958c187e82
Various components cleanups
- coding style (let -> const, etc.)
- avoid double typing of component props, it's not necessary
- consistent non-default exports everywhere (except for
  SquigglePlayground since I'm not 100% sure it's not used somewhere
  else)
- extract common components in SquigglePlayground to avoid copy-paste
- other minor improvements
2022-06-04 23:38:16 +03:00