-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bugfix(FDS-279) Make sure empty class only present for empty or loading widgets #228
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ng widgets This also cleans up the logic for when to display a component or not into the widget itself where we decide if we should even render children
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/espressive/cascara/2TRKTAc7pimgugeveucQJKoFXVCm |
lordpixel
approved these changes
Jul 21, 2021
brianespinosa
added a commit
that referenced
this pull request
Sep 21, 2021
* chore(FDS-148): get all *TestID code out of ActionEdit.js (#192) * chore(FDS-148): get all *TestID code out of ActionEdit.js * chore(FDS-148): add aria-label to table columns in tests * chore(FDS-148): remove testids from unit tests * chore(FDS-148): fix all tests * chore(FDS-148): address PR comments Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(release): publish - @espressive/cascara@0.4.2-alpha.0 * Have CI skip rebuilds on lerna publish commits * feat(FDS-62): Admin Structure & Design Tokens (#194) * feat(FDS-172): Structure slots have suspense * Rename structure test apps * chore(FDS-62) Updates Structure API with drawer * Add CI Skip to publish commits from lerna * Structure API cleaned up, ready for style dryup * Fix design tokens so we can use them in different scenarios * remove custom notify message for now * Cleaned up mixins for breakpoints/scrolling * Change package dep on docs to use workspace * Force docs to link * Update caniuse * Custom properties for branding * make sure our tokens are getting built before cascara build * publish notice for slack * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.1 - @espressive/design-tokens@0.1.3-alpha.0 * fix(FDS-179): [Dashboard] fix prop type warnings (#195) Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.2 * fix(FDS-179): [Chat, Structures] fix prop type warnings (#196) * chore(FDS-179): [Chat, Structures] fix prop type warnings * Update packages/cascara/src/structures/AdminStructure/AdminStructureHeader.js Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.3 * chore(FDS-182) Nivo version bump (#197) * Fix lockfile with @Espressive outside resolutions * chore(FDS-182) Bump version of Nivo and dependencies * Get docs happy again * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.4 * feat(FDS-177) feat(FDS-178) List and Bubble Widget (#199) * feat(FDS-177) feat(FDS-178) List and Bubble Widget * Change button import path * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.5 * feat(FDS-62): Admin Structure PAC (#200) * feat(FDS-172): Structure slots have suspense * Rename structure test apps * chore(FDS-62) Updates Structure API with drawer * Add CI Skip to publish commits from lerna * Structure API cleaned up, ready for style dryup * Fix design tokens so we can use them in different scenarios * remove custom notify message for now * Cleaned up mixins for breakpoints/scrolling * Change package dep on docs to use workspace * Force docs to link * Update caniuse * Custom properties for branding * make sure our tokens are getting built before cascara build * publish notice for slack * Styles for header chiclet * Make sure we support different app base path * Move Reakit components into slot components, responsive * Add dev dependency for eslint in test apps * Clean up structure org * Bump patch and minor versions * Resolve new lint issues after dep updates * Update rollup plugins, resolve warnings on faker * Roll back react-scripts until Cosmos can get updated * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.6 * chore(DFS-206): remove design tokens fas peer-dependency from Cascara (#202) Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.7 * Feature/fds 195 cosmos to r sv4 (#201) * feat(FDS-172): Structure slots have suspense * Rename structure test apps * chore(FDS-62) Updates Structure API with drawer * Add CI Skip to publish commits from lerna * Structure API cleaned up, ready for style dryup * Fix design tokens so we can use them in different scenarios * remove custom notify message for now * Cleaned up mixins for breakpoints/scrolling * Change package dep on docs to use workspace * Force docs to link * Update caniuse * Custom properties for branding * make sure our tokens are getting built before cascara build * publish notice for slack * Styles for header chiclet * Make sure we support different app base path * Move Reakit components into slot components, responsive * Add dev dependency for eslint in test apps * Clean up structure org * Bump patch and minor versions * Resolve new lint issues after dep updates * Update rollup plugins, resolve warnings on faker * Roll back react-scripts until Cosmos can get updated * chore(FDS-195) Update Cosmos to work with RS v4 * Simplify config * upgrade * Do not yell at Synk for dep updates * Fix typing for logo * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.8 * fix: app-tests/_templates/next-template/package.json to reduce vulnerabilities (#203) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-POSTCSS-1090595 - https://snyk.io/vuln/SNYK-JS-POSTCSS-1255640 * fix: app-tests/next-layout-admin/package.json to reduce vulnerabilities (#204) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-POSTCSS-1090595 - https://snyk.io/vuln/SNYK-JS-POSTCSS-1255640 * fix: app-tests/next-button/package.json to reduce vulnerabilities (#205) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-POSTCSS-1090595 - https://snyk.io/vuln/SNYK-JS-POSTCSS-1255640 * feat(FDS-207): Structure theme object support (#206) * Fix design tokens dep and upgrade * FDS-207 Structures w/ theme object support * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.9 * fix(FDS-213) design tokens dist publishing (#207) * Fix design tokens dep and upgrade * FDS-207 Structures w/ theme object support * Help out docs * Get design tokens out of our lockfile * Change the process for design-tokens * Go back to a postinstall for now, include src * fml put prepare back * get postinstall back pout * postinstall is back again * include src for postinstall * chore(release): publish [ci skip] - @espressive/design-tokens@0.1.3-alpha.1 * fix(FDS-173): remove unused RowContext file (#208) Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.10 * Move style dict to full dep * chore(release): publish [ci skip] - @espressive/design-tokens@0.1.3-alpha.2 * add missing config in package :/ * chore(release): publish [ci skip] - @espressive/design-tokens@0.1.3-alpha.3 * feat(FDS-218) Add @espressive/icons and clean up icons usage in AdminStructure (#211) * feat(FDS-218) Add @espressive/icons and clean up icons usage in example app * lockfile * Clean up SVG * viewbox * Prepare script * upgrade * fix gitignore * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.11 - @espressive/icons@0.0.2-alpha.0 * Clean should only remove .js files in root * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.12 - @espressive/icons@0.0.2-alpha.1 * feat(FDS-221): Barista & Slack themes for Cascara Chat (#212) * Baseline for Barista theme: Chat * Clean up some of the triangle tag position * feat(FDS-221): Barista theme for Cascara Chat * Fix lint that for some reason did not fail the precommit hook * Set up custom theme for Slack * Slack theme, font switching, no static styles * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.13 * fix: app-tests/next-layout-admin/package.json to reduce vulnerabilities (#213) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-BROWSERSLIST-1090194 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * fix: app-tests/_templates/next-template/package.json to reduce vulnerabilities (#215) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-BROWSERSLIST-1090194 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(FDS-224): Remove usage of SUIR in Cascara and remove it from peer deps (#216) * Remove usage of SUIR in Cascara and remove it from peer deps * upgrade * Fix icons path Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.14 * Make sure icons is defined as a module * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.15 - @espressive/icons@0.0.2-alpha.2 * chore(FDS-238): esModule support in Jest (#220) * chore(FDS-238): esModule support in Jest * Update deps * Try adding require dep * Fix the issue with path due to the icons package being module * Make CI happy with mjs extension * Flag since we are on node 12 * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.16 - @espressive/icons@0.0.2-alpha.3 * chore(FDS-222): add documentation for modules (#217) * chore(FDS-222): add docs for action modules WIP * chore(FDS-222): add docs for data modules WIP * chore(FDS-222): add docs for data modules * chore(FDS-222): export icons as commonjs + fix for docs paths * chore(FDS-222): export icons as commonjs + fix for docs paths * chore(FDS-222): improve documentation * Update packages/cascara/src/modules/ActionButton/ActionButton.js Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(FDS-222): add standalone module (module provider) examples * chore(FDS-222): enclose props in backticks * address PR comments Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.17 * Resolve circular dependencies * Migrate deprecated division in SCSS * Fix missing scroll support for main * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.18 * Fix typings for Nav slot component * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.19 * feat(FDS-187): do not render a Table if no data nor columns are defined (#221) * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.20 * Fix table fluid width * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.21 * feat(New Icons) Add: pencil, drawer, close, check * private(Tooltip) POC of private tooltip component * chore(module cleanup) Clean icons: edit, overflow * Add aria labels to edit buttons * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.22 - @espressive/icons@0.0.2-alpha.4 * feat(table simplified) Table can now show data without displayConfig * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.23 - @espressive/icons@0.0.2-alpha.5 * Change our table logic so we do not blow up * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.24 * Make sure we have an array before trying to access an index * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.25 * Feature/fds 245 (#222) * chore(FDS-246): export prop types for Table and Form so we can reuse them both inside Cascara and outside * chore(FDS-247): Do not directly set the isLabeled prop on dataConfig.display objects * chore(FDS-247): put the isLabeled prop back Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.26 * chore(FDS-250,FDS-251) Table DX and Cosmos Testing (#223) * chore(FDS-250) Prepare fixture for work on TableDX * chore(FDS-251) Use fixtures to create tests This is a POC to use Cosmos fixtures and data to create our actual test cases * chore(FDS-251) Improve comments in TableDX test * chore(FDS-251) Props on fixture, show in Cosmos UI * chore(FDS-251) Clean up existing fixtures * chore(FDS-250) Loading/Empty states, tests * Obsolete snapshot for empty * feat(FDS-250) Abstract infer func so it does not run unless we reach the func The infer code was always getting run so it was always getting set * chore(FDS-250) Update test with label name * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.27 * chore(FDS-246): export prop types for Table and Form so we can reuse them both inside Cascara and outside (#224) Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.28 * feat(FDS-15): Form P1 (#143) * Fix missing label styles on Modules * FDS-115 Updated very old Form POC with actual components and modules from Table This also includes adding the concept of component-specific modules. Form now has a data module for rendering rows. We will need to bring back the old ActionEdit button… but possibly make that specific to Form. This pattern of merging the module types to check them when throwing prop errors is something we should evaluate in both Form and Table. * Pretty sure we want to make dataConfig required. * FDS-15 FormRow now supports `ratio` * FDS-116 - crate a Form-specific ActionEdit module * FDS-116 - crate a Table-specific ActionEdit module * FDS-116 - setup onAction function for feature parity with Table * FDS-116 - fix vercel build * Spread local action modules after globals * FDS-15 Export Form from Cascara, import for use in MDX * FDS-116 - fix unit tests * FDS-116 - fix vercel build * FDS-116 - remove isSecure prop as we'll have a special module for that * FDS-30 - unit tests for form * FDS-29 - Form PAC documentation * Update packages/cascara/src/ui/Form/Form.doc.mdx Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(FDS-150): resolve conflicts between feature branch and develop (#180) * FDS-134 - Table action stack (<ActionsMenu />) * FDS-134 - wrap tests in reakit's provider to prevent snapshot failures * FDS-134 - update docs * FDS-134 - standardize the way actions get their name * adress PR comments * chore(release): publish - docs@0.3.0 - @espressive/cascara@0.3.0 * FDS-137 - use action name for button name if no content is specified * FDS-136 Do not render popover as a modal We should now not have to worry about z-index from parent defined z-index and we will also not have a lot of extra portals sitting in the DOM. * FDS-136 Updating snapshots to show the menu that should now render adjacent to menu buttons instead of in a portal * chore(release): publish - docs@0.3.1 - @espressive/cascara@0.3.1 * Change action menu overflow issues and set z-index inline with SUI * Update snapshot as action menu is no longer inline * chore(release): publish - docs@0.3.2 - @espressive/cascara@0.3.2 - @espressive/babel-preset-espressive@0.2.3 - @espressive/eslint-config-espressive@0.2.2 - @espressive/legacy-css@2.0.2 * chore(modules): take all Test ID code out of our modules and props themselves * fix(ActionsMenu): do not remove 'name' prop from ...rest * FDS-133 Add initial dangerfile, Github Action, and CascaraBot * Fix step name * Update our Danger action * Try setting both tokens * Update Danger version * Dangerfile test modified * Define danger * assignees * fixed name in modified * Disable other actions not being used * Update how we are writing the dangerfile * Rename * dependency rules * Add more files changed test cases * Fix test cases for files * Dependencies test * Dangerfile warning * Types for section * Update readme, change index * Add additional types for action events on PR * Fix action syntax * again fix syntax * Add Jira linking to Danger * remove danger plugin * chore(release): publish - docs@0.3.3 - @espressive/cascara@0.3.3 * Rename eslint config for scoped use * Eslint rules ported and docs updated, rules erroring currently commented * Fix package.json sorting * chore(release): publish - docs@0.3.4 - @espressive/cascara@0.3.4 - @espressive/babel-preset-espressive@0.2.4 - @espressive/eslint-config@1.0.0 - @espressive/legacy-css@2.0.3 * FDS-145 Resolve all `import` plugin eslint rules * Use workspace resolutions for Cascara * Use new `prepare` script instead of `prepublish` to make sure Cascara is built * Do not store ALL of our node_modules as artifacts, you idiot! * Make sure we are running prepare on any packages that will be needed for these tests * Update husky to fix the package.json * feat(Conditional Actions): Table conditional actions PoC #1 * feat(Table) conditional actions * docs(Table) conditional actions * chore(FDS-151): Resolve some eslint react rules (button type, display name, func comp, jsx bool) Resolves FDS-151 ## Fixes rules ``` 'react/button-has-type': 0, 'react/display-name': 0, 'react/function-component-definition': 0, 'react/jsx-boolean-value': 0, ``` * chore(FDS-146) Resolve eslint `prefer-` prefixed errors * chore(FDS-152): Set up autosquash Resolves FDS-152 This should make our PRs automatically squash against develop when other PRs get merged. * disable auto squash action * squash back * chore(FDS-149): Resolve eslint `no-` prefixed errors and `multiline-comment-style` (#170) Fixes eslint rules: 'multiline-comment-style': 0, 'no-alert': 0, 'no-extra-boolean-cast': 0, 'no-prototype-builtins': 0, 'no-useless-return': 0, Co-authored-by: Manuel Ramirez <lordpixel@users.noreply.github.com> * Use an autoupdate action instead * comment about auto update * chore(FDS-147) - fix eslint 'react/prop-types' and 'react/forbid-prop-types' (#174) * chore(FDS-147) - fix eslint errors for 'react/prop-types' and react/forbid-prop-types' * chore(FDS-147) - remove silly invocation from 'element' prop type * chore(FDS-147) - address PR review comments * Update app-tests/_templates/next-template/src/pages/index.js Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * Update app-tests/_templates/next-template/src/pages/_document.js Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(FDS-147) - address PR review comments Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(FDS-155): React.memo and useCallback example (#176) Resolves FDS-155 This fixture should show what happens when we have a handler function that is not wrapped with `useCallback` and how that impacts the use of `React.memo`. We might actually want to create a collection of fixtures like this to share with the FE team. Hmm… * chore(FDS-153) - Fix remaining eslint rule errors (#175) * chore(FDS-147) - fix eslint errors for 'react/prop-types' and react/forbid-prop-types' * chore(FDS-153) - fix remaining eslint errors consistent-return eslint-comments/disable-enable-pair eslint-comments/no-unused-disable eslint-comments/require-description jest/no-done-callback react/jsx-key react/jsx-no-bind react/no-unknown-property sort-imports sort-keys * chore(FDS-153) - address PR comments * chore(FDS-153) - address PR comments (2) * chore(FDS-153) - fix eslint for new fixture Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(release): publish - docs@0.4.0 - @espressive/cascara@0.4.0 - @espressive/babel-preset-espressive@0.2.5 - @espressive/eslint-config@1.0.1 - @espressive/legacy-css@2.0.4 * FDS-115 Updated very old Form POC with actual components and modules from Table This also includes adding the concept of component-specific modules. Form now has a data module for rendering rows. We will need to bring back the old ActionEdit button… but possibly make that specific to Form. This pattern of merging the module types to check them when throwing prop errors is something we should evaluate in both Form and Table. * FDS-116 - crate a Form-specific ActionEdit module * FDS-116 - setup onAction function for feature parity with Table * FDS-116 - fix vercel build * FDS-116 - fix unit tests * FDS-116 - remove isSecure prop as we'll have a special module for that * test(Table): fix unit tests for Table * test(Form): fix unit tests for Form Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: Brian Espinosa <b@bje.co> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Fix test and oops removing global action edit * Clean up Form fixture * Fix weird display in all modules fixture * feat(FDS-15): pair session chages * chore(FDS-253): separate out all of the elements of dataConfig and get rid of it (#225) * chore(FDS-253): separate out all of the elements of dataConfig and get rid of it * Update snapshot for SVG buttons * Export form! Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: Brian Espinosa <b@bje.co> * feat(FDS-117): get onAction working the way it works in Table (#226) * chore(FDS-253): separate out all of the elements of dataConfig and get rid of it * Update snapshot for SVG buttons * Export form! * feat(FDS-117): get onAction working the way it works in Table * Update snapshot * Fix snapshots removed Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: Brian Espinosa <b@bje.co> Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: Manuel Ramirez <lordpixel@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.29 * bugfix(FDS-273) Empty data, or undefined data on widgets not blowing up (and now showing loading or empty states) (#227) * bugfix(FDS-273) Empty and loading states for widgets so they do not blow up with empty or undefined * chore(private) Move Section and Popover into /private * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.30 * bugfix(FDS-279) Make sure empty class only present for empty or loading widgets (#228) This also cleans up the logic for when to display a component or not into the widget itself where we decide if we should even render children * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.31 * fix TableBase: uniqueIdAttribute is uncorrectly set to undefined by a faulty check (#229) Reviewed-by: manu Refs FDS-284 Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.32 * chore(FDS-286) Move Pagination into Cascara (#234) * chore(FDS-286) Move Pagination into Cascara This also cleans up how we are defining index exports to make it easier for ourselves * Resolve circular dependencies * Disable chat doc Support for running docs locally with transpiled * Ignore coverage, get lint happy on old fixtures * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.33 * chore(FDS-274) directory cleanup (#233) * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.34 * doc(Cascara): [FDS-248] Update docs to match P2 changes (#232) * doc(Cascara): [FDS-248] Update docs to match P2 changes * doc(Cascara): [FDS-248] remove isEditable prop from doc examples * doc(Cascara): [FDS-248] remove isLabeled prop from docs as it won't be exposed to developers Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.35 * test(Cascara): [FDS-194] test optimization (#231) * test(Cascara): [FDS-194] test optimization * test(Cascara): do not use Faker at runtime, prepare data instead * test(Cascara): [FDS-194] split tests into multiple files - Snapshot tests - DX tests - UX tests - others * test(Cascara): [FDS-194] move things around for better cosmos experience Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.36 * doc(Cascara): [docs] update docs to include version and branch (#235) * doc(Cascara): [FDS-248] Update docs to match P2 changes * doc(Cascara): [FDS-248] remove isEditable prop from doc examples * doc(Cascara): [FDS-248] last touches * Fix incorrect file lookup Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <b@bje.co> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.37 * Change theme default index * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.38 * Fix attachment type * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.39 * Add error boundary to all Chat components * Add sourcemaps and chunks * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.40 * Define a fallback for loading state for themes without default colors * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.41 * Wow. We were not exporting ChatProvider. :/ * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.42 * chore(FDS-255): Add empty and loading status for a Form (#236) * Add empty and loading status for a Form * Create temporary fields * rename variable for developer message * Update JsonJsonPlaceholder reference * Update snapshot * Add comment * Update yarn lock file * update yarn lock file * update yarn lock file * Try adding missing package direct to docs * See if we can externalize with plugin * Try changing manualChunks * Add vendor option to external * Try going back to our horrible chunks * Try rolling docs back on fluent * Disable form MDX Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> Co-authored-by: Brian Espinosa <b@bje.co> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.43 * try defining engines in monorepo package.json * engines to next (#238) * doc(Cascara): [Form, Table, Modules] general improvements (#237) * doc(Cascara): [FDS-248] Update docs to match P2 changes * doc(Cascara): [FDS-248] remove isEditable prop from doc examples * doc(Cascara): [FDS-248] last touches * chore(FDS-248): [FORM] improve docs * remove unwanted ESLint rule disable comment * doc(Cascara): remove unwanted changes in modules and Form * doc(Cascara): revert changes to Form docs regarding label and event name changes Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.44 * fix(FDS-298) fix vercel (#240) * Get docs happy again and using new yarn * Skip only the cache for yarn * Actually... INCLUDE the cache * Add yarn workspace tools * add transpile modules * Try scoping * define engines * root yarn engines * No workspace shortcuts * add rollup dev deps to cascara * foreach * Fix some odd, scoped lint issues * Remove test files not used in example apps * bump lerna I guess * disable CI steps for bump * chore(FDS-311): Add empty and loading status to JSONPlaceholder * feat(FDS-337) POC Components > Cascara (#248) * Clean up exports, move Pagination * Move ActionStack * Add Tabs * Add List * This file was not being used * Simplify exports * Rename placeholders to system components We might simplify this further at a later date, but we cannot change the depth of our directories yet or our docs will break * chore(FDS-272): [@espressive/eslint-config] - relax no-console rule in develop (#249) Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(FDS-335): [Cascara] - improve usage of error boundaries in modules (#250) * chore(FDS-335): [system-components] - update Boundaries props, include ErrorFallbackComponent * chore(FDS-335): [system-components] - create ModuleErrorBoundary component for modules * chore(FDS-335): [system-components] - implement ModuleErrorBoundary component in modules, replaces ErrorBoundary Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(FDS-299): Setup Commitizen (#251) * chore(FDS-299): [commitizen] - install commitizen and dependencies * configure commitizen * chore(FDS-299): [docs] - create contribution guide Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * feat(FDS-172) Boundaries w/ Suspense & AdminStructure suspending out of the box (#252) * Add boundaries to all AdminStructure slots * Add suspense to Boundaries and extend API * Try fix for suspense on Vercel * Quick fix for Vercel/Next and ReactDOMServer * chore(FDS-255): Add input date field (#254) * Add Input date module * Apply feedback * Remove no used props * Update snapshot * chore(FDS-339): Proposal and POC for selecting rows from Table (#255) * chore(FDS-339): [Cascara Table] - POC for row selection * chore(FDS-339): [Cascara Table] - completed POC for row selection * chore(FDS-339): [Cascara Table] - remove UNSAFE_isSelectAll prop * feat(FDS-339): [Cascara Table] - address PR comments Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * feat(FDS-344): ViewConfig P1 (#256) * Remove install-state from cache * feat(FDS-344) ViewConfig P1 * Update snapshots for loading * Export ViewConfig only * Get state hook into export * Make rollup fail on warnings Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Add codeowners * feat(FDS-345): [Cascara] - Replace ErrorBoundary with Boundaries (#257) * feat(FDS-345): [Cascara] - update all components to use the new Boundaries component * feat(FDS-345): [Cascara] - remove old ErrorBoundary component Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(FDS-329) Changesets for automated releases (#263) * Add changesets cli * Remove wildcards from package.json files * trying changeset * Try adding a publish step with the new system * fix lockfile * Update to latest node orb for latest yarn * try with faster install * cache path was not helpful * Publish Next Snapshot * Publish Next Snapshot * Publish Next Snapshot * Publish Next Snapshot * Empty * Publish Next Snapshot * Graduated versions! * Fix committed snapshot release * Another alpha * Publish Full Release * Fix docs * Remove lerna * Remove Lerna * chore(FDS-342): Add input date-time field (#258) * Add Input date module * Apply feedback * Remove no used props * Update snapshot * Add datetime module * Update slack message support * valid JSON * FML add the status file * Stop using log, add node bin * Try moving command outside * earlier step * Try with correct tooling location * Test early * add memborb back * test after install * Try the full output * change path * Try extra parens * change path * fix extra parens * try log * try no echo and stdout * quotes around stdout * try echo output * almost... * try printf * Try notify on slack * Just link to the versions artifact * :/ * fix invalid blocks * Add fixture and unit test for DataEmail field (#259) * Script to set the correct versions when doing a publish * Try updating our files in develop * chore(FDS-346): [Cascara Form] - remove resolveAllowedActions prop from form (#264) * feat(FDS-346): [Cascara Form] - Remove resolveAllowedActions prop from Form * Create gentle-olives-talk.md Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Add input file module (#260) * Update codeowners * Update owners * feature(FDS-342): Input password field (#265) * Add input image module * Add input image module * Add input month * feature(FDS-342): Input tel field (#266) * Add input image module * Add input image module * Add input month * Add Input tel field * feature(FDS-342): Input time field (#267) * Input time * Input time Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Input color (#271) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * feature(FDS-342): Add input image field (#261) * Add input file module * Add input image module * Add input image module * Add input month * Recover settings from develop * improve tests * add helper function Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(FDS-342): Add input month field (#262) * Add input image module * Add input image module * Add input month * feature(FDS-342): Input url field (#268) * Input url * Input url * update snapshot * Fix export order * Fix classname sort order * fix sort on module keys Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <b@bje.co> * Input week (#269) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <b@bje.co> * Input range (#270) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(FDS-347): [DOCS] - Add docs for new components P1 (#273) Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Using changesets * link docs Co-authored-by: Manuel Ramirez <lordpixel@users.noreply.github.com> Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: CircleCI <circleci@circleci> Co-authored-by: Snyk bot <snyk-bot@snyk.io> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: rociobaena <87443054+rociobaena@users.noreply.github.com>
brianespinosa
added a commit
that referenced
this pull request
Sep 22, 2021
* chore(FDS-148): get all *TestID code out of ActionEdit.js (#192) * chore(FDS-148): get all *TestID code out of ActionEdit.js * chore(FDS-148): add aria-label to table columns in tests * chore(FDS-148): remove testids from unit tests * chore(FDS-148): fix all tests * chore(FDS-148): address PR comments Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(release): publish - @espressive/cascara@0.4.2-alpha.0 * Have CI skip rebuilds on lerna publish commits * feat(FDS-62): Admin Structure & Design Tokens (#194) * feat(FDS-172): Structure slots have suspense * Rename structure test apps * chore(FDS-62) Updates Structure API with drawer * Add CI Skip to publish commits from lerna * Structure API cleaned up, ready for style dryup * Fix design tokens so we can use them in different scenarios * remove custom notify message for now * Cleaned up mixins for breakpoints/scrolling * Change package dep on docs to use workspace * Force docs to link * Update caniuse * Custom properties for branding * make sure our tokens are getting built before cascara build * publish notice for slack * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.1 - @espressive/design-tokens@0.1.3-alpha.0 * fix(FDS-179): [Dashboard] fix prop type warnings (#195) Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.2 * fix(FDS-179): [Chat, Structures] fix prop type warnings (#196) * chore(FDS-179): [Chat, Structures] fix prop type warnings * Update packages/cascara/src/structures/AdminStructure/AdminStructureHeader.js Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.3 * chore(FDS-182) Nivo version bump (#197) * Fix lockfile with @Espressive outside resolutions * chore(FDS-182) Bump version of Nivo and dependencies * Get docs happy again * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.4 * feat(FDS-177) feat(FDS-178) List and Bubble Widget (#199) * feat(FDS-177) feat(FDS-178) List and Bubble Widget * Change button import path * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.5 * feat(FDS-62): Admin Structure PAC (#200) * feat(FDS-172): Structure slots have suspense * Rename structure test apps * chore(FDS-62) Updates Structure API with drawer * Add CI Skip to publish commits from lerna * Structure API cleaned up, ready for style dryup * Fix design tokens so we can use them in different scenarios * remove custom notify message for now * Cleaned up mixins for breakpoints/scrolling * Change package dep on docs to use workspace * Force docs to link * Update caniuse * Custom properties for branding * make sure our tokens are getting built before cascara build * publish notice for slack * Styles for header chiclet * Make sure we support different app base path * Move Reakit components into slot components, responsive * Add dev dependency for eslint in test apps * Clean up structure org * Bump patch and minor versions * Resolve new lint issues after dep updates * Update rollup plugins, resolve warnings on faker * Roll back react-scripts until Cosmos can get updated * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.6 * chore(DFS-206): remove design tokens fas peer-dependency from Cascara (#202) Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.7 * Feature/fds 195 cosmos to r sv4 (#201) * feat(FDS-172): Structure slots have suspense * Rename structure test apps * chore(FDS-62) Updates Structure API with drawer * Add CI Skip to publish commits from lerna * Structure API cleaned up, ready for style dryup * Fix design tokens so we can use them in different scenarios * remove custom notify message for now * Cleaned up mixins for breakpoints/scrolling * Change package dep on docs to use workspace * Force docs to link * Update caniuse * Custom properties for branding * make sure our tokens are getting built before cascara build * publish notice for slack * Styles for header chiclet * Make sure we support different app base path * Move Reakit components into slot components, responsive * Add dev dependency for eslint in test apps * Clean up structure org * Bump patch and minor versions * Resolve new lint issues after dep updates * Update rollup plugins, resolve warnings on faker * Roll back react-scripts until Cosmos can get updated * chore(FDS-195) Update Cosmos to work with RS v4 * Simplify config * upgrade * Do not yell at Synk for dep updates * Fix typing for logo * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.8 * fix: app-tests/_templates/next-template/package.json to reduce vulnerabilities (#203) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-POSTCSS-1090595 - https://snyk.io/vuln/SNYK-JS-POSTCSS-1255640 * fix: app-tests/next-layout-admin/package.json to reduce vulnerabilities (#204) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-POSTCSS-1090595 - https://snyk.io/vuln/SNYK-JS-POSTCSS-1255640 * fix: app-tests/next-button/package.json to reduce vulnerabilities (#205) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-POSTCSS-1090595 - https://snyk.io/vuln/SNYK-JS-POSTCSS-1255640 * feat(FDS-207): Structure theme object support (#206) * Fix design tokens dep and upgrade * FDS-207 Structures w/ theme object support * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.9 * fix(FDS-213) design tokens dist publishing (#207) * Fix design tokens dep and upgrade * FDS-207 Structures w/ theme object support * Help out docs * Get design tokens out of our lockfile * Change the process for design-tokens * Go back to a postinstall for now, include src * fml put prepare back * get postinstall back pout * postinstall is back again * include src for postinstall * chore(release): publish [ci skip] - @espressive/design-tokens@0.1.3-alpha.1 * fix(FDS-173): remove unused RowContext file (#208) Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.10 * Move style dict to full dep * chore(release): publish [ci skip] - @espressive/design-tokens@0.1.3-alpha.2 * add missing config in package :/ * chore(release): publish [ci skip] - @espressive/design-tokens@0.1.3-alpha.3 * feat(FDS-218) Add @espressive/icons and clean up icons usage in AdminStructure (#211) * feat(FDS-218) Add @espressive/icons and clean up icons usage in example app * lockfile * Clean up SVG * viewbox * Prepare script * upgrade * fix gitignore * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.11 - @espressive/icons@0.0.2-alpha.0 * Clean should only remove .js files in root * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.12 - @espressive/icons@0.0.2-alpha.1 * feat(FDS-221): Barista & Slack themes for Cascara Chat (#212) * Baseline for Barista theme: Chat * Clean up some of the triangle tag position * feat(FDS-221): Barista theme for Cascara Chat * Fix lint that for some reason did not fail the precommit hook * Set up custom theme for Slack * Slack theme, font switching, no static styles * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.13 * fix: app-tests/next-layout-admin/package.json to reduce vulnerabilities (#213) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-BROWSERSLIST-1090194 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * fix: app-tests/_templates/next-template/package.json to reduce vulnerabilities (#215) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-BROWSERSLIST-1090194 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(FDS-224): Remove usage of SUIR in Cascara and remove it from peer deps (#216) * Remove usage of SUIR in Cascara and remove it from peer deps * upgrade * Fix icons path Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.14 * Make sure icons is defined as a module * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.15 - @espressive/icons@0.0.2-alpha.2 * chore(FDS-238): esModule support in Jest (#220) * chore(FDS-238): esModule support in Jest * Update deps * Try adding require dep * Fix the issue with path due to the icons package being module * Make CI happy with mjs extension * Flag since we are on node 12 * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.16 - @espressive/icons@0.0.2-alpha.3 * chore(FDS-222): add documentation for modules (#217) * chore(FDS-222): add docs for action modules WIP * chore(FDS-222): add docs for data modules WIP * chore(FDS-222): add docs for data modules * chore(FDS-222): export icons as commonjs + fix for docs paths * chore(FDS-222): export icons as commonjs + fix for docs paths * chore(FDS-222): improve documentation * Update packages/cascara/src/modules/ActionButton/ActionButton.js Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(FDS-222): add standalone module (module provider) examples * chore(FDS-222): enclose props in backticks * address PR comments Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.17 * Resolve circular dependencies * Migrate deprecated division in SCSS * Fix missing scroll support for main * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.18 * Fix typings for Nav slot component * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.19 * feat(FDS-187): do not render a Table if no data nor columns are defined (#221) * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.20 * Fix table fluid width * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.21 * feat(New Icons) Add: pencil, drawer, close, check * private(Tooltip) POC of private tooltip component * chore(module cleanup) Clean icons: edit, overflow * Add aria labels to edit buttons * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.22 - @espressive/icons@0.0.2-alpha.4 * feat(table simplified) Table can now show data without displayConfig * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.23 - @espressive/icons@0.0.2-alpha.5 * Change our table logic so we do not blow up * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.24 * Make sure we have an array before trying to access an index * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.25 * Feature/fds 245 (#222) * chore(FDS-246): export prop types for Table and Form so we can reuse them both inside Cascara and outside * chore(FDS-247): Do not directly set the isLabeled prop on dataConfig.display objects * chore(FDS-247): put the isLabeled prop back Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.26 * chore(FDS-250,FDS-251) Table DX and Cosmos Testing (#223) * chore(FDS-250) Prepare fixture for work on TableDX * chore(FDS-251) Use fixtures to create tests This is a POC to use Cosmos fixtures and data to create our actual test cases * chore(FDS-251) Improve comments in TableDX test * chore(FDS-251) Props on fixture, show in Cosmos UI * chore(FDS-251) Clean up existing fixtures * chore(FDS-250) Loading/Empty states, tests * Obsolete snapshot for empty * feat(FDS-250) Abstract infer func so it does not run unless we reach the func The infer code was always getting run so it was always getting set * chore(FDS-250) Update test with label name * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.27 * chore(FDS-246): export prop types for Table and Form so we can reuse them both inside Cascara and outside (#224) Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.28 * feat(FDS-15): Form P1 (#143) * Fix missing label styles on Modules * FDS-115 Updated very old Form POC with actual components and modules from Table This also includes adding the concept of component-specific modules. Form now has a data module for rendering rows. We will need to bring back the old ActionEdit button… but possibly make that specific to Form. This pattern of merging the module types to check them when throwing prop errors is something we should evaluate in both Form and Table. * Pretty sure we want to make dataConfig required. * FDS-15 FormRow now supports `ratio` * FDS-116 - crate a Form-specific ActionEdit module * FDS-116 - crate a Table-specific ActionEdit module * FDS-116 - setup onAction function for feature parity with Table * FDS-116 - fix vercel build * Spread local action modules after globals * FDS-15 Export Form from Cascara, import for use in MDX * FDS-116 - fix unit tests * FDS-116 - fix vercel build * FDS-116 - remove isSecure prop as we'll have a special module for that * FDS-30 - unit tests for form * FDS-29 - Form PAC documentation * Update packages/cascara/src/ui/Form/Form.doc.mdx Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(FDS-150): resolve conflicts between feature branch and develop (#180) * FDS-134 - Table action stack (<ActionsMenu />) * FDS-134 - wrap tests in reakit's provider to prevent snapshot failures * FDS-134 - update docs * FDS-134 - standardize the way actions get their name * adress PR comments * chore(release): publish - docs@0.3.0 - @espressive/cascara@0.3.0 * FDS-137 - use action name for button name if no content is specified * FDS-136 Do not render popover as a modal We should now not have to worry about z-index from parent defined z-index and we will also not have a lot of extra portals sitting in the DOM. * FDS-136 Updating snapshots to show the menu that should now render adjacent to menu buttons instead of in a portal * chore(release): publish - docs@0.3.1 - @espressive/cascara@0.3.1 * Change action menu overflow issues and set z-index inline with SUI * Update snapshot as action menu is no longer inline * chore(release): publish - docs@0.3.2 - @espressive/cascara@0.3.2 - @espressive/babel-preset-espressive@0.2.3 - @espressive/eslint-config-espressive@0.2.2 - @espressive/legacy-css@2.0.2 * chore(modules): take all Test ID code out of our modules and props themselves * fix(ActionsMenu): do not remove 'name' prop from ...rest * FDS-133 Add initial dangerfile, Github Action, and CascaraBot * Fix step name * Update our Danger action * Try setting both tokens * Update Danger version * Dangerfile test modified * Define danger * assignees * fixed name in modified * Disable other actions not being used * Update how we are writing the dangerfile * Rename * dependency rules * Add more files changed test cases * Fix test cases for files * Dependencies test * Dangerfile warning * Types for section * Update readme, change index * Add additional types for action events on PR * Fix action syntax * again fix syntax * Add Jira linking to Danger * remove danger plugin * chore(release): publish - docs@0.3.3 - @espressive/cascara@0.3.3 * Rename eslint config for scoped use * Eslint rules ported and docs updated, rules erroring currently commented * Fix package.json sorting * chore(release): publish - docs@0.3.4 - @espressive/cascara@0.3.4 - @espressive/babel-preset-espressive@0.2.4 - @espressive/eslint-config@1.0.0 - @espressive/legacy-css@2.0.3 * FDS-145 Resolve all `import` plugin eslint rules * Use workspace resolutions for Cascara * Use new `prepare` script instead of `prepublish` to make sure Cascara is built * Do not store ALL of our node_modules as artifacts, you idiot! * Make sure we are running prepare on any packages that will be needed for these tests * Update husky to fix the package.json * feat(Conditional Actions): Table conditional actions PoC #1 * feat(Table) conditional actions * docs(Table) conditional actions * chore(FDS-151): Resolve some eslint react rules (button type, display name, func comp, jsx bool) Resolves FDS-151 ## Fixes rules ``` 'react/button-has-type': 0, 'react/display-name': 0, 'react/function-component-definition': 0, 'react/jsx-boolean-value': 0, ``` * chore(FDS-146) Resolve eslint `prefer-` prefixed errors * chore(FDS-152): Set up autosquash Resolves FDS-152 This should make our PRs automatically squash against develop when other PRs get merged. * disable auto squash action * squash back * chore(FDS-149): Resolve eslint `no-` prefixed errors and `multiline-comment-style` (#170) Fixes eslint rules: 'multiline-comment-style': 0, 'no-alert': 0, 'no-extra-boolean-cast': 0, 'no-prototype-builtins': 0, 'no-useless-return': 0, Co-authored-by: Manuel Ramirez <lordpixel@users.noreply.github.com> * Use an autoupdate action instead * comment about auto update * chore(FDS-147) - fix eslint 'react/prop-types' and 'react/forbid-prop-types' (#174) * chore(FDS-147) - fix eslint errors for 'react/prop-types' and react/forbid-prop-types' * chore(FDS-147) - remove silly invocation from 'element' prop type * chore(FDS-147) - address PR review comments * Update app-tests/_templates/next-template/src/pages/index.js Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * Update app-tests/_templates/next-template/src/pages/_document.js Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(FDS-147) - address PR review comments Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(FDS-155): React.memo and useCallback example (#176) Resolves FDS-155 This fixture should show what happens when we have a handler function that is not wrapped with `useCallback` and how that impacts the use of `React.memo`. We might actually want to create a collection of fixtures like this to share with the FE team. Hmm… * chore(FDS-153) - Fix remaining eslint rule errors (#175) * chore(FDS-147) - fix eslint errors for 'react/prop-types' and react/forbid-prop-types' * chore(FDS-153) - fix remaining eslint errors consistent-return eslint-comments/disable-enable-pair eslint-comments/no-unused-disable eslint-comments/require-description jest/no-done-callback react/jsx-key react/jsx-no-bind react/no-unknown-property sort-imports sort-keys * chore(FDS-153) - address PR comments * chore(FDS-153) - address PR comments (2) * chore(FDS-153) - fix eslint for new fixture Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(release): publish - docs@0.4.0 - @espressive/cascara@0.4.0 - @espressive/babel-preset-espressive@0.2.5 - @espressive/eslint-config@1.0.1 - @espressive/legacy-css@2.0.4 * FDS-115 Updated very old Form POC with actual components and modules from Table This also includes adding the concept of component-specific modules. Form now has a data module for rendering rows. We will need to bring back the old ActionEdit button… but possibly make that specific to Form. This pattern of merging the module types to check them when throwing prop errors is something we should evaluate in both Form and Table. * FDS-116 - crate a Form-specific ActionEdit module * FDS-116 - setup onAction function for feature parity with Table * FDS-116 - fix vercel build * FDS-116 - fix unit tests * FDS-116 - remove isSecure prop as we'll have a special module for that * test(Table): fix unit tests for Table * test(Form): fix unit tests for Form Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: Brian Espinosa <b@bje.co> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Fix test and oops removing global action edit * Clean up Form fixture * Fix weird display in all modules fixture * feat(FDS-15): pair session chages * chore(FDS-253): separate out all of the elements of dataConfig and get rid of it (#225) * chore(FDS-253): separate out all of the elements of dataConfig and get rid of it * Update snapshot for SVG buttons * Export form! Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: Brian Espinosa <b@bje.co> * feat(FDS-117): get onAction working the way it works in Table (#226) * chore(FDS-253): separate out all of the elements of dataConfig and get rid of it * Update snapshot for SVG buttons * Export form! * feat(FDS-117): get onAction working the way it works in Table * Update snapshot * Fix snapshots removed Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: Brian Espinosa <b@bje.co> Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: Manuel Ramirez <lordpixel@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.29 * bugfix(FDS-273) Empty data, or undefined data on widgets not blowing up (and now showing loading or empty states) (#227) * bugfix(FDS-273) Empty and loading states for widgets so they do not blow up with empty or undefined * chore(private) Move Section and Popover into /private * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.30 * bugfix(FDS-279) Make sure empty class only present for empty or loading widgets (#228) This also cleans up the logic for when to display a component or not into the widget itself where we decide if we should even render children * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.31 * fix TableBase: uniqueIdAttribute is uncorrectly set to undefined by a faulty check (#229) Reviewed-by: manu Refs FDS-284 Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.32 * chore(FDS-286) Move Pagination into Cascara (#234) * chore(FDS-286) Move Pagination into Cascara This also cleans up how we are defining index exports to make it easier for ourselves * Resolve circular dependencies * Disable chat doc Support for running docs locally with transpiled * Ignore coverage, get lint happy on old fixtures * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.33 * chore(FDS-274) directory cleanup (#233) * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.34 * doc(Cascara): [FDS-248] Update docs to match P2 changes (#232) * doc(Cascara): [FDS-248] Update docs to match P2 changes * doc(Cascara): [FDS-248] remove isEditable prop from doc examples * doc(Cascara): [FDS-248] remove isLabeled prop from docs as it won't be exposed to developers Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.35 * test(Cascara): [FDS-194] test optimization (#231) * test(Cascara): [FDS-194] test optimization * test(Cascara): do not use Faker at runtime, prepare data instead * test(Cascara): [FDS-194] split tests into multiple files - Snapshot tests - DX tests - UX tests - others * test(Cascara): [FDS-194] move things around for better cosmos experience Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.36 * doc(Cascara): [docs] update docs to include version and branch (#235) * doc(Cascara): [FDS-248] Update docs to match P2 changes * doc(Cascara): [FDS-248] remove isEditable prop from doc examples * doc(Cascara): [FDS-248] last touches * Fix incorrect file lookup Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <b@bje.co> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.37 * Change theme default index * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.38 * Fix attachment type * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.39 * Add error boundary to all Chat components * Add sourcemaps and chunks * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.40 * Define a fallback for loading state for themes without default colors * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.41 * Wow. We were not exporting ChatProvider. :/ * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.42 * chore(FDS-255): Add empty and loading status for a Form (#236) * Add empty and loading status for a Form * Create temporary fields * rename variable for developer message * Update JsonJsonPlaceholder reference * Update snapshot * Add comment * Update yarn lock file * update yarn lock file * update yarn lock file * Try adding missing package direct to docs * See if we can externalize with plugin * Try changing manualChunks * Add vendor option to external * Try going back to our horrible chunks * Try rolling docs back on fluent * Disable form MDX Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> Co-authored-by: Brian Espinosa <b@bje.co> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.43 * try defining engines in monorepo package.json * engines to next (#238) * doc(Cascara): [Form, Table, Modules] general improvements (#237) * doc(Cascara): [FDS-248] Update docs to match P2 changes * doc(Cascara): [FDS-248] remove isEditable prop from doc examples * doc(Cascara): [FDS-248] last touches * chore(FDS-248): [FORM] improve docs * remove unwanted ESLint rule disable comment * doc(Cascara): remove unwanted changes in modules and Form * doc(Cascara): revert changes to Form docs regarding label and event name changes Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.44 * fix(FDS-298) fix vercel (#240) * Get docs happy again and using new yarn * Skip only the cache for yarn * Actually... INCLUDE the cache * Add yarn workspace tools * add transpile modules * Try scoping * define engines * root yarn engines * No workspace shortcuts * add rollup dev deps to cascara * foreach * Fix some odd, scoped lint issues * Remove test files not used in example apps * bump lerna I guess * disable CI steps for bump * chore(FDS-311): Add empty and loading status to JSONPlaceholder * feat(FDS-337) POC Components > Cascara (#248) * Clean up exports, move Pagination * Move ActionStack * Add Tabs * Add List * This file was not being used * Simplify exports * Rename placeholders to system components We might simplify this further at a later date, but we cannot change the depth of our directories yet or our docs will break * chore(FDS-272): [@espressive/eslint-config] - relax no-console rule in develop (#249) Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(FDS-335): [Cascara] - improve usage of error boundaries in modules (#250) * chore(FDS-335): [system-components] - update Boundaries props, include ErrorFallbackComponent * chore(FDS-335): [system-components] - create ModuleErrorBoundary component for modules * chore(FDS-335): [system-components] - implement ModuleErrorBoundary component in modules, replaces ErrorBoundary Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(FDS-299): Setup Commitizen (#251) * chore(FDS-299): [commitizen] - install commitizen and dependencies * configure commitizen * chore(FDS-299): [docs] - create contribution guide Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * feat(FDS-172) Boundaries w/ Suspense & AdminStructure suspending out of the box (#252) * Add boundaries to all AdminStructure slots * Add suspense to Boundaries and extend API * Try fix for suspense on Vercel * Quick fix for Vercel/Next and ReactDOMServer * chore(FDS-255): Add input date field (#254) * Add Input date module * Apply feedback * Remove no used props * Update snapshot * chore(FDS-339): Proposal and POC for selecting rows from Table (#255) * chore(FDS-339): [Cascara Table] - POC for row selection * chore(FDS-339): [Cascara Table] - completed POC for row selection * chore(FDS-339): [Cascara Table] - remove UNSAFE_isSelectAll prop * feat(FDS-339): [Cascara Table] - address PR comments Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * feat(FDS-344): ViewConfig P1 (#256) * Remove install-state from cache * feat(FDS-344) ViewConfig P1 * Update snapshots for loading * Export ViewConfig only * Get state hook into export * Make rollup fail on warnings Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Add codeowners * feat(FDS-345): [Cascara] - Replace ErrorBoundary with Boundaries (#257) * feat(FDS-345): [Cascara] - update all components to use the new Boundaries component * feat(FDS-345): [Cascara] - remove old ErrorBoundary component Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(FDS-329) Changesets for automated releases (#263) * Add changesets cli * Remove wildcards from package.json files * trying changeset * Try adding a publish step with the new system * fix lockfile * Update to latest node orb for latest yarn * try with faster install * cache path was not helpful * Publish Next Snapshot * Publish Next Snapshot * Publish Next Snapshot * Publish Next Snapshot * Empty * Publish Next Snapshot * Graduated versions! * Fix committed snapshot release * Another alpha * Publish Full Release * Fix docs * Remove lerna * Remove Lerna * chore(FDS-342): Add input date-time field (#258) * Add Input date module * Apply feedback * Remove no used props * Update snapshot * Add datetime module * Update slack message support * valid JSON * FML add the status file * Stop using log, add node bin * Try moving command outside * earlier step * Try with correct tooling location * Test early * add memborb back * test after install * Try the full output * change path * Try extra parens * change path * fix extra parens * try log * try no echo and stdout * quotes around stdout * try echo output * almost... * try printf * Try notify on slack * Just link to the versions artifact * :/ * fix invalid blocks * Add fixture and unit test for DataEmail field (#259) * Script to set the correct versions when doing a publish * Try updating our files in develop * chore(FDS-346): [Cascara Form] - remove resolveAllowedActions prop from form (#264) * feat(FDS-346): [Cascara Form] - Remove resolveAllowedActions prop from Form * Create gentle-olives-talk.md Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Add input file module (#260) * Update codeowners * Update owners * feature(FDS-342): Input password field (#265) * Add input image module * Add input image module * Add input month * feature(FDS-342): Input tel field (#266) * Add input image module * Add input image module * Add input month * Add Input tel field * feature(FDS-342): Input time field (#267) * Input time * Input time Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Input color (#271) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * feature(FDS-342): Add input image field (#261) * Add input file module * Add input image module * Add input image module * Add input month * Recover settings from develop * improve tests * add helper function Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(FDS-342): Add input month field (#262) * Add input image module * Add input image module * Add input month * feature(FDS-342): Input url field (#268) * Input url * Input url * update snapshot * Fix export order * Fix classname sort order * fix sort on module keys Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <b@bje.co> * Input week (#269) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <b@bje.co> * Input range (#270) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(FDS-347): [DOCS] - Add docs for new components P1 (#273) Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(FDS-349): ViewConfig improvements (#275) * chore(FDS-349): ViewConfig default icon to eye * chore(FDS-349): ViewConfig default icon to eye * Remove changesets from last release * CI fix not to build twice on publish * chore(FDS-350): sync lint comment disable/console Co-authored-by: Manuel Ramirez <lordpixel@users.noreply.github.com> Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: CircleCI <circleci@circleci> Co-authored-by: Snyk bot <snyk-bot@snyk.io> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: rociobaena <87443054+rociobaena@users.noreply.github.com>
brianespinosa
added a commit
that referenced
this pull request
Sep 24, 2021
* chore(FDS-148): get all *TestID code out of ActionEdit.js (#192) * chore(FDS-148): get all *TestID code out of ActionEdit.js * chore(FDS-148): add aria-label to table columns in tests * chore(FDS-148): remove testids from unit tests * chore(FDS-148): fix all tests * chore(FDS-148): address PR comments Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(release): publish - @espressive/cascara@0.4.2-alpha.0 * Have CI skip rebuilds on lerna publish commits * feat(FDS-62): Admin Structure & Design Tokens (#194) * feat(FDS-172): Structure slots have suspense * Rename structure test apps * chore(FDS-62) Updates Structure API with drawer * Add CI Skip to publish commits from lerna * Structure API cleaned up, ready for style dryup * Fix design tokens so we can use them in different scenarios * remove custom notify message for now * Cleaned up mixins for breakpoints/scrolling * Change package dep on docs to use workspace * Force docs to link * Update caniuse * Custom properties for branding * make sure our tokens are getting built before cascara build * publish notice for slack * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.1 - @espressive/design-tokens@0.1.3-alpha.0 * fix(FDS-179): [Dashboard] fix prop type warnings (#195) Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.2 * fix(FDS-179): [Chat, Structures] fix prop type warnings (#196) * chore(FDS-179): [Chat, Structures] fix prop type warnings * Update packages/cascara/src/structures/AdminStructure/AdminStructureHeader.js Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.3 * chore(FDS-182) Nivo version bump (#197) * Fix lockfile with @Espressive outside resolutions * chore(FDS-182) Bump version of Nivo and dependencies * Get docs happy again * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.4 * feat(FDS-177) feat(FDS-178) List and Bubble Widget (#199) * feat(FDS-177) feat(FDS-178) List and Bubble Widget * Change button import path * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.5 * feat(FDS-62): Admin Structure PAC (#200) * feat(FDS-172): Structure slots have suspense * Rename structure test apps * chore(FDS-62) Updates Structure API with drawer * Add CI Skip to publish commits from lerna * Structure API cleaned up, ready for style dryup * Fix design tokens so we can use them in different scenarios * remove custom notify message for now * Cleaned up mixins for breakpoints/scrolling * Change package dep on docs to use workspace * Force docs to link * Update caniuse * Custom properties for branding * make sure our tokens are getting built before cascara build * publish notice for slack * Styles for header chiclet * Make sure we support different app base path * Move Reakit components into slot components, responsive * Add dev dependency for eslint in test apps * Clean up structure org * Bump patch and minor versions * Resolve new lint issues after dep updates * Update rollup plugins, resolve warnings on faker * Roll back react-scripts until Cosmos can get updated * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.6 * chore(DFS-206): remove design tokens fas peer-dependency from Cascara (#202) Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.7 * Feature/fds 195 cosmos to r sv4 (#201) * feat(FDS-172): Structure slots have suspense * Rename structure test apps * chore(FDS-62) Updates Structure API with drawer * Add CI Skip to publish commits from lerna * Structure API cleaned up, ready for style dryup * Fix design tokens so we can use them in different scenarios * remove custom notify message for now * Cleaned up mixins for breakpoints/scrolling * Change package dep on docs to use workspace * Force docs to link * Update caniuse * Custom properties for branding * make sure our tokens are getting built before cascara build * publish notice for slack * Styles for header chiclet * Make sure we support different app base path * Move Reakit components into slot components, responsive * Add dev dependency for eslint in test apps * Clean up structure org * Bump patch and minor versions * Resolve new lint issues after dep updates * Update rollup plugins, resolve warnings on faker * Roll back react-scripts until Cosmos can get updated * chore(FDS-195) Update Cosmos to work with RS v4 * Simplify config * upgrade * Do not yell at Synk for dep updates * Fix typing for logo * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.8 * fix: app-tests/_templates/next-template/package.json to reduce vulnerabilities (#203) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-POSTCSS-1090595 - https://snyk.io/vuln/SNYK-JS-POSTCSS-1255640 * fix: app-tests/next-layout-admin/package.json to reduce vulnerabilities (#204) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-POSTCSS-1090595 - https://snyk.io/vuln/SNYK-JS-POSTCSS-1255640 * fix: app-tests/next-button/package.json to reduce vulnerabilities (#205) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-POSTCSS-1090595 - https://snyk.io/vuln/SNYK-JS-POSTCSS-1255640 * feat(FDS-207): Structure theme object support (#206) * Fix design tokens dep and upgrade * FDS-207 Structures w/ theme object support * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.9 * fix(FDS-213) design tokens dist publishing (#207) * Fix design tokens dep and upgrade * FDS-207 Structures w/ theme object support * Help out docs * Get design tokens out of our lockfile * Change the process for design-tokens * Go back to a postinstall for now, include src * fml put prepare back * get postinstall back pout * postinstall is back again * include src for postinstall * chore(release): publish [ci skip] - @espressive/design-tokens@0.1.3-alpha.1 * fix(FDS-173): remove unused RowContext file (#208) Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.10 * Move style dict to full dep * chore(release): publish [ci skip] - @espressive/design-tokens@0.1.3-alpha.2 * add missing config in package :/ * chore(release): publish [ci skip] - @espressive/design-tokens@0.1.3-alpha.3 * feat(FDS-218) Add @espressive/icons and clean up icons usage in AdminStructure (#211) * feat(FDS-218) Add @espressive/icons and clean up icons usage in example app * lockfile * Clean up SVG * viewbox * Prepare script * upgrade * fix gitignore * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.11 - @espressive/icons@0.0.2-alpha.0 * Clean should only remove .js files in root * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.12 - @espressive/icons@0.0.2-alpha.1 * feat(FDS-221): Barista & Slack themes for Cascara Chat (#212) * Baseline for Barista theme: Chat * Clean up some of the triangle tag position * feat(FDS-221): Barista theme for Cascara Chat * Fix lint that for some reason did not fail the precommit hook * Set up custom theme for Slack * Slack theme, font switching, no static styles * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.13 * fix: app-tests/next-layout-admin/package.json to reduce vulnerabilities (#213) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-BROWSERSLIST-1090194 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * fix: app-tests/_templates/next-template/package.json to reduce vulnerabilities (#215) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-BROWSERSLIST-1090194 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(FDS-224): Remove usage of SUIR in Cascara and remove it from peer deps (#216) * Remove usage of SUIR in Cascara and remove it from peer deps * upgrade * Fix icons path Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.14 * Make sure icons is defined as a module * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.15 - @espressive/icons@0.0.2-alpha.2 * chore(FDS-238): esModule support in Jest (#220) * chore(FDS-238): esModule support in Jest * Update deps * Try adding require dep * Fix the issue with path due to the icons package being module * Make CI happy with mjs extension * Flag since we are on node 12 * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.16 - @espressive/icons@0.0.2-alpha.3 * chore(FDS-222): add documentation for modules (#217) * chore(FDS-222): add docs for action modules WIP * chore(FDS-222): add docs for data modules WIP * chore(FDS-222): add docs for data modules * chore(FDS-222): export icons as commonjs + fix for docs paths * chore(FDS-222): export icons as commonjs + fix for docs paths * chore(FDS-222): improve documentation * Update packages/cascara/src/modules/ActionButton/ActionButton.js Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(FDS-222): add standalone module (module provider) examples * chore(FDS-222): enclose props in backticks * address PR comments Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.17 * Resolve circular dependencies * Migrate deprecated division in SCSS * Fix missing scroll support for main * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.18 * Fix typings for Nav slot component * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.19 * feat(FDS-187): do not render a Table if no data nor columns are defined (#221) * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.20 * Fix table fluid width * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.21 * feat(New Icons) Add: pencil, drawer, close, check * private(Tooltip) POC of private tooltip component * chore(module cleanup) Clean icons: edit, overflow * Add aria labels to edit buttons * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.22 - @espressive/icons@0.0.2-alpha.4 * feat(table simplified) Table can now show data without displayConfig * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.23 - @espressive/icons@0.0.2-alpha.5 * Change our table logic so we do not blow up * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.24 * Make sure we have an array before trying to access an index * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.25 * Feature/fds 245 (#222) * chore(FDS-246): export prop types for Table and Form so we can reuse them both inside Cascara and outside * chore(FDS-247): Do not directly set the isLabeled prop on dataConfig.display objects * chore(FDS-247): put the isLabeled prop back Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.26 * chore(FDS-250,FDS-251) Table DX and Cosmos Testing (#223) * chore(FDS-250) Prepare fixture for work on TableDX * chore(FDS-251) Use fixtures to create tests This is a POC to use Cosmos fixtures and data to create our actual test cases * chore(FDS-251) Improve comments in TableDX test * chore(FDS-251) Props on fixture, show in Cosmos UI * chore(FDS-251) Clean up existing fixtures * chore(FDS-250) Loading/Empty states, tests * Obsolete snapshot for empty * feat(FDS-250) Abstract infer func so it does not run unless we reach the func The infer code was always getting run so it was always getting set * chore(FDS-250) Update test with label name * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.27 * chore(FDS-246): export prop types for Table and Form so we can reuse them both inside Cascara and outside (#224) Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.28 * feat(FDS-15): Form P1 (#143) * Fix missing label styles on Modules * FDS-115 Updated very old Form POC with actual components and modules from Table This also includes adding the concept of component-specific modules. Form now has a data module for rendering rows. We will need to bring back the old ActionEdit button… but possibly make that specific to Form. This pattern of merging the module types to check them when throwing prop errors is something we should evaluate in both Form and Table. * Pretty sure we want to make dataConfig required. * FDS-15 FormRow now supports `ratio` * FDS-116 - crate a Form-specific ActionEdit module * FDS-116 - crate a Table-specific ActionEdit module * FDS-116 - setup onAction function for feature parity with Table * FDS-116 - fix vercel build * Spread local action modules after globals * FDS-15 Export Form from Cascara, import for use in MDX * FDS-116 - fix unit tests * FDS-116 - fix vercel build * FDS-116 - remove isSecure prop as we'll have a special module for that * FDS-30 - unit tests for form * FDS-29 - Form PAC documentation * Update packages/cascara/src/ui/Form/Form.doc.mdx Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(FDS-150): resolve conflicts between feature branch and develop (#180) * FDS-134 - Table action stack (<ActionsMenu />) * FDS-134 - wrap tests in reakit's provider to prevent snapshot failures * FDS-134 - update docs * FDS-134 - standardize the way actions get their name * adress PR comments * chore(release): publish - docs@0.3.0 - @espressive/cascara@0.3.0 * FDS-137 - use action name for button name if no content is specified * FDS-136 Do not render popover as a modal We should now not have to worry about z-index from parent defined z-index and we will also not have a lot of extra portals sitting in the DOM. * FDS-136 Updating snapshots to show the menu that should now render adjacent to menu buttons instead of in a portal * chore(release): publish - docs@0.3.1 - @espressive/cascara@0.3.1 * Change action menu overflow issues and set z-index inline with SUI * Update snapshot as action menu is no longer inline * chore(release): publish - docs@0.3.2 - @espressive/cascara@0.3.2 - @espressive/babel-preset-espressive@0.2.3 - @espressive/eslint-config-espressive@0.2.2 - @espressive/legacy-css@2.0.2 * chore(modules): take all Test ID code out of our modules and props themselves * fix(ActionsMenu): do not remove 'name' prop from ...rest * FDS-133 Add initial dangerfile, Github Action, and CascaraBot * Fix step name * Update our Danger action * Try setting both tokens * Update Danger version * Dangerfile test modified * Define danger * assignees * fixed name in modified * Disable other actions not being used * Update how we are writing the dangerfile * Rename * dependency rules * Add more files changed test cases * Fix test cases for files * Dependencies test * Dangerfile warning * Types for section * Update readme, change index * Add additional types for action events on PR * Fix action syntax * again fix syntax * Add Jira linking to Danger * remove danger plugin * chore(release): publish - docs@0.3.3 - @espressive/cascara@0.3.3 * Rename eslint config for scoped use * Eslint rules ported and docs updated, rules erroring currently commented * Fix package.json sorting * chore(release): publish - docs@0.3.4 - @espressive/cascara@0.3.4 - @espressive/babel-preset-espressive@0.2.4 - @espressive/eslint-config@1.0.0 - @espressive/legacy-css@2.0.3 * FDS-145 Resolve all `import` plugin eslint rules * Use workspace resolutions for Cascara * Use new `prepare` script instead of `prepublish` to make sure Cascara is built * Do not store ALL of our node_modules as artifacts, you idiot! * Make sure we are running prepare on any packages that will be needed for these tests * Update husky to fix the package.json * feat(Conditional Actions): Table conditional actions PoC #1 * feat(Table) conditional actions * docs(Table) conditional actions * chore(FDS-151): Resolve some eslint react rules (button type, display name, func comp, jsx bool) Resolves FDS-151 ## Fixes rules ``` 'react/button-has-type': 0, 'react/display-name': 0, 'react/function-component-definition': 0, 'react/jsx-boolean-value': 0, ``` * chore(FDS-146) Resolve eslint `prefer-` prefixed errors * chore(FDS-152): Set up autosquash Resolves FDS-152 This should make our PRs automatically squash against develop when other PRs get merged. * disable auto squash action * squash back * chore(FDS-149): Resolve eslint `no-` prefixed errors and `multiline-comment-style` (#170) Fixes eslint rules: 'multiline-comment-style': 0, 'no-alert': 0, 'no-extra-boolean-cast': 0, 'no-prototype-builtins': 0, 'no-useless-return': 0, Co-authored-by: Manuel Ramirez <lordpixel@users.noreply.github.com> * Use an autoupdate action instead * comment about auto update * chore(FDS-147) - fix eslint 'react/prop-types' and 'react/forbid-prop-types' (#174) * chore(FDS-147) - fix eslint errors for 'react/prop-types' and react/forbid-prop-types' * chore(FDS-147) - remove silly invocation from 'element' prop type * chore(FDS-147) - address PR review comments * Update app-tests/_templates/next-template/src/pages/index.js Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * Update app-tests/_templates/next-template/src/pages/_document.js Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(FDS-147) - address PR review comments Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(FDS-155): React.memo and useCallback example (#176) Resolves FDS-155 This fixture should show what happens when we have a handler function that is not wrapped with `useCallback` and how that impacts the use of `React.memo`. We might actually want to create a collection of fixtures like this to share with the FE team. Hmm… * chore(FDS-153) - Fix remaining eslint rule errors (#175) * chore(FDS-147) - fix eslint errors for 'react/prop-types' and react/forbid-prop-types' * chore(FDS-153) - fix remaining eslint errors consistent-return eslint-comments/disable-enable-pair eslint-comments/no-unused-disable eslint-comments/require-description jest/no-done-callback react/jsx-key react/jsx-no-bind react/no-unknown-property sort-imports sort-keys * chore(FDS-153) - address PR comments * chore(FDS-153) - address PR comments (2) * chore(FDS-153) - fix eslint for new fixture Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(release): publish - docs@0.4.0 - @espressive/cascara@0.4.0 - @espressive/babel-preset-espressive@0.2.5 - @espressive/eslint-config@1.0.1 - @espressive/legacy-css@2.0.4 * FDS-115 Updated very old Form POC with actual components and modules from Table This also includes adding the concept of component-specific modules. Form now has a data module for rendering rows. We will need to bring back the old ActionEdit button… but possibly make that specific to Form. This pattern of merging the module types to check them when throwing prop errors is something we should evaluate in both Form and Table. * FDS-116 - crate a Form-specific ActionEdit module * FDS-116 - setup onAction function for feature parity with Table * FDS-116 - fix vercel build * FDS-116 - fix unit tests * FDS-116 - remove isSecure prop as we'll have a special module for that * test(Table): fix unit tests for Table * test(Form): fix unit tests for Form Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: Brian Espinosa <b@bje.co> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Fix test and oops removing global action edit * Clean up Form fixture * Fix weird display in all modules fixture * feat(FDS-15): pair session chages * chore(FDS-253): separate out all of the elements of dataConfig and get rid of it (#225) * chore(FDS-253): separate out all of the elements of dataConfig and get rid of it * Update snapshot for SVG buttons * Export form! Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: Brian Espinosa <b@bje.co> * feat(FDS-117): get onAction working the way it works in Table (#226) * chore(FDS-253): separate out all of the elements of dataConfig and get rid of it * Update snapshot for SVG buttons * Export form! * feat(FDS-117): get onAction working the way it works in Table * Update snapshot * Fix snapshots removed Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: Brian Espinosa <b@bje.co> Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: Manuel Ramirez <lordpixel@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.29 * bugfix(FDS-273) Empty data, or undefined data on widgets not blowing up (and now showing loading or empty states) (#227) * bugfix(FDS-273) Empty and loading states for widgets so they do not blow up with empty or undefined * chore(private) Move Section and Popover into /private * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.30 * bugfix(FDS-279) Make sure empty class only present for empty or loading widgets (#228) This also cleans up the logic for when to display a component or not into the widget itself where we decide if we should even render children * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.31 * fix TableBase: uniqueIdAttribute is uncorrectly set to undefined by a faulty check (#229) Reviewed-by: manu Refs FDS-284 Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.32 * chore(FDS-286) Move Pagination into Cascara (#234) * chore(FDS-286) Move Pagination into Cascara This also cleans up how we are defining index exports to make it easier for ourselves * Resolve circular dependencies * Disable chat doc Support for running docs locally with transpiled * Ignore coverage, get lint happy on old fixtures * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.33 * chore(FDS-274) directory cleanup (#233) * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.34 * doc(Cascara): [FDS-248] Update docs to match P2 changes (#232) * doc(Cascara): [FDS-248] Update docs to match P2 changes * doc(Cascara): [FDS-248] remove isEditable prop from doc examples * doc(Cascara): [FDS-248] remove isLabeled prop from docs as it won't be exposed to developers Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.35 * test(Cascara): [FDS-194] test optimization (#231) * test(Cascara): [FDS-194] test optimization * test(Cascara): do not use Faker at runtime, prepare data instead * test(Cascara): [FDS-194] split tests into multiple files - Snapshot tests - DX tests - UX tests - others * test(Cascara): [FDS-194] move things around for better cosmos experience Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.36 * doc(Cascara): [docs] update docs to include version and branch (#235) * doc(Cascara): [FDS-248] Update docs to match P2 changes * doc(Cascara): [FDS-248] remove isEditable prop from doc examples * doc(Cascara): [FDS-248] last touches * Fix incorrect file lookup Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <b@bje.co> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.37 * Change theme default index * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.38 * Fix attachment type * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.39 * Add error boundary to all Chat components * Add sourcemaps and chunks * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.40 * Define a fallback for loading state for themes without default colors * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.41 * Wow. We were not exporting ChatProvider. :/ * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.42 * chore(FDS-255): Add empty and loading status for a Form (#236) * Add empty and loading status for a Form * Create temporary fields * rename variable for developer message * Update JsonJsonPlaceholder reference * Update snapshot * Add comment * Update yarn lock file * update yarn lock file * update yarn lock file * Try adding missing package direct to docs * See if we can externalize with plugin * Try changing manualChunks * Add vendor option to external * Try going back to our horrible chunks * Try rolling docs back on fluent * Disable form MDX Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> Co-authored-by: Brian Espinosa <b@bje.co> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.43 * try defining engines in monorepo package.json * engines to next (#238) * doc(Cascara): [Form, Table, Modules] general improvements (#237) * doc(Cascara): [FDS-248] Update docs to match P2 changes * doc(Cascara): [FDS-248] remove isEditable prop from doc examples * doc(Cascara): [FDS-248] last touches * chore(FDS-248): [FORM] improve docs * remove unwanted ESLint rule disable comment * doc(Cascara): remove unwanted changes in modules and Form * doc(Cascara): revert changes to Form docs regarding label and event name changes Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.44 * fix(FDS-298) fix vercel (#240) * Get docs happy again and using new yarn * Skip only the cache for yarn * Actually... INCLUDE the cache * Add yarn workspace tools * add transpile modules * Try scoping * define engines * root yarn engines * No workspace shortcuts * add rollup dev deps to cascara * foreach * Fix some odd, scoped lint issues * Remove test files not used in example apps * bump lerna I guess * disable CI steps for bump * chore(FDS-311): Add empty and loading status to JSONPlaceholder * feat(FDS-337) POC Components > Cascara (#248) * Clean up exports, move Pagination * Move ActionStack * Add Tabs * Add List * This file was not being used * Simplify exports * Rename placeholders to system components We might simplify this further at a later date, but we cannot change the depth of our directories yet or our docs will break * chore(FDS-272): [@espressive/eslint-config] - relax no-console rule in develop (#249) Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(FDS-335): [Cascara] - improve usage of error boundaries in modules (#250) * chore(FDS-335): [system-components] - update Boundaries props, include ErrorFallbackComponent * chore(FDS-335): [system-components] - create ModuleErrorBoundary component for modules * chore(FDS-335): [system-components] - implement ModuleErrorBoundary component in modules, replaces ErrorBoundary Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(FDS-299): Setup Commitizen (#251) * chore(FDS-299): [commitizen] - install commitizen and dependencies * configure commitizen * chore(FDS-299): [docs] - create contribution guide Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * feat(FDS-172) Boundaries w/ Suspense & AdminStructure suspending out of the box (#252) * Add boundaries to all AdminStructure slots * Add suspense to Boundaries and extend API * Try fix for suspense on Vercel * Quick fix for Vercel/Next and ReactDOMServer * chore(FDS-255): Add input date field (#254) * Add Input date module * Apply feedback * Remove no used props * Update snapshot * chore(FDS-339): Proposal and POC for selecting rows from Table (#255) * chore(FDS-339): [Cascara Table] - POC for row selection * chore(FDS-339): [Cascara Table] - completed POC for row selection * chore(FDS-339): [Cascara Table] - remove UNSAFE_isSelectAll prop * feat(FDS-339): [Cascara Table] - address PR comments Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * feat(FDS-344): ViewConfig P1 (#256) * Remove install-state from cache * feat(FDS-344) ViewConfig P1 * Update snapshots for loading * Export ViewConfig only * Get state hook into export * Make rollup fail on warnings Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Add codeowners * feat(FDS-345): [Cascara] - Replace ErrorBoundary with Boundaries (#257) * feat(FDS-345): [Cascara] - update all components to use the new Boundaries component * feat(FDS-345): [Cascara] - remove old ErrorBoundary component Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(FDS-329) Changesets for automated releases (#263) * Add changesets cli * Remove wildcards from package.json files * trying changeset * Try adding a publish step with the new system * fix lockfile * Update to latest node orb for latest yarn * try with faster install * cache path was not helpful * Publish Next Snapshot * Publish Next Snapshot * Publish Next Snapshot * Publish Next Snapshot * Empty * Publish Next Snapshot * Graduated versions! * Fix committed snapshot release * Another alpha * Publish Full Release * Fix docs * Remove lerna * Remove Lerna * chore(FDS-342): Add input date-time field (#258) * Add Input date module * Apply feedback * Remove no used props * Update snapshot * Add datetime module * Update slack message support * valid JSON * FML add the status file * Stop using log, add node bin * Try moving command outside * earlier step * Try with correct tooling location * Test early * add memborb back * test after install * Try the full output * change path * Try extra parens * change path * fix extra parens * try log * try no echo and stdout * quotes around stdout * try echo output * almost... * try printf * Try notify on slack * Just link to the versions artifact * :/ * fix invalid blocks * Add fixture and unit test for DataEmail field (#259) * Script to set the correct versions when doing a publish * Try updating our files in develop * chore(FDS-346): [Cascara Form] - remove resolveAllowedActions prop from form (#264) * feat(FDS-346): [Cascara Form] - Remove resolveAllowedActions prop from Form * Create gentle-olives-talk.md Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Add input file module (#260) * Update codeowners * Update owners * feature(FDS-342): Input password field (#265) * Add input image module * Add input image module * Add input month * feature(FDS-342): Input tel field (#266) * Add input image module * Add input image module * Add input month * Add Input tel field * feature(FDS-342): Input time field (#267) * Input time * Input time Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Input color (#271) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * feature(FDS-342): Add input image field (#261) * Add input file module * Add input image module * Add input image module * Add input month * Recover settings from develop * improve tests * add helper function Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(FDS-342): Add input month field (#262) * Add input image module * Add input image module * Add input month * feature(FDS-342): Input url field (#268) * Input url * Input url * update snapshot * Fix export order * Fix classname sort order * fix sort on module keys Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <b@bje.co> * Input week (#269) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <b@bje.co> * Input range (#270) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(FDS-347): [DOCS] - Add docs for new components P1 (#273) Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(FDS-349): ViewConfig improvements (#275) * chore(FDS-349): ViewConfig default icon to eye * chore(FDS-349): ViewConfig default icon to eye * Remove changesets from last release * CI fix not to build twice on publish * chore(FDS-350): sync lint comment disable/console * feat(FDS-351): ActionStack correct system styles * Update angry-rabbits-share.md * Delete TempButton.module.scss * Update snapshot with viewbox change * Make sure we do not render the dropdown if there are no actions Co-authored-by: Manuel Ramirez <lordpixel@users.noreply.github.com> Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: CircleCI <circleci@circleci> Co-authored-by: Snyk bot <snyk-bot@snyk.io> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: rociobaena <87443054+rociobaena@users.noreply.github.com>
brianespinosa
added a commit
that referenced
this pull request
Sep 28, 2021
* chore(FDS-148): get all *TestID code out of ActionEdit.js (#192) * chore(FDS-148): get all *TestID code out of ActionEdit.js * chore(FDS-148): add aria-label to table columns in tests * chore(FDS-148): remove testids from unit tests * chore(FDS-148): fix all tests * chore(FDS-148): address PR comments Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(release): publish - @espressive/cascara@0.4.2-alpha.0 * Have CI skip rebuilds on lerna publish commits * feat(FDS-62): Admin Structure & Design Tokens (#194) * feat(FDS-172): Structure slots have suspense * Rename structure test apps * chore(FDS-62) Updates Structure API with drawer * Add CI Skip to publish commits from lerna * Structure API cleaned up, ready for style dryup * Fix design tokens so we can use them in different scenarios * remove custom notify message for now * Cleaned up mixins for breakpoints/scrolling * Change package dep on docs to use workspace * Force docs to link * Update caniuse * Custom properties for branding * make sure our tokens are getting built before cascara build * publish notice for slack * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.1 - @espressive/design-tokens@0.1.3-alpha.0 * fix(FDS-179): [Dashboard] fix prop type warnings (#195) Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.2 * fix(FDS-179): [Chat, Structures] fix prop type warnings (#196) * chore(FDS-179): [Chat, Structures] fix prop type warnings * Update packages/cascara/src/structures/AdminStructure/AdminStructureHeader.js Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.3 * chore(FDS-182) Nivo version bump (#197) * Fix lockfile with @Espressive outside resolutions * chore(FDS-182) Bump version of Nivo and dependencies * Get docs happy again * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.4 * feat(FDS-177) feat(FDS-178) List and Bubble Widget (#199) * feat(FDS-177) feat(FDS-178) List and Bubble Widget * Change button import path * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.5 * feat(FDS-62): Admin Structure PAC (#200) * feat(FDS-172): Structure slots have suspense * Rename structure test apps * chore(FDS-62) Updates Structure API with drawer * Add CI Skip to publish commits from lerna * Structure API cleaned up, ready for style dryup * Fix design tokens so we can use them in different scenarios * remove custom notify message for now * Cleaned up mixins for breakpoints/scrolling * Change package dep on docs to use workspace * Force docs to link * Update caniuse * Custom properties for branding * make sure our tokens are getting built before cascara build * publish notice for slack * Styles for header chiclet * Make sure we support different app base path * Move Reakit components into slot components, responsive * Add dev dependency for eslint in test apps * Clean up structure org * Bump patch and minor versions * Resolve new lint issues after dep updates * Update rollup plugins, resolve warnings on faker * Roll back react-scripts until Cosmos can get updated * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.6 * chore(DFS-206): remove design tokens fas peer-dependency from Cascara (#202) Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.7 * Feature/fds 195 cosmos to r sv4 (#201) * feat(FDS-172): Structure slots have suspense * Rename structure test apps * chore(FDS-62) Updates Structure API with drawer * Add CI Skip to publish commits from lerna * Structure API cleaned up, ready for style dryup * Fix design tokens so we can use them in different scenarios * remove custom notify message for now * Cleaned up mixins for breakpoints/scrolling * Change package dep on docs to use workspace * Force docs to link * Update caniuse * Custom properties for branding * make sure our tokens are getting built before cascara build * publish notice for slack * Styles for header chiclet * Make sure we support different app base path * Move Reakit components into slot components, responsive * Add dev dependency for eslint in test apps * Clean up structure org * Bump patch and minor versions * Resolve new lint issues after dep updates * Update rollup plugins, resolve warnings on faker * Roll back react-scripts until Cosmos can get updated * chore(FDS-195) Update Cosmos to work with RS v4 * Simplify config * upgrade * Do not yell at Synk for dep updates * Fix typing for logo * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.8 * fix: app-tests/_templates/next-template/package.json to reduce vulnerabilities (#203) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-POSTCSS-1090595 - https://snyk.io/vuln/SNYK-JS-POSTCSS-1255640 * fix: app-tests/next-layout-admin/package.json to reduce vulnerabilities (#204) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-POSTCSS-1090595 - https://snyk.io/vuln/SNYK-JS-POSTCSS-1255640 * fix: app-tests/next-button/package.json to reduce vulnerabilities (#205) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-POSTCSS-1090595 - https://snyk.io/vuln/SNYK-JS-POSTCSS-1255640 * feat(FDS-207): Structure theme object support (#206) * Fix design tokens dep and upgrade * FDS-207 Structures w/ theme object support * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.9 * fix(FDS-213) design tokens dist publishing (#207) * Fix design tokens dep and upgrade * FDS-207 Structures w/ theme object support * Help out docs * Get design tokens out of our lockfile * Change the process for design-tokens * Go back to a postinstall for now, include src * fml put prepare back * get postinstall back pout * postinstall is back again * include src for postinstall * chore(release): publish [ci skip] - @espressive/design-tokens@0.1.3-alpha.1 * fix(FDS-173): remove unused RowContext file (#208) Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.10 * Move style dict to full dep * chore(release): publish [ci skip] - @espressive/design-tokens@0.1.3-alpha.2 * add missing config in package :/ * chore(release): publish [ci skip] - @espressive/design-tokens@0.1.3-alpha.3 * feat(FDS-218) Add @espressive/icons and clean up icons usage in AdminStructure (#211) * feat(FDS-218) Add @espressive/icons and clean up icons usage in example app * lockfile * Clean up SVG * viewbox * Prepare script * upgrade * fix gitignore * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.11 - @espressive/icons@0.0.2-alpha.0 * Clean should only remove .js files in root * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.12 - @espressive/icons@0.0.2-alpha.1 * feat(FDS-221): Barista & Slack themes for Cascara Chat (#212) * Baseline for Barista theme: Chat * Clean up some of the triangle tag position * feat(FDS-221): Barista theme for Cascara Chat * Fix lint that for some reason did not fail the precommit hook * Set up custom theme for Slack * Slack theme, font switching, no static styles * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.13 * fix: app-tests/next-layout-admin/package.json to reduce vulnerabilities (#213) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-BROWSERSLIST-1090194 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * fix: app-tests/_templates/next-template/package.json to reduce vulnerabilities (#215) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-BROWSERSLIST-1090194 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(FDS-224): Remove usage of SUIR in Cascara and remove it from peer deps (#216) * Remove usage of SUIR in Cascara and remove it from peer deps * upgrade * Fix icons path Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.14 * Make sure icons is defined as a module * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.15 - @espressive/icons@0.0.2-alpha.2 * chore(FDS-238): esModule support in Jest (#220) * chore(FDS-238): esModule support in Jest * Update deps * Try adding require dep * Fix the issue with path due to the icons package being module * Make CI happy with mjs extension * Flag since we are on node 12 * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.16 - @espressive/icons@0.0.2-alpha.3 * chore(FDS-222): add documentation for modules (#217) * chore(FDS-222): add docs for action modules WIP * chore(FDS-222): add docs for data modules WIP * chore(FDS-222): add docs for data modules * chore(FDS-222): export icons as commonjs + fix for docs paths * chore(FDS-222): export icons as commonjs + fix for docs paths * chore(FDS-222): improve documentation * Update packages/cascara/src/modules/ActionButton/ActionButton.js Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(FDS-222): add standalone module (module provider) examples * chore(FDS-222): enclose props in backticks * address PR comments Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.17 * Resolve circular dependencies * Migrate deprecated division in SCSS * Fix missing scroll support for main * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.18 * Fix typings for Nav slot component * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.19 * feat(FDS-187): do not render a Table if no data nor columns are defined (#221) * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.20 * Fix table fluid width * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.21 * feat(New Icons) Add: pencil, drawer, close, check * private(Tooltip) POC of private tooltip component * chore(module cleanup) Clean icons: edit, overflow * Add aria labels to edit buttons * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.22 - @espressive/icons@0.0.2-alpha.4 * feat(table simplified) Table can now show data without displayConfig * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.23 - @espressive/icons@0.0.2-alpha.5 * Change our table logic so we do not blow up * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.24 * Make sure we have an array before trying to access an index * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.25 * Feature/fds 245 (#222) * chore(FDS-246): export prop types for Table and Form so we can reuse them both inside Cascara and outside * chore(FDS-247): Do not directly set the isLabeled prop on dataConfig.display objects * chore(FDS-247): put the isLabeled prop back Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.26 * chore(FDS-250,FDS-251) Table DX and Cosmos Testing (#223) * chore(FDS-250) Prepare fixture for work on TableDX * chore(FDS-251) Use fixtures to create tests This is a POC to use Cosmos fixtures and data to create our actual test cases * chore(FDS-251) Improve comments in TableDX test * chore(FDS-251) Props on fixture, show in Cosmos UI * chore(FDS-251) Clean up existing fixtures * chore(FDS-250) Loading/Empty states, tests * Obsolete snapshot for empty * feat(FDS-250) Abstract infer func so it does not run unless we reach the func The infer code was always getting run so it was always getting set * chore(FDS-250) Update test with label name * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.27 * chore(FDS-246): export prop types for Table and Form so we can reuse them both inside Cascara and outside (#224) Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.28 * feat(FDS-15): Form P1 (#143) * Fix missing label styles on Modules * FDS-115 Updated very old Form POC with actual components and modules from Table This also includes adding the concept of component-specific modules. Form now has a data module for rendering rows. We will need to bring back the old ActionEdit button… but possibly make that specific to Form. This pattern of merging the module types to check them when throwing prop errors is something we should evaluate in both Form and Table. * Pretty sure we want to make dataConfig required. * FDS-15 FormRow now supports `ratio` * FDS-116 - crate a Form-specific ActionEdit module * FDS-116 - crate a Table-specific ActionEdit module * FDS-116 - setup onAction function for feature parity with Table * FDS-116 - fix vercel build * Spread local action modules after globals * FDS-15 Export Form from Cascara, import for use in MDX * FDS-116 - fix unit tests * FDS-116 - fix vercel build * FDS-116 - remove isSecure prop as we'll have a special module for that * FDS-30 - unit tests for form * FDS-29 - Form PAC documentation * Update packages/cascara/src/ui/Form/Form.doc.mdx Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(FDS-150): resolve conflicts between feature branch and develop (#180) * FDS-134 - Table action stack (<ActionsMenu />) * FDS-134 - wrap tests in reakit's provider to prevent snapshot failures * FDS-134 - update docs * FDS-134 - standardize the way actions get their name * adress PR comments * chore(release): publish - docs@0.3.0 - @espressive/cascara@0.3.0 * FDS-137 - use action name for button name if no content is specified * FDS-136 Do not render popover as a modal We should now not have to worry about z-index from parent defined z-index and we will also not have a lot of extra portals sitting in the DOM. * FDS-136 Updating snapshots to show the menu that should now render adjacent to menu buttons instead of in a portal * chore(release): publish - docs@0.3.1 - @espressive/cascara@0.3.1 * Change action menu overflow issues and set z-index inline with SUI * Update snapshot as action menu is no longer inline * chore(release): publish - docs@0.3.2 - @espressive/cascara@0.3.2 - @espressive/babel-preset-espressive@0.2.3 - @espressive/eslint-config-espressive@0.2.2 - @espressive/legacy-css@2.0.2 * chore(modules): take all Test ID code out of our modules and props themselves * fix(ActionsMenu): do not remove 'name' prop from ...rest * FDS-133 Add initial dangerfile, Github Action, and CascaraBot * Fix step name * Update our Danger action * Try setting both tokens * Update Danger version * Dangerfile test modified * Define danger * assignees * fixed name in modified * Disable other actions not being used * Update how we are writing the dangerfile * Rename * dependency rules * Add more files changed test cases * Fix test cases for files * Dependencies test * Dangerfile warning * Types for section * Update readme, change index * Add additional types for action events on PR * Fix action syntax * again fix syntax * Add Jira linking to Danger * remove danger plugin * chore(release): publish - docs@0.3.3 - @espressive/cascara@0.3.3 * Rename eslint config for scoped use * Eslint rules ported and docs updated, rules erroring currently commented * Fix package.json sorting * chore(release): publish - docs@0.3.4 - @espressive/cascara@0.3.4 - @espressive/babel-preset-espressive@0.2.4 - @espressive/eslint-config@1.0.0 - @espressive/legacy-css@2.0.3 * FDS-145 Resolve all `import` plugin eslint rules * Use workspace resolutions for Cascara * Use new `prepare` script instead of `prepublish` to make sure Cascara is built * Do not store ALL of our node_modules as artifacts, you idiot! * Make sure we are running prepare on any packages that will be needed for these tests * Update husky to fix the package.json * feat(Conditional Actions): Table conditional actions PoC #1 * feat(Table) conditional actions * docs(Table) conditional actions * chore(FDS-151): Resolve some eslint react rules (button type, display name, func comp, jsx bool) Resolves FDS-151 ## Fixes rules ``` 'react/button-has-type': 0, 'react/display-name': 0, 'react/function-component-definition': 0, 'react/jsx-boolean-value': 0, ``` * chore(FDS-146) Resolve eslint `prefer-` prefixed errors * chore(FDS-152): Set up autosquash Resolves FDS-152 This should make our PRs automatically squash against develop when other PRs get merged. * disable auto squash action * squash back * chore(FDS-149): Resolve eslint `no-` prefixed errors and `multiline-comment-style` (#170) Fixes eslint rules: 'multiline-comment-style': 0, 'no-alert': 0, 'no-extra-boolean-cast': 0, 'no-prototype-builtins': 0, 'no-useless-return': 0, Co-authored-by: Manuel Ramirez <lordpixel@users.noreply.github.com> * Use an autoupdate action instead * comment about auto update * chore(FDS-147) - fix eslint 'react/prop-types' and 'react/forbid-prop-types' (#174) * chore(FDS-147) - fix eslint errors for 'react/prop-types' and react/forbid-prop-types' * chore(FDS-147) - remove silly invocation from 'element' prop type * chore(FDS-147) - address PR review comments * Update app-tests/_templates/next-template/src/pages/index.js Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * Update app-tests/_templates/next-template/src/pages/_document.js Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(FDS-147) - address PR review comments Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(FDS-155): React.memo and useCallback example (#176) Resolves FDS-155 This fixture should show what happens when we have a handler function that is not wrapped with `useCallback` and how that impacts the use of `React.memo`. We might actually want to create a collection of fixtures like this to share with the FE team. Hmm… * chore(FDS-153) - Fix remaining eslint rule errors (#175) * chore(FDS-147) - fix eslint errors for 'react/prop-types' and react/forbid-prop-types' * chore(FDS-153) - fix remaining eslint errors consistent-return eslint-comments/disable-enable-pair eslint-comments/no-unused-disable eslint-comments/require-description jest/no-done-callback react/jsx-key react/jsx-no-bind react/no-unknown-property sort-imports sort-keys * chore(FDS-153) - address PR comments * chore(FDS-153) - address PR comments (2) * chore(FDS-153) - fix eslint for new fixture Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(release): publish - docs@0.4.0 - @espressive/cascara@0.4.0 - @espressive/babel-preset-espressive@0.2.5 - @espressive/eslint-config@1.0.1 - @espressive/legacy-css@2.0.4 * FDS-115 Updated very old Form POC with actual components and modules from Table This also includes adding the concept of component-specific modules. Form now has a data module for rendering rows. We will need to bring back the old ActionEdit button… but possibly make that specific to Form. This pattern of merging the module types to check them when throwing prop errors is something we should evaluate in both Form and Table. * FDS-116 - crate a Form-specific ActionEdit module * FDS-116 - setup onAction function for feature parity with Table * FDS-116 - fix vercel build * FDS-116 - fix unit tests * FDS-116 - remove isSecure prop as we'll have a special module for that * test(Table): fix unit tests for Table * test(Form): fix unit tests for Form Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: Brian Espinosa <b@bje.co> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Fix test and oops removing global action edit * Clean up Form fixture * Fix weird display in all modules fixture * feat(FDS-15): pair session chages * chore(FDS-253): separate out all of the elements of dataConfig and get rid of it (#225) * chore(FDS-253): separate out all of the elements of dataConfig and get rid of it * Update snapshot for SVG buttons * Export form! Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: Brian Espinosa <b@bje.co> * feat(FDS-117): get onAction working the way it works in Table (#226) * chore(FDS-253): separate out all of the elements of dataConfig and get rid of it * Update snapshot for SVG buttons * Export form! * feat(FDS-117): get onAction working the way it works in Table * Update snapshot * Fix snapshots removed Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: Brian Espinosa <b@bje.co> Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: Manuel Ramirez <lordpixel@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.29 * bugfix(FDS-273) Empty data, or undefined data on widgets not blowing up (and now showing loading or empty states) (#227) * bugfix(FDS-273) Empty and loading states for widgets so they do not blow up with empty or undefined * chore(private) Move Section and Popover into /private * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.30 * bugfix(FDS-279) Make sure empty class only present for empty or loading widgets (#228) This also cleans up the logic for when to display a component or not into the widget itself where we decide if we should even render children * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.31 * fix TableBase: uniqueIdAttribute is uncorrectly set to undefined by a faulty check (#229) Reviewed-by: manu Refs FDS-284 Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.32 * chore(FDS-286) Move Pagination into Cascara (#234) * chore(FDS-286) Move Pagination into Cascara This also cleans up how we are defining index exports to make it easier for ourselves * Resolve circular dependencies * Disable chat doc Support for running docs locally with transpiled * Ignore coverage, get lint happy on old fixtures * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.33 * chore(FDS-274) directory cleanup (#233) * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.34 * doc(Cascara): [FDS-248] Update docs to match P2 changes (#232) * doc(Cascara): [FDS-248] Update docs to match P2 changes * doc(Cascara): [FDS-248] remove isEditable prop from doc examples * doc(Cascara): [FDS-248] remove isLabeled prop from docs as it won't be exposed to developers Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.35 * test(Cascara): [FDS-194] test optimization (#231) * test(Cascara): [FDS-194] test optimization * test(Cascara): do not use Faker at runtime, prepare data instead * test(Cascara): [FDS-194] split tests into multiple files - Snapshot tests - DX tests - UX tests - others * test(Cascara): [FDS-194] move things around for better cosmos experience Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.36 * doc(Cascara): [docs] update docs to include version and branch (#235) * doc(Cascara): [FDS-248] Update docs to match P2 changes * doc(Cascara): [FDS-248] remove isEditable prop from doc examples * doc(Cascara): [FDS-248] last touches * Fix incorrect file lookup Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <b@bje.co> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.37 * Change theme default index * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.38 * Fix attachment type * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.39 * Add error boundary to all Chat components * Add sourcemaps and chunks * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.40 * Define a fallback for loading state for themes without default colors * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.41 * Wow. We were not exporting ChatProvider. :/ * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.42 * chore(FDS-255): Add empty and loading status for a Form (#236) * Add empty and loading status for a Form * Create temporary fields * rename variable for developer message * Update JsonJsonPlaceholder reference * Update snapshot * Add comment * Update yarn lock file * update yarn lock file * update yarn lock file * Try adding missing package direct to docs * See if we can externalize with plugin * Try changing manualChunks * Add vendor option to external * Try going back to our horrible chunks * Try rolling docs back on fluent * Disable form MDX Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> Co-authored-by: Brian Espinosa <b@bje.co> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.43 * try defining engines in monorepo package.json * engines to next (#238) * doc(Cascara): [Form, Table, Modules] general improvements (#237) * doc(Cascara): [FDS-248] Update docs to match P2 changes * doc(Cascara): [FDS-248] remove isEditable prop from doc examples * doc(Cascara): [FDS-248] last touches * chore(FDS-248): [FORM] improve docs * remove unwanted ESLint rule disable comment * doc(Cascara): remove unwanted changes in modules and Form * doc(Cascara): revert changes to Form docs regarding label and event name changes Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.44 * fix(FDS-298) fix vercel (#240) * Get docs happy again and using new yarn * Skip only the cache for yarn * Actually... INCLUDE the cache * Add yarn workspace tools * add transpile modules * Try scoping * define engines * root yarn engines * No workspace shortcuts * add rollup dev deps to cascara * foreach * Fix some odd, scoped lint issues * Remove test files not used in example apps * bump lerna I guess * disable CI steps for bump * chore(FDS-311): Add empty and loading status to JSONPlaceholder * feat(FDS-337) POC Components > Cascara (#248) * Clean up exports, move Pagination * Move ActionStack * Add Tabs * Add List * This file was not being used * Simplify exports * Rename placeholders to system components We might simplify this further at a later date, but we cannot change the depth of our directories yet or our docs will break * chore(FDS-272): [@espressive/eslint-config] - relax no-console rule in develop (#249) Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(FDS-335): [Cascara] - improve usage of error boundaries in modules (#250) * chore(FDS-335): [system-components] - update Boundaries props, include ErrorFallbackComponent * chore(FDS-335): [system-components] - create ModuleErrorBoundary component for modules * chore(FDS-335): [system-components] - implement ModuleErrorBoundary component in modules, replaces ErrorBoundary Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(FDS-299): Setup Commitizen (#251) * chore(FDS-299): [commitizen] - install commitizen and dependencies * configure commitizen * chore(FDS-299): [docs] - create contribution guide Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * feat(FDS-172) Boundaries w/ Suspense & AdminStructure suspending out of the box (#252) * Add boundaries to all AdminStructure slots * Add suspense to Boundaries and extend API * Try fix for suspense on Vercel * Quick fix for Vercel/Next and ReactDOMServer * chore(FDS-255): Add input date field (#254) * Add Input date module * Apply feedback * Remove no used props * Update snapshot * chore(FDS-339): Proposal and POC for selecting rows from Table (#255) * chore(FDS-339): [Cascara Table] - POC for row selection * chore(FDS-339): [Cascara Table] - completed POC for row selection * chore(FDS-339): [Cascara Table] - remove UNSAFE_isSelectAll prop * feat(FDS-339): [Cascara Table] - address PR comments Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * feat(FDS-344): ViewConfig P1 (#256) * Remove install-state from cache * feat(FDS-344) ViewConfig P1 * Update snapshots for loading * Export ViewConfig only * Get state hook into export * Make rollup fail on warnings Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Add codeowners * feat(FDS-345): [Cascara] - Replace ErrorBoundary with Boundaries (#257) * feat(FDS-345): [Cascara] - update all components to use the new Boundaries component * feat(FDS-345): [Cascara] - remove old ErrorBoundary component Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(FDS-329) Changesets for automated releases (#263) * Add changesets cli * Remove wildcards from package.json files * trying changeset * Try adding a publish step with the new system * fix lockfile * Update to latest node orb for latest yarn * try with faster install * cache path was not helpful * Publish Next Snapshot * Publish Next Snapshot * Publish Next Snapshot * Publish Next Snapshot * Empty * Publish Next Snapshot * Graduated versions! * Fix committed snapshot release * Another alpha * Publish Full Release * Fix docs * Remove lerna * Remove Lerna * chore(FDS-342): Add input date-time field (#258) * Add Input date module * Apply feedback * Remove no used props * Update snapshot * Add datetime module * Update slack message support * valid JSON * FML add the status file * Stop using log, add node bin * Try moving command outside * earlier step * Try with correct tooling location * Test early * add memborb back * test after install * Try the full output * change path * Try extra parens * change path * fix extra parens * try log * try no echo and stdout * quotes around stdout * try echo output * almost... * try printf * Try notify on slack * Just link to the versions artifact * :/ * fix invalid blocks * Add fixture and unit test for DataEmail field (#259) * Script to set the correct versions when doing a publish * Try updating our files in develop * chore(FDS-346): [Cascara Form] - remove resolveAllowedActions prop from form (#264) * feat(FDS-346): [Cascara Form] - Remove resolveAllowedActions prop from Form * Create gentle-olives-talk.md Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Add input file module (#260) * Update codeowners * Update owners * feature(FDS-342): Input password field (#265) * Add input image module * Add input image module * Add input month * feature(FDS-342): Input tel field (#266) * Add input image module * Add input image module * Add input month * Add Input tel field * feature(FDS-342): Input time field (#267) * Input time * Input time Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Input color (#271) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * feature(FDS-342): Add input image field (#261) * Add input file module * Add input image module * Add input image module * Add input month * Recover settings from develop * improve tests * add helper function Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(FDS-342): Add input month field (#262) * Add input image module * Add input image module * Add input month * feature(FDS-342): Input url field (#268) * Input url * Input url * update snapshot * Fix export order * Fix classname sort order * fix sort on module keys Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <b@bje.co> * Input week (#269) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <b@bje.co> * Input range (#270) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(FDS-347): [DOCS] - Add docs for new components P1 (#273) Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(FDS-349): ViewConfig improvements (#275) * chore(FDS-349): ViewConfig default icon to eye * chore(FDS-349): ViewConfig default icon to eye * Remove changesets from last release * CI fix not to build twice on publish * chore(FDS-350): sync lint comment disable/console * new lockfile * chore(FDS-354) Eslint config updates/improvements Port other global lint rules and overrides back to @Espressive eslint config. Updates all dependant plugin versions for eslint plugin and peer deps * Allow stateless multi comp * Remove no longer needed rule comment * add ignorepatterns Co-authored-by: Manuel Ramirez <lordpixel@users.noreply.github.com> Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: CircleCI <circleci@circleci> Co-authored-by: Snyk bot <snyk-bot@snyk.io> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: rociobaena <87443054+rociobaena@users.noreply.github.com>
brianespinosa
added a commit
that referenced
this pull request
Oct 5, 2021
* chore(FDS-148): get all *TestID code out of ActionEdit.js (#192) * chore(FDS-148): get all *TestID code out of ActionEdit.js * chore(FDS-148): add aria-label to table columns in tests * chore(FDS-148): remove testids from unit tests * chore(FDS-148): fix all tests * chore(FDS-148): address PR comments Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(release): publish - @espressive/cascara@0.4.2-alpha.0 * Have CI skip rebuilds on lerna publish commits * feat(FDS-62): Admin Structure & Design Tokens (#194) * feat(FDS-172): Structure slots have suspense * Rename structure test apps * chore(FDS-62) Updates Structure API with drawer * Add CI Skip to publish commits from lerna * Structure API cleaned up, ready for style dryup * Fix design tokens so we can use them in different scenarios * remove custom notify message for now * Cleaned up mixins for breakpoints/scrolling * Change package dep on docs to use workspace * Force docs to link * Update caniuse * Custom properties for branding * make sure our tokens are getting built before cascara build * publish notice for slack * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.1 - @espressive/design-tokens@0.1.3-alpha.0 * fix(FDS-179): [Dashboard] fix prop type warnings (#195) Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.2 * fix(FDS-179): [Chat, Structures] fix prop type warnings (#196) * chore(FDS-179): [Chat, Structures] fix prop type warnings * Update packages/cascara/src/structures/AdminStructure/AdminStructureHeader.js Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.3 * chore(FDS-182) Nivo version bump (#197) * Fix lockfile with @Espressive outside resolutions * chore(FDS-182) Bump version of Nivo and dependencies * Get docs happy again * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.4 * feat(FDS-177) feat(FDS-178) List and Bubble Widget (#199) * feat(FDS-177) feat(FDS-178) List and Bubble Widget * Change button import path * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.5 * feat(FDS-62): Admin Structure PAC (#200) * feat(FDS-172): Structure slots have suspense * Rename structure test apps * chore(FDS-62) Updates Structure API with drawer * Add CI Skip to publish commits from lerna * Structure API cleaned up, ready for style dryup * Fix design tokens so we can use them in different scenarios * remove custom notify message for now * Cleaned up mixins for breakpoints/scrolling * Change package dep on docs to use workspace * Force docs to link * Update caniuse * Custom properties for branding * make sure our tokens are getting built before cascara build * publish notice for slack * Styles for header chiclet * Make sure we support different app base path * Move Reakit components into slot components, responsive * Add dev dependency for eslint in test apps * Clean up structure org * Bump patch and minor versions * Resolve new lint issues after dep updates * Update rollup plugins, resolve warnings on faker * Roll back react-scripts until Cosmos can get updated * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.6 * chore(DFS-206): remove design tokens fas peer-dependency from Cascara (#202) Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.7 * Feature/fds 195 cosmos to r sv4 (#201) * feat(FDS-172): Structure slots have suspense * Rename structure test apps * chore(FDS-62) Updates Structure API with drawer * Add CI Skip to publish commits from lerna * Structure API cleaned up, ready for style dryup * Fix design tokens so we can use them in different scenarios * remove custom notify message for now * Cleaned up mixins for breakpoints/scrolling * Change package dep on docs to use workspace * Force docs to link * Update caniuse * Custom properties for branding * make sure our tokens are getting built before cascara build * publish notice for slack * Styles for header chiclet * Make sure we support different app base path * Move Reakit components into slot components, responsive * Add dev dependency for eslint in test apps * Clean up structure org * Bump patch and minor versions * Resolve new lint issues after dep updates * Update rollup plugins, resolve warnings on faker * Roll back react-scripts until Cosmos can get updated * chore(FDS-195) Update Cosmos to work with RS v4 * Simplify config * upgrade * Do not yell at Synk for dep updates * Fix typing for logo * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.8 * fix: app-tests/_templates/next-template/package.json to reduce vulnerabilities (#203) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-POSTCSS-1090595 - https://snyk.io/vuln/SNYK-JS-POSTCSS-1255640 * fix: app-tests/next-layout-admin/package.json to reduce vulnerabilities (#204) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-POSTCSS-1090595 - https://snyk.io/vuln/SNYK-JS-POSTCSS-1255640 * fix: app-tests/next-button/package.json to reduce vulnerabilities (#205) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-POSTCSS-1090595 - https://snyk.io/vuln/SNYK-JS-POSTCSS-1255640 * feat(FDS-207): Structure theme object support (#206) * Fix design tokens dep and upgrade * FDS-207 Structures w/ theme object support * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.9 * fix(FDS-213) design tokens dist publishing (#207) * Fix design tokens dep and upgrade * FDS-207 Structures w/ theme object support * Help out docs * Get design tokens out of our lockfile * Change the process for design-tokens * Go back to a postinstall for now, include src * fml put prepare back * get postinstall back pout * postinstall is back again * include src for postinstall * chore(release): publish [ci skip] - @espressive/design-tokens@0.1.3-alpha.1 * fix(FDS-173): remove unused RowContext file (#208) Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.10 * Move style dict to full dep * chore(release): publish [ci skip] - @espressive/design-tokens@0.1.3-alpha.2 * add missing config in package :/ * chore(release): publish [ci skip] - @espressive/design-tokens@0.1.3-alpha.3 * feat(FDS-218) Add @espressive/icons and clean up icons usage in AdminStructure (#211) * feat(FDS-218) Add @espressive/icons and clean up icons usage in example app * lockfile * Clean up SVG * viewbox * Prepare script * upgrade * fix gitignore * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.11 - @espressive/icons@0.0.2-alpha.0 * Clean should only remove .js files in root * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.12 - @espressive/icons@0.0.2-alpha.1 * feat(FDS-221): Barista & Slack themes for Cascara Chat (#212) * Baseline for Barista theme: Chat * Clean up some of the triangle tag position * feat(FDS-221): Barista theme for Cascara Chat * Fix lint that for some reason did not fail the precommit hook * Set up custom theme for Slack * Slack theme, font switching, no static styles * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.13 * fix: app-tests/next-layout-admin/package.json to reduce vulnerabilities (#213) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-BROWSERSLIST-1090194 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * fix: app-tests/_templates/next-template/package.json to reduce vulnerabilities (#215) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-BROWSERSLIST-1090194 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(FDS-224): Remove usage of SUIR in Cascara and remove it from peer deps (#216) * Remove usage of SUIR in Cascara and remove it from peer deps * upgrade * Fix icons path Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.14 * Make sure icons is defined as a module * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.15 - @espressive/icons@0.0.2-alpha.2 * chore(FDS-238): esModule support in Jest (#220) * chore(FDS-238): esModule support in Jest * Update deps * Try adding require dep * Fix the issue with path due to the icons package being module * Make CI happy with mjs extension * Flag since we are on node 12 * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.16 - @espressive/icons@0.0.2-alpha.3 * chore(FDS-222): add documentation for modules (#217) * chore(FDS-222): add docs for action modules WIP * chore(FDS-222): add docs for data modules WIP * chore(FDS-222): add docs for data modules * chore(FDS-222): export icons as commonjs + fix for docs paths * chore(FDS-222): export icons as commonjs + fix for docs paths * chore(FDS-222): improve documentation * Update packages/cascara/src/modules/ActionButton/ActionButton.js Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(FDS-222): add standalone module (module provider) examples * chore(FDS-222): enclose props in backticks * address PR comments Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.17 * Resolve circular dependencies * Migrate deprecated division in SCSS * Fix missing scroll support for main * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.18 * Fix typings for Nav slot component * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.19 * feat(FDS-187): do not render a Table if no data nor columns are defined (#221) * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.20 * Fix table fluid width * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.21 * feat(New Icons) Add: pencil, drawer, close, check * private(Tooltip) POC of private tooltip component * chore(module cleanup) Clean icons: edit, overflow * Add aria labels to edit buttons * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.22 - @espressive/icons@0.0.2-alpha.4 * feat(table simplified) Table can now show data without displayConfig * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.23 - @espressive/icons@0.0.2-alpha.5 * Change our table logic so we do not blow up * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.24 * Make sure we have an array before trying to access an index * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.25 * Feature/fds 245 (#222) * chore(FDS-246): export prop types for Table and Form so we can reuse them both inside Cascara and outside * chore(FDS-247): Do not directly set the isLabeled prop on dataConfig.display objects * chore(FDS-247): put the isLabeled prop back Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.26 * chore(FDS-250,FDS-251) Table DX and Cosmos Testing (#223) * chore(FDS-250) Prepare fixture for work on TableDX * chore(FDS-251) Use fixtures to create tests This is a POC to use Cosmos fixtures and data to create our actual test cases * chore(FDS-251) Improve comments in TableDX test * chore(FDS-251) Props on fixture, show in Cosmos UI * chore(FDS-251) Clean up existing fixtures * chore(FDS-250) Loading/Empty states, tests * Obsolete snapshot for empty * feat(FDS-250) Abstract infer func so it does not run unless we reach the func The infer code was always getting run so it was always getting set * chore(FDS-250) Update test with label name * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.27 * chore(FDS-246): export prop types for Table and Form so we can reuse them both inside Cascara and outside (#224) Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.28 * feat(FDS-15): Form P1 (#143) * Fix missing label styles on Modules * FDS-115 Updated very old Form POC with actual components and modules from Table This also includes adding the concept of component-specific modules. Form now has a data module for rendering rows. We will need to bring back the old ActionEdit button… but possibly make that specific to Form. This pattern of merging the module types to check them when throwing prop errors is something we should evaluate in both Form and Table. * Pretty sure we want to make dataConfig required. * FDS-15 FormRow now supports `ratio` * FDS-116 - crate a Form-specific ActionEdit module * FDS-116 - crate a Table-specific ActionEdit module * FDS-116 - setup onAction function for feature parity with Table * FDS-116 - fix vercel build * Spread local action modules after globals * FDS-15 Export Form from Cascara, import for use in MDX * FDS-116 - fix unit tests * FDS-116 - fix vercel build * FDS-116 - remove isSecure prop as we'll have a special module for that * FDS-30 - unit tests for form * FDS-29 - Form PAC documentation * Update packages/cascara/src/ui/Form/Form.doc.mdx Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(FDS-150): resolve conflicts between feature branch and develop (#180) * FDS-134 - Table action stack (<ActionsMenu />) * FDS-134 - wrap tests in reakit's provider to prevent snapshot failures * FDS-134 - update docs * FDS-134 - standardize the way actions get their name * adress PR comments * chore(release): publish - docs@0.3.0 - @espressive/cascara@0.3.0 * FDS-137 - use action name for button name if no content is specified * FDS-136 Do not render popover as a modal We should now not have to worry about z-index from parent defined z-index and we will also not have a lot of extra portals sitting in the DOM. * FDS-136 Updating snapshots to show the menu that should now render adjacent to menu buttons instead of in a portal * chore(release): publish - docs@0.3.1 - @espressive/cascara@0.3.1 * Change action menu overflow issues and set z-index inline with SUI * Update snapshot as action menu is no longer inline * chore(release): publish - docs@0.3.2 - @espressive/cascara@0.3.2 - @espressive/babel-preset-espressive@0.2.3 - @espressive/eslint-config-espressive@0.2.2 - @espressive/legacy-css@2.0.2 * chore(modules): take all Test ID code out of our modules and props themselves * fix(ActionsMenu): do not remove 'name' prop from ...rest * FDS-133 Add initial dangerfile, Github Action, and CascaraBot * Fix step name * Update our Danger action * Try setting both tokens * Update Danger version * Dangerfile test modified * Define danger * assignees * fixed name in modified * Disable other actions not being used * Update how we are writing the dangerfile * Rename * dependency rules * Add more files changed test cases * Fix test cases for files * Dependencies test * Dangerfile warning * Types for section * Update readme, change index * Add additional types for action events on PR * Fix action syntax * again fix syntax * Add Jira linking to Danger * remove danger plugin * chore(release): publish - docs@0.3.3 - @espressive/cascara@0.3.3 * Rename eslint config for scoped use * Eslint rules ported and docs updated, rules erroring currently commented * Fix package.json sorting * chore(release): publish - docs@0.3.4 - @espressive/cascara@0.3.4 - @espressive/babel-preset-espressive@0.2.4 - @espressive/eslint-config@1.0.0 - @espressive/legacy-css@2.0.3 * FDS-145 Resolve all `import` plugin eslint rules * Use workspace resolutions for Cascara * Use new `prepare` script instead of `prepublish` to make sure Cascara is built * Do not store ALL of our node_modules as artifacts, you idiot! * Make sure we are running prepare on any packages that will be needed for these tests * Update husky to fix the package.json * feat(Conditional Actions): Table conditional actions PoC #1 * feat(Table) conditional actions * docs(Table) conditional actions * chore(FDS-151): Resolve some eslint react rules (button type, display name, func comp, jsx bool) Resolves FDS-151 ## Fixes rules ``` 'react/button-has-type': 0, 'react/display-name': 0, 'react/function-component-definition': 0, 'react/jsx-boolean-value': 0, ``` * chore(FDS-146) Resolve eslint `prefer-` prefixed errors * chore(FDS-152): Set up autosquash Resolves FDS-152 This should make our PRs automatically squash against develop when other PRs get merged. * disable auto squash action * squash back * chore(FDS-149): Resolve eslint `no-` prefixed errors and `multiline-comment-style` (#170) Fixes eslint rules: 'multiline-comment-style': 0, 'no-alert': 0, 'no-extra-boolean-cast': 0, 'no-prototype-builtins': 0, 'no-useless-return': 0, Co-authored-by: Manuel Ramirez <lordpixel@users.noreply.github.com> * Use an autoupdate action instead * comment about auto update * chore(FDS-147) - fix eslint 'react/prop-types' and 'react/forbid-prop-types' (#174) * chore(FDS-147) - fix eslint errors for 'react/prop-types' and react/forbid-prop-types' * chore(FDS-147) - remove silly invocation from 'element' prop type * chore(FDS-147) - address PR review comments * Update app-tests/_templates/next-template/src/pages/index.js Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * Update app-tests/_templates/next-template/src/pages/_document.js Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(FDS-147) - address PR review comments Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(FDS-155): React.memo and useCallback example (#176) Resolves FDS-155 This fixture should show what happens when we have a handler function that is not wrapped with `useCallback` and how that impacts the use of `React.memo`. We might actually want to create a collection of fixtures like this to share with the FE team. Hmm… * chore(FDS-153) - Fix remaining eslint rule errors (#175) * chore(FDS-147) - fix eslint errors for 'react/prop-types' and react/forbid-prop-types' * chore(FDS-153) - fix remaining eslint errors consistent-return eslint-comments/disable-enable-pair eslint-comments/no-unused-disable eslint-comments/require-description jest/no-done-callback react/jsx-key react/jsx-no-bind react/no-unknown-property sort-imports sort-keys * chore(FDS-153) - address PR comments * chore(FDS-153) - address PR comments (2) * chore(FDS-153) - fix eslint for new fixture Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(release): publish - docs@0.4.0 - @espressive/cascara@0.4.0 - @espressive/babel-preset-espressive@0.2.5 - @espressive/eslint-config@1.0.1 - @espressive/legacy-css@2.0.4 * FDS-115 Updated very old Form POC with actual components and modules from Table This also includes adding the concept of component-specific modules. Form now has a data module for rendering rows. We will need to bring back the old ActionEdit button… but possibly make that specific to Form. This pattern of merging the module types to check them when throwing prop errors is something we should evaluate in both Form and Table. * FDS-116 - crate a Form-specific ActionEdit module * FDS-116 - setup onAction function for feature parity with Table * FDS-116 - fix vercel build * FDS-116 - fix unit tests * FDS-116 - remove isSecure prop as we'll have a special module for that * test(Table): fix unit tests for Table * test(Form): fix unit tests for Form Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: Brian Espinosa <b@bje.co> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Fix test and oops removing global action edit * Clean up Form fixture * Fix weird display in all modules fixture * feat(FDS-15): pair session chages * chore(FDS-253): separate out all of the elements of dataConfig and get rid of it (#225) * chore(FDS-253): separate out all of the elements of dataConfig and get rid of it * Update snapshot for SVG buttons * Export form! Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: Brian Espinosa <b@bje.co> * feat(FDS-117): get onAction working the way it works in Table (#226) * chore(FDS-253): separate out all of the elements of dataConfig and get rid of it * Update snapshot for SVG buttons * Export form! * feat(FDS-117): get onAction working the way it works in Table * Update snapshot * Fix snapshots removed Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: Brian Espinosa <b@bje.co> Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: Manuel Ramirez <lordpixel@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.29 * bugfix(FDS-273) Empty data, or undefined data on widgets not blowing up (and now showing loading or empty states) (#227) * bugfix(FDS-273) Empty and loading states for widgets so they do not blow up with empty or undefined * chore(private) Move Section and Popover into /private * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.30 * bugfix(FDS-279) Make sure empty class only present for empty or loading widgets (#228) This also cleans up the logic for when to display a component or not into the widget itself where we decide if we should even render children * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.31 * fix TableBase: uniqueIdAttribute is uncorrectly set to undefined by a faulty check (#229) Reviewed-by: manu Refs FDS-284 Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.32 * chore(FDS-286) Move Pagination into Cascara (#234) * chore(FDS-286) Move Pagination into Cascara This also cleans up how we are defining index exports to make it easier for ourselves * Resolve circular dependencies * Disable chat doc Support for running docs locally with transpiled * Ignore coverage, get lint happy on old fixtures * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.33 * chore(FDS-274) directory cleanup (#233) * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.34 * doc(Cascara): [FDS-248] Update docs to match P2 changes (#232) * doc(Cascara): [FDS-248] Update docs to match P2 changes * doc(Cascara): [FDS-248] remove isEditable prop from doc examples * doc(Cascara): [FDS-248] remove isLabeled prop from docs as it won't be exposed to developers Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.35 * test(Cascara): [FDS-194] test optimization (#231) * test(Cascara): [FDS-194] test optimization * test(Cascara): do not use Faker at runtime, prepare data instead * test(Cascara): [FDS-194] split tests into multiple files - Snapshot tests - DX tests - UX tests - others * test(Cascara): [FDS-194] move things around for better cosmos experience Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.36 * doc(Cascara): [docs] update docs to include version and branch (#235) * doc(Cascara): [FDS-248] Update docs to match P2 changes * doc(Cascara): [FDS-248] remove isEditable prop from doc examples * doc(Cascara): [FDS-248] last touches * Fix incorrect file lookup Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <b@bje.co> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.37 * Change theme default index * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.38 * Fix attachment type * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.39 * Add error boundary to all Chat components * Add sourcemaps and chunks * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.40 * Define a fallback for loading state for themes without default colors * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.41 * Wow. We were not exporting ChatProvider. :/ * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.42 * chore(FDS-255): Add empty and loading status for a Form (#236) * Add empty and loading status for a Form * Create temporary fields * rename variable for developer message * Update JsonJsonPlaceholder reference * Update snapshot * Add comment * Update yarn lock file * update yarn lock file * update yarn lock file * Try adding missing package direct to docs * See if we can externalize with plugin * Try changing manualChunks * Add vendor option to external * Try going back to our horrible chunks * Try rolling docs back on fluent * Disable form MDX Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> Co-authored-by: Brian Espinosa <b@bje.co> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.43 * try defining engines in monorepo package.json * engines to next (#238) * doc(Cascara): [Form, Table, Modules] general improvements (#237) * doc(Cascara): [FDS-248] Update docs to match P2 changes * doc(Cascara): [FDS-248] remove isEditable prop from doc examples * doc(Cascara): [FDS-248] last touches * chore(FDS-248): [FORM] improve docs * remove unwanted ESLint rule disable comment * doc(Cascara): remove unwanted changes in modules and Form * doc(Cascara): revert changes to Form docs regarding label and event name changes Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.44 * fix(FDS-298) fix vercel (#240) * Get docs happy again and using new yarn * Skip only the cache for yarn * Actually... INCLUDE the cache * Add yarn workspace tools * add transpile modules * Try scoping * define engines * root yarn engines * No workspace shortcuts * add rollup dev deps to cascara * foreach * Fix some odd, scoped lint issues * Remove test files not used in example apps * bump lerna I guess * disable CI steps for bump * chore(FDS-311): Add empty and loading status to JSONPlaceholder * feat(FDS-337) POC Components > Cascara (#248) * Clean up exports, move Pagination * Move ActionStack * Add Tabs * Add List * This file was not being used * Simplify exports * Rename placeholders to system components We might simplify this further at a later date, but we cannot change the depth of our directories yet or our docs will break * chore(FDS-272): [@espressive/eslint-config] - relax no-console rule in develop (#249) Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(FDS-335): [Cascara] - improve usage of error boundaries in modules (#250) * chore(FDS-335): [system-components] - update Boundaries props, include ErrorFallbackComponent * chore(FDS-335): [system-components] - create ModuleErrorBoundary component for modules * chore(FDS-335): [system-components] - implement ModuleErrorBoundary component in modules, replaces ErrorBoundary Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(FDS-299): Setup Commitizen (#251) * chore(FDS-299): [commitizen] - install commitizen and dependencies * configure commitizen * chore(FDS-299): [docs] - create contribution guide Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * feat(FDS-172) Boundaries w/ Suspense & AdminStructure suspending out of the box (#252) * Add boundaries to all AdminStructure slots * Add suspense to Boundaries and extend API * Try fix for suspense on Vercel * Quick fix for Vercel/Next and ReactDOMServer * chore(FDS-255): Add input date field (#254) * Add Input date module * Apply feedback * Remove no used props * Update snapshot * chore(FDS-339): Proposal and POC for selecting rows from Table (#255) * chore(FDS-339): [Cascara Table] - POC for row selection * chore(FDS-339): [Cascara Table] - completed POC for row selection * chore(FDS-339): [Cascara Table] - remove UNSAFE_isSelectAll prop * feat(FDS-339): [Cascara Table] - address PR comments Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * feat(FDS-344): ViewConfig P1 (#256) * Remove install-state from cache * feat(FDS-344) ViewConfig P1 * Update snapshots for loading * Export ViewConfig only * Get state hook into export * Make rollup fail on warnings Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Add codeowners * feat(FDS-345): [Cascara] - Replace ErrorBoundary with Boundaries (#257) * feat(FDS-345): [Cascara] - update all components to use the new Boundaries component * feat(FDS-345): [Cascara] - remove old ErrorBoundary component Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(FDS-329) Changesets for automated releases (#263) * Add changesets cli * Remove wildcards from package.json files * trying changeset * Try adding a publish step with the new system * fix lockfile * Update to latest node orb for latest yarn * try with faster install * cache path was not helpful * Publish Next Snapshot * Publish Next Snapshot * Publish Next Snapshot * Publish Next Snapshot * Empty * Publish Next Snapshot * Graduated versions! * Fix committed snapshot release * Another alpha * Publish Full Release * Fix docs * Remove lerna * Remove Lerna * chore(FDS-342): Add input date-time field (#258) * Add Input date module * Apply feedback * Remove no used props * Update snapshot * Add datetime module * Update slack message support * valid JSON * FML add the status file * Stop using log, add node bin * Try moving command outside * earlier step * Try with correct tooling location * Test early * add memborb back * test after install * Try the full output * change path * Try extra parens * change path * fix extra parens * try log * try no echo and stdout * quotes around stdout * try echo output * almost... * try printf * Try notify on slack * Just link to the versions artifact * :/ * fix invalid blocks * Add fixture and unit test for DataEmail field (#259) * Script to set the correct versions when doing a publish * Try updating our files in develop * chore(FDS-346): [Cascara Form] - remove resolveAllowedActions prop from form (#264) * feat(FDS-346): [Cascara Form] - Remove resolveAllowedActions prop from Form * Create gentle-olives-talk.md Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Add input file module (#260) * Update codeowners * Update owners * feature(FDS-342): Input password field (#265) * Add input image module * Add input image module * Add input month * feature(FDS-342): Input tel field (#266) * Add input image module * Add input image module * Add input month * Add Input tel field * feature(FDS-342): Input time field (#267) * Input time * Input time Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Input color (#271) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * feature(FDS-342): Add input image field (#261) * Add input file module * Add input image module * Add input image module * Add input month * Recover settings from develop * improve tests * add helper function Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(FDS-342): Add input month field (#262) * Add input image module * Add input image module * Add input month * feature(FDS-342): Input url field (#268) * Input url * Input url * update snapshot * Fix export order * Fix classname sort order * fix sort on module keys Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <b@bje.co> * Input week (#269) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <b@bje.co> * Input range (#270) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(FDS-347): [DOCS] - Add docs for new components P1 (#273) Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(FDS-349): ViewConfig improvements (#275) * chore(FDS-349): ViewConfig default icon to eye * chore(FDS-349): ViewConfig default icon to eye * Remove changesets from last release * CI fix not to build twice on publish * chore(FDS-350): sync lint comment disable/console * new lockfile * chore(FDS-354) Eslint config updates/improvements Port other global lint rules and overrides back to @Espressive eslint config. Updates all dependant plugin versions for eslint plugin and peer deps * Allow stateless multi comp * Remove no longer needed rule comment * add ignorepatterns * FDS-357 November Components (#281) * chore(FDS-357) Adds Flex to Cascara * Remove old changeset * Get all of our svg images inline Co-authored-by: Manuel Ramirez <lordpixel@users.noreply.github.com> Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: CircleCI <circleci@circleci> Co-authored-by: Snyk bot <snyk-bot@snyk.io> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: rociobaena <87443054+rociobaena@users.noreply.github.com>
brianespinosa
added a commit
that referenced
this pull request
Oct 19, 2021
* chore(FDS-148): get all *TestID code out of ActionEdit.js (#192) * chore(FDS-148): get all *TestID code out of ActionEdit.js * chore(FDS-148): add aria-label to table columns in tests * chore(FDS-148): remove testids from unit tests * chore(FDS-148): fix all tests * chore(FDS-148): address PR comments Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(release): publish - @espressive/cascara@0.4.2-alpha.0 * Have CI skip rebuilds on lerna publish commits * feat(FDS-62): Admin Structure & Design Tokens (#194) * feat(FDS-172): Structure slots have suspense * Rename structure test apps * chore(FDS-62) Updates Structure API with drawer * Add CI Skip to publish commits from lerna * Structure API cleaned up, ready for style dryup * Fix design tokens so we can use them in different scenarios * remove custom notify message for now * Cleaned up mixins for breakpoints/scrolling * Change package dep on docs to use workspace * Force docs to link * Update caniuse * Custom properties for branding * make sure our tokens are getting built before cascara build * publish notice for slack * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.1 - @espressive/design-tokens@0.1.3-alpha.0 * fix(FDS-179): [Dashboard] fix prop type warnings (#195) Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.2 * fix(FDS-179): [Chat, Structures] fix prop type warnings (#196) * chore(FDS-179): [Chat, Structures] fix prop type warnings * Update packages/cascara/src/structures/AdminStructure/AdminStructureHeader.js Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.3 * chore(FDS-182) Nivo version bump (#197) * Fix lockfile with @Espressive outside resolutions * chore(FDS-182) Bump version of Nivo and dependencies * Get docs happy again * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.4 * feat(FDS-177) feat(FDS-178) List and Bubble Widget (#199) * feat(FDS-177) feat(FDS-178) List and Bubble Widget * Change button import path * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.5 * feat(FDS-62): Admin Structure PAC (#200) * feat(FDS-172): Structure slots have suspense * Rename structure test apps * chore(FDS-62) Updates Structure API with drawer * Add CI Skip to publish commits from lerna * Structure API cleaned up, ready for style dryup * Fix design tokens so we can use them in different scenarios * remove custom notify message for now * Cleaned up mixins for breakpoints/scrolling * Change package dep on docs to use workspace * Force docs to link * Update caniuse * Custom properties for branding * make sure our tokens are getting built before cascara build * publish notice for slack * Styles for header chiclet * Make sure we support different app base path * Move Reakit components into slot components, responsive * Add dev dependency for eslint in test apps * Clean up structure org * Bump patch and minor versions * Resolve new lint issues after dep updates * Update rollup plugins, resolve warnings on faker * Roll back react-scripts until Cosmos can get updated * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.6 * chore(DFS-206): remove design tokens fas peer-dependency from Cascara (#202) Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.7 * Feature/fds 195 cosmos to r sv4 (#201) * feat(FDS-172): Structure slots have suspense * Rename structure test apps * chore(FDS-62) Updates Structure API with drawer * Add CI Skip to publish commits from lerna * Structure API cleaned up, ready for style dryup * Fix design tokens so we can use them in different scenarios * remove custom notify message for now * Cleaned up mixins for breakpoints/scrolling * Change package dep on docs to use workspace * Force docs to link * Update caniuse * Custom properties for branding * make sure our tokens are getting built before cascara build * publish notice for slack * Styles for header chiclet * Make sure we support different app base path * Move Reakit components into slot components, responsive * Add dev dependency for eslint in test apps * Clean up structure org * Bump patch and minor versions * Resolve new lint issues after dep updates * Update rollup plugins, resolve warnings on faker * Roll back react-scripts until Cosmos can get updated * chore(FDS-195) Update Cosmos to work with RS v4 * Simplify config * upgrade * Do not yell at Synk for dep updates * Fix typing for logo * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.8 * fix: app-tests/_templates/next-template/package.json to reduce vulnerabilities (#203) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-POSTCSS-1090595 - https://snyk.io/vuln/SNYK-JS-POSTCSS-1255640 * fix: app-tests/next-layout-admin/package.json to reduce vulnerabilities (#204) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-POSTCSS-1090595 - https://snyk.io/vuln/SNYK-JS-POSTCSS-1255640 * fix: app-tests/next-button/package.json to reduce vulnerabilities (#205) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-POSTCSS-1090595 - https://snyk.io/vuln/SNYK-JS-POSTCSS-1255640 * feat(FDS-207): Structure theme object support (#206) * Fix design tokens dep and upgrade * FDS-207 Structures w/ theme object support * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.9 * fix(FDS-213) design tokens dist publishing (#207) * Fix design tokens dep and upgrade * FDS-207 Structures w/ theme object support * Help out docs * Get design tokens out of our lockfile * Change the process for design-tokens * Go back to a postinstall for now, include src * fml put prepare back * get postinstall back pout * postinstall is back again * include src for postinstall * chore(release): publish [ci skip] - @espressive/design-tokens@0.1.3-alpha.1 * fix(FDS-173): remove unused RowContext file (#208) Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.10 * Move style dict to full dep * chore(release): publish [ci skip] - @espressive/design-tokens@0.1.3-alpha.2 * add missing config in package :/ * chore(release): publish [ci skip] - @espressive/design-tokens@0.1.3-alpha.3 * feat(FDS-218) Add @espressive/icons and clean up icons usage in AdminStructure (#211) * feat(FDS-218) Add @espressive/icons and clean up icons usage in example app * lockfile * Clean up SVG * viewbox * Prepare script * upgrade * fix gitignore * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.11 - @espressive/icons@0.0.2-alpha.0 * Clean should only remove .js files in root * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.12 - @espressive/icons@0.0.2-alpha.1 * feat(FDS-221): Barista & Slack themes for Cascara Chat (#212) * Baseline for Barista theme: Chat * Clean up some of the triangle tag position * feat(FDS-221): Barista theme for Cascara Chat * Fix lint that for some reason did not fail the precommit hook * Set up custom theme for Slack * Slack theme, font switching, no static styles * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.13 * fix: app-tests/next-layout-admin/package.json to reduce vulnerabilities (#213) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-BROWSERSLIST-1090194 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * fix: app-tests/_templates/next-template/package.json to reduce vulnerabilities (#215) The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-BROWSERSLIST-1090194 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(FDS-224): Remove usage of SUIR in Cascara and remove it from peer deps (#216) * Remove usage of SUIR in Cascara and remove it from peer deps * upgrade * Fix icons path Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.14 * Make sure icons is defined as a module * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.15 - @espressive/icons@0.0.2-alpha.2 * chore(FDS-238): esModule support in Jest (#220) * chore(FDS-238): esModule support in Jest * Update deps * Try adding require dep * Fix the issue with path due to the icons package being module * Make CI happy with mjs extension * Flag since we are on node 12 * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.16 - @espressive/icons@0.0.2-alpha.3 * chore(FDS-222): add documentation for modules (#217) * chore(FDS-222): add docs for action modules WIP * chore(FDS-222): add docs for data modules WIP * chore(FDS-222): add docs for data modules * chore(FDS-222): export icons as commonjs + fix for docs paths * chore(FDS-222): export icons as commonjs + fix for docs paths * chore(FDS-222): improve documentation * Update packages/cascara/src/modules/ActionButton/ActionButton.js Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(FDS-222): add standalone module (module provider) examples * chore(FDS-222): enclose props in backticks * address PR comments Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.17 * Resolve circular dependencies * Migrate deprecated division in SCSS * Fix missing scroll support for main * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.18 * Fix typings for Nav slot component * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.19 * feat(FDS-187): do not render a Table if no data nor columns are defined (#221) * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.20 * Fix table fluid width * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.21 * feat(New Icons) Add: pencil, drawer, close, check * private(Tooltip) POC of private tooltip component * chore(module cleanup) Clean icons: edit, overflow * Add aria labels to edit buttons * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.22 - @espressive/icons@0.0.2-alpha.4 * feat(table simplified) Table can now show data without displayConfig * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.23 - @espressive/icons@0.0.2-alpha.5 * Change our table logic so we do not blow up * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.24 * Make sure we have an array before trying to access an index * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.25 * Feature/fds 245 (#222) * chore(FDS-246): export prop types for Table and Form so we can reuse them both inside Cascara and outside * chore(FDS-247): Do not directly set the isLabeled prop on dataConfig.display objects * chore(FDS-247): put the isLabeled prop back Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.26 * chore(FDS-250,FDS-251) Table DX and Cosmos Testing (#223) * chore(FDS-250) Prepare fixture for work on TableDX * chore(FDS-251) Use fixtures to create tests This is a POC to use Cosmos fixtures and data to create our actual test cases * chore(FDS-251) Improve comments in TableDX test * chore(FDS-251) Props on fixture, show in Cosmos UI * chore(FDS-251) Clean up existing fixtures * chore(FDS-250) Loading/Empty states, tests * Obsolete snapshot for empty * feat(FDS-250) Abstract infer func so it does not run unless we reach the func The infer code was always getting run so it was always getting set * chore(FDS-250) Update test with label name * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.27 * chore(FDS-246): export prop types for Table and Form so we can reuse them both inside Cascara and outside (#224) Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.28 * feat(FDS-15): Form P1 (#143) * Fix missing label styles on Modules * FDS-115 Updated very old Form POC with actual components and modules from Table This also includes adding the concept of component-specific modules. Form now has a data module for rendering rows. We will need to bring back the old ActionEdit button… but possibly make that specific to Form. This pattern of merging the module types to check them when throwing prop errors is something we should evaluate in both Form and Table. * Pretty sure we want to make dataConfig required. * FDS-15 FormRow now supports `ratio` * FDS-116 - crate a Form-specific ActionEdit module * FDS-116 - crate a Table-specific ActionEdit module * FDS-116 - setup onAction function for feature parity with Table * FDS-116 - fix vercel build * Spread local action modules after globals * FDS-15 Export Form from Cascara, import for use in MDX * FDS-116 - fix unit tests * FDS-116 - fix vercel build * FDS-116 - remove isSecure prop as we'll have a special module for that * FDS-30 - unit tests for form * FDS-29 - Form PAC documentation * Update packages/cascara/src/ui/Form/Form.doc.mdx Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(FDS-150): resolve conflicts between feature branch and develop (#180) * FDS-134 - Table action stack (<ActionsMenu />) * FDS-134 - wrap tests in reakit's provider to prevent snapshot failures * FDS-134 - update docs * FDS-134 - standardize the way actions get their name * adress PR comments * chore(release): publish - docs@0.3.0 - @espressive/cascara@0.3.0 * FDS-137 - use action name for button name if no content is specified * FDS-136 Do not render popover as a modal We should now not have to worry about z-index from parent defined z-index and we will also not have a lot of extra portals sitting in the DOM. * FDS-136 Updating snapshots to show the menu that should now render adjacent to menu buttons instead of in a portal * chore(release): publish - docs@0.3.1 - @espressive/cascara@0.3.1 * Change action menu overflow issues and set z-index inline with SUI * Update snapshot as action menu is no longer inline * chore(release): publish - docs@0.3.2 - @espressive/cascara@0.3.2 - @espressive/babel-preset-espressive@0.2.3 - @espressive/eslint-config-espressive@0.2.2 - @espressive/legacy-css@2.0.2 * chore(modules): take all Test ID code out of our modules and props themselves * fix(ActionsMenu): do not remove 'name' prop from ...rest * FDS-133 Add initial dangerfile, Github Action, and CascaraBot * Fix step name * Update our Danger action * Try setting both tokens * Update Danger version * Dangerfile test modified * Define danger * assignees * fixed name in modified * Disable other actions not being used * Update how we are writing the dangerfile * Rename * dependency rules * Add more files changed test cases * Fix test cases for files * Dependencies test * Dangerfile warning * Types for section * Update readme, change index * Add additional types for action events on PR * Fix action syntax * again fix syntax * Add Jira linking to Danger * remove danger plugin * chore(release): publish - docs@0.3.3 - @espressive/cascara@0.3.3 * Rename eslint config for scoped use * Eslint rules ported and docs updated, rules erroring currently commented * Fix package.json sorting * chore(release): publish - docs@0.3.4 - @espressive/cascara@0.3.4 - @espressive/babel-preset-espressive@0.2.4 - @espressive/eslint-config@1.0.0 - @espressive/legacy-css@2.0.3 * FDS-145 Resolve all `import` plugin eslint rules * Use workspace resolutions for Cascara * Use new `prepare` script instead of `prepublish` to make sure Cascara is built * Do not store ALL of our node_modules as artifacts, you idiot! * Make sure we are running prepare on any packages that will be needed for these tests * Update husky to fix the package.json * feat(Conditional Actions): Table conditional actions PoC #1 * feat(Table) conditional actions * docs(Table) conditional actions * chore(FDS-151): Resolve some eslint react rules (button type, display name, func comp, jsx bool) Resolves FDS-151 ## Fixes rules ``` 'react/button-has-type': 0, 'react/display-name': 0, 'react/function-component-definition': 0, 'react/jsx-boolean-value': 0, ``` * chore(FDS-146) Resolve eslint `prefer-` prefixed errors * chore(FDS-152): Set up autosquash Resolves FDS-152 This should make our PRs automatically squash against develop when other PRs get merged. * disable auto squash action * squash back * chore(FDS-149): Resolve eslint `no-` prefixed errors and `multiline-comment-style` (#170) Fixes eslint rules: 'multiline-comment-style': 0, 'no-alert': 0, 'no-extra-boolean-cast': 0, 'no-prototype-builtins': 0, 'no-useless-return': 0, Co-authored-by: Manuel Ramirez <lordpixel@users.noreply.github.com> * Use an autoupdate action instead * comment about auto update * chore(FDS-147) - fix eslint 'react/prop-types' and 'react/forbid-prop-types' (#174) * chore(FDS-147) - fix eslint errors for 'react/prop-types' and react/forbid-prop-types' * chore(FDS-147) - remove silly invocation from 'element' prop type * chore(FDS-147) - address PR review comments * Update app-tests/_templates/next-template/src/pages/index.js Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * Update app-tests/_templates/next-template/src/pages/_document.js Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(FDS-147) - address PR review comments Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(FDS-155): React.memo and useCallback example (#176) Resolves FDS-155 This fixture should show what happens when we have a handler function that is not wrapped with `useCallback` and how that impacts the use of `React.memo`. We might actually want to create a collection of fixtures like this to share with the FE team. Hmm… * chore(FDS-153) - Fix remaining eslint rule errors (#175) * chore(FDS-147) - fix eslint errors for 'react/prop-types' and react/forbid-prop-types' * chore(FDS-153) - fix remaining eslint errors consistent-return eslint-comments/disable-enable-pair eslint-comments/no-unused-disable eslint-comments/require-description jest/no-done-callback react/jsx-key react/jsx-no-bind react/no-unknown-property sort-imports sort-keys * chore(FDS-153) - address PR comments * chore(FDS-153) - address PR comments (2) * chore(FDS-153) - fix eslint for new fixture Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(release): publish - docs@0.4.0 - @espressive/cascara@0.4.0 - @espressive/babel-preset-espressive@0.2.5 - @espressive/eslint-config@1.0.1 - @espressive/legacy-css@2.0.4 * FDS-115 Updated very old Form POC with actual components and modules from Table This also includes adding the concept of component-specific modules. Form now has a data module for rendering rows. We will need to bring back the old ActionEdit button… but possibly make that specific to Form. This pattern of merging the module types to check them when throwing prop errors is something we should evaluate in both Form and Table. * FDS-116 - crate a Form-specific ActionEdit module * FDS-116 - setup onAction function for feature parity with Table * FDS-116 - fix vercel build * FDS-116 - fix unit tests * FDS-116 - remove isSecure prop as we'll have a special module for that * test(Table): fix unit tests for Table * test(Form): fix unit tests for Form Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: Brian Espinosa <b@bje.co> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Fix test and oops removing global action edit * Clean up Form fixture * Fix weird display in all modules fixture * feat(FDS-15): pair session chages * chore(FDS-253): separate out all of the elements of dataConfig and get rid of it (#225) * chore(FDS-253): separate out all of the elements of dataConfig and get rid of it * Update snapshot for SVG buttons * Export form! Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: Brian Espinosa <b@bje.co> * feat(FDS-117): get onAction working the way it works in Table (#226) * chore(FDS-253): separate out all of the elements of dataConfig and get rid of it * Update snapshot for SVG buttons * Export form! * feat(FDS-117): get onAction working the way it works in Table * Update snapshot * Fix snapshots removed Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: Brian Espinosa <b@bje.co> Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: Manuel Ramirez <lordpixel@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.29 * bugfix(FDS-273) Empty data, or undefined data on widgets not blowing up (and now showing loading or empty states) (#227) * bugfix(FDS-273) Empty and loading states for widgets so they do not blow up with empty or undefined * chore(private) Move Section and Popover into /private * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.30 * bugfix(FDS-279) Make sure empty class only present for empty or loading widgets (#228) This also cleans up the logic for when to display a component or not into the widget itself where we decide if we should even render children * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.31 * fix TableBase: uniqueIdAttribute is uncorrectly set to undefined by a faulty check (#229) Reviewed-by: manu Refs FDS-284 Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.32 * chore(FDS-286) Move Pagination into Cascara (#234) * chore(FDS-286) Move Pagination into Cascara This also cleans up how we are defining index exports to make it easier for ourselves * Resolve circular dependencies * Disable chat doc Support for running docs locally with transpiled * Ignore coverage, get lint happy on old fixtures * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.33 * chore(FDS-274) directory cleanup (#233) * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.34 * doc(Cascara): [FDS-248] Update docs to match P2 changes (#232) * doc(Cascara): [FDS-248] Update docs to match P2 changes * doc(Cascara): [FDS-248] remove isEditable prop from doc examples * doc(Cascara): [FDS-248] remove isLabeled prop from docs as it won't be exposed to developers Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.35 * test(Cascara): [FDS-194] test optimization (#231) * test(Cascara): [FDS-194] test optimization * test(Cascara): do not use Faker at runtime, prepare data instead * test(Cascara): [FDS-194] split tests into multiple files - Snapshot tests - DX tests - UX tests - others * test(Cascara): [FDS-194] move things around for better cosmos experience Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.36 * doc(Cascara): [docs] update docs to include version and branch (#235) * doc(Cascara): [FDS-248] Update docs to match P2 changes * doc(Cascara): [FDS-248] remove isEditable prop from doc examples * doc(Cascara): [FDS-248] last touches * Fix incorrect file lookup Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <b@bje.co> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.37 * Change theme default index * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.38 * Fix attachment type * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.39 * Add error boundary to all Chat components * Add sourcemaps and chunks * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.40 * Define a fallback for loading state for themes without default colors * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.41 * Wow. We were not exporting ChatProvider. :/ * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.42 * chore(FDS-255): Add empty and loading status for a Form (#236) * Add empty and loading status for a Form * Create temporary fields * rename variable for developer message * Update JsonJsonPlaceholder reference * Update snapshot * Add comment * Update yarn lock file * update yarn lock file * update yarn lock file * Try adding missing package direct to docs * See if we can externalize with plugin * Try changing manualChunks * Add vendor option to external * Try going back to our horrible chunks * Try rolling docs back on fluent * Disable form MDX Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> Co-authored-by: Brian Espinosa <b@bje.co> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.43 * try defining engines in monorepo package.json * engines to next (#238) * doc(Cascara): [Form, Table, Modules] general improvements (#237) * doc(Cascara): [FDS-248] Update docs to match P2 changes * doc(Cascara): [FDS-248] remove isEditable prop from doc examples * doc(Cascara): [FDS-248] last touches * chore(FDS-248): [FORM] improve docs * remove unwanted ESLint rule disable comment * doc(Cascara): remove unwanted changes in modules and Form * doc(Cascara): revert changes to Form docs regarding label and event name changes Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> * chore(release): publish [ci skip] - @espressive/cascara@0.4.2-alpha.44 * fix(FDS-298) fix vercel (#240) * Get docs happy again and using new yarn * Skip only the cache for yarn * Actually... INCLUDE the cache * Add yarn workspace tools * add transpile modules * Try scoping * define engines * root yarn engines * No workspace shortcuts * add rollup dev deps to cascara * foreach * Fix some odd, scoped lint issues * Remove test files not used in example apps * bump lerna I guess * disable CI steps for bump * chore(FDS-311): Add empty and loading status to JSONPlaceholder * feat(FDS-337) POC Components > Cascara (#248) * Clean up exports, move Pagination * Move ActionStack * Add Tabs * Add List * This file was not being used * Simplify exports * Rename placeholders to system components We might simplify this further at a later date, but we cannot change the depth of our directories yet or our docs will break * chore(FDS-272): [@espressive/eslint-config] - relax no-console rule in develop (#249) Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(FDS-335): [Cascara] - improve usage of error boundaries in modules (#250) * chore(FDS-335): [system-components] - update Boundaries props, include ErrorFallbackComponent * chore(FDS-335): [system-components] - create ModuleErrorBoundary component for modules * chore(FDS-335): [system-components] - implement ModuleErrorBoundary component in modules, replaces ErrorBoundary Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * chore(FDS-299): Setup Commitizen (#251) * chore(FDS-299): [commitizen] - install commitizen and dependencies * configure commitizen * chore(FDS-299): [docs] - create contribution guide Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> * feat(FDS-172) Boundaries w/ Suspense & AdminStructure suspending out of the box (#252) * Add boundaries to all AdminStructure slots * Add suspense to Boundaries and extend API * Try fix for suspense on Vercel * Quick fix for Vercel/Next and ReactDOMServer * chore(FDS-255): Add input date field (#254) * Add Input date module * Apply feedback * Remove no used props * Update snapshot * chore(FDS-339): Proposal and POC for selecting rows from Table (#255) * chore(FDS-339): [Cascara Table] - POC for row selection * chore(FDS-339): [Cascara Table] - completed POC for row selection * chore(FDS-339): [Cascara Table] - remove UNSAFE_isSelectAll prop * feat(FDS-339): [Cascara Table] - address PR comments Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * feat(FDS-344): ViewConfig P1 (#256) * Remove install-state from cache * feat(FDS-344) ViewConfig P1 * Update snapshots for loading * Export ViewConfig only * Get state hook into export * Make rollup fail on warnings Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Add codeowners * feat(FDS-345): [Cascara] - Replace ErrorBoundary with Boundaries (#257) * feat(FDS-345): [Cascara] - update all components to use the new Boundaries component * feat(FDS-345): [Cascara] - remove old ErrorBoundary component Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(FDS-329) Changesets for automated releases (#263) * Add changesets cli * Remove wildcards from package.json files * trying changeset * Try adding a publish step with the new system * fix lockfile * Update to latest node orb for latest yarn * try with faster install * cache path was not helpful * Publish Next Snapshot * Publish Next Snapshot * Publish Next Snapshot * Publish Next Snapshot * Empty * Publish Next Snapshot * Graduated versions! * Fix committed snapshot release * Another alpha * Publish Full Release * Fix docs * Remove lerna * Remove Lerna * chore(FDS-342): Add input date-time field (#258) * Add Input date module * Apply feedback * Remove no used props * Update snapshot * Add datetime module * Update slack message support * valid JSON * FML add the status file * Stop using log, add node bin * Try moving command outside * earlier step * Try with correct tooling location * Test early * add memborb back * test after install * Try the full output * change path * Try extra parens * change path * fix extra parens * try log * try no echo and stdout * quotes around stdout * try echo output * almost... * try printf * Try notify on slack * Just link to the versions artifact * :/ * fix invalid blocks * Add fixture and unit test for DataEmail field (#259) * Script to set the correct versions when doing a publish * Try updating our files in develop * chore(FDS-346): [Cascara Form] - remove resolveAllowedActions prop from form (#264) * feat(FDS-346): [Cascara Form] - Remove resolveAllowedActions prop from Form * Create gentle-olives-talk.md Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Add input file module (#260) * Update codeowners * Update owners * feature(FDS-342): Input password field (#265) * Add input image module * Add input image module * Add input month * feature(FDS-342): Input tel field (#266) * Add input image module * Add input image module * Add input month * Add Input tel field * feature(FDS-342): Input time field (#267) * Input time * Input time Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Input color (#271) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * feature(FDS-342): Add input image field (#261) * Add input file module * Add input image module * Add input image module * Add input month * Recover settings from develop * improve tests * add helper function Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(FDS-342): Add input month field (#262) * Add input image module * Add input image module * Add input month * feature(FDS-342): Input url field (#268) * Input url * Input url * update snapshot * Fix export order * Fix classname sort order * fix sort on module keys Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <b@bje.co> * Input week (#269) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Brian Espinosa <b@bje.co> * Input range (#270) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(FDS-347): [DOCS] - Add docs for new components P1 (#273) Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(FDS-349): ViewConfig improvements (#275) * chore(FDS-349): ViewConfig default icon to eye * chore(FDS-349): ViewConfig default icon to eye * Remove changesets from last release * CI fix not to build twice on publish * chore(FDS-350): sync lint comment disable/console * new lockfile * chore(FDS-354) Eslint config updates/improvements Port other global lint rules and overrides back to @Espressive eslint config. Updates all dependant plugin versions for eslint plugin and peer deps * Allow stateless multi comp * Remove no longer needed rule comment * add ignorepatterns * FDS-357 November Components (#281) * chore(FDS-357) Adds Flex to Cascara * Remove old changeset * Get all of our svg images inline * Chore(FDS-355) ViewConfigWarning: React does not recognize the isEditable prop on a DOM element. (#285) * Start development * Remove isEditable prop * pass option prop to ViewConfigItem * apply feedback * Create plenty-tigers-marry.md * Chore(FDS-359) Move eslint-plugin-json-format to peerDependencies in the eslint config (#287) * move dependecy to peerDependency * test * testing * just making a change * Add eslint-plugin-json-format to package json * recover placeholder * run eslint fix * Add changesets * chore(FDS-141) Test danger actionchore(FDS-141) Make danger file not check for description comments for changes on develop/master (#288) * Start development * avoid run workflow if PR is edited * apply feedback * test action * test action * test action * test actions * test danger file * test danger file * test danger * test danger * test danger * test danger * test danger * test dangerfile * test danger Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * Upstream * Feat/fds 343 create data io tests (#284) * update from develop * feat(FDS-343): [Cascara Form] - unit tests WIP * feat(FDS-343): [Form] - Create SEPARATE tests for each module that will validate when we are setting data, we are getting the same data out on submit (WIP) * feat(FDS-343): [Form] - Create SEPARATE tests for each module that will validate when we are setting data, we are getting the same data out on submit (WIP) * feat(FDS-343): [Form] - create separate data-type tests for existing modules * feat(FDS-343): [Form] - create separate data-type tests for existing modules * feat(FDS-343): [Form] - remove unwanted ESLint rules Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(FDS-141) Make danger file not check for description comments for changes on develop/master - v2 (#290) * Start development * avoid run workflow if PR is edited * apply feedback * test action * test action * test action * test actions * test danger file * test danger file * test danger * test danger * test danger * test danger * test danger * test dangerfile * test danger * ignore danger if the current branch is develop or main Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(fds 362) admin structure improvements (#293) * feat(FDS-362) AdminStructure slot comp improvements - adds up missing padding at the top when a nav item exists outside of a section group - Adds support for Flex inside nav items (fewer styles) - Nav items are not as greedy with their vertical padding - `post` prop now available in Nav link items for right aligned content - Header slot component now support no-logo scenario (rare) - Header has layout from Flex component now (fewer styles) - Header has more consistent horizontal padding with other slot components - `post` prop now available on Header for right aligned header content * Create young-beers-matter.md Co-authored-by: Manuel Ramirez <lordpixel@users.noreply.github.com> Co-authored-by: Manu Ramirez <manu.ramirez@espressive.com> Co-authored-by: CircleCI <circleci@circleci> Co-authored-by: Brian Espinosa <b@bje.co> Co-authored-by: Brian Espinosa <brianespinosa@users.noreply.github.com> Co-authored-by: Snyk bot <snyk-bot@snyk.io> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This also cleans up the logic for when to display a component or not into the widget itself where we decide if we should even render children